コード例 #1
0
ファイル: LoginTests.cs プロジェクト: informaniac/FiVES
 public void StartServer()
 {
     server = new FIVESServerInstance();
     server.ConfigureClientManagerPorts(34837);
     server.ConfigurePluginsAndProtocols(
         new string[] { "Auth", "Avatar", "ClientManager", "SINFONI", "Location", "Motion", "Testing",
                        "Renderable", "EventLoop", "Editing", "KeyframeAnimation" },
         new string[] { "WebSocketJSON" });
     server.Start();
 }
コード例 #2
0
ファイル: LoginTests.cs プロジェクト: FaisalZ/FiVES
 public void StartServer()
 {
     server = new FIVESServerInstance();
     server.ConfigureClientManagerPorts(34837);
     server.ConfigurePluginsAndProtocols(
         new string[] { "Auth", "Avatar", "ClientManager", "SINFONI", "Location", "Motion", "Testing",
                        "Renderable", "EventLoop", "Editing", "KeyframeAnimation" },
         new string[] { "WebSocketJSON" });
     server.Start();
 }
コード例 #3
0
        public void StartServer()
        {
            server1 = new FIVESServerInstance();
            server1.ConfigureServerSyncPorts(43745, new int[] {});
            server1.ConfigureClientManagerPorts(34837);
            server1.ConfigurePluginsAndProtocols(new string[] { "Auth", "Avatar", "ClientManager", "KIARA", "Location",
                                                                "Motion", "Testing", "Renderable", "EventLoop", "Editing", "ServerSync", "ConfigScalability",
                                                                "Scalability", "KeyframeAnimation" }, new string[] { "WebSocketJSON" });
            server1.Start();

            server2 = new FIVESServerInstance();
            server2.ConfigureServerSyncPorts(43746, new int[] { 43745 });
            server2.ConfigureClientManagerPorts(34839);
            server2.ConfigurePluginsAndProtocols(new string[] { "Auth", "Avatar", "ClientManager", "KIARA", "Location",
                                                                "Testing", "Renderable", "EventLoop", "Editing", "ServerSync", "ConfigScalability",
                                                                "Scalability", "KeyframeAnimation" }, new string[] { "WebSocketJSON" });
            server2.Start();
        }
コード例 #4
0
ファイル: ServerSyncTests.cs プロジェクト: FaisalZ/FiVES
        public void StartServer()
        {
            server1 = new FIVESServerInstance();
            server1.ConfigureServerSyncPorts(43745, new int[] {});
            server1.ConfigureClientManagerPorts(34837);
            server1.ConfigurePluginsAndProtocols(new string[] { "Auth", "Avatar", "ClientManager", "SINFONI", "Location",
                "Motion", "Testing", "Renderable", "EventLoop", "Editing", "ServerSync", "ConfigScalability",
                "Scalability", "KeyframeAnimation" }, new string[] { "WebSocketJSON" });
            server1.Start();

            server2 = new FIVESServerInstance();
            server2.ConfigureServerSyncPorts(43746, new int[] { 43745 });
            server2.ConfigureClientManagerPorts(34839);
            server2.ConfigurePluginsAndProtocols(new string[] { "Auth", "Avatar", "ClientManager", "SINFONI", "Location",
                "Testing", "Renderable", "EventLoop", "Editing", "ServerSync", "ConfigScalability",
                "Scalability", "KeyframeAnimation" }, new string[] { "WebSocketJSON" });
            server2.Start();
        }