Start() public method

public Start ( ) : void
return void
コード例 #1
0
ファイル: Dashboard.cs プロジェクト: prashanth8403/ServerPlus
 private void Dashboard_Load(object sender, EventArgs e)
 {
     NetworkInterface.Start();
     if (Utility.DashboardLoad == 0)
     {
         Thread cpu_performance_thread    = new Thread(CPU_Performance);
         Thread memory_performance_thread = new Thread(Memory_Performance);
         cpu_performance_thread.Start();
         memory_performance_thread.Start();
         Utility.DashboardLoad = 1;
     }
 }
コード例 #2
0
ファイル: Dashboard.cs プロジェクト: prashanth8403/Plutonium
 private void Dashboard_Load(object sender, EventArgs e)
 {
     _NoNodes.Text = Utility.No_Of_Nodes.ToString();
     if (Utility.DigLock == 1)
     {
         Thread _cputhread    = new Thread(CPU_Performance);
         Thread _memorythread = new Thread(Memory_Performance);
         _cputhread.Start();
         _memorythread.Start();
         Utility.DigLock = 0;
     }
     NetworkInterface.Start();
 }
コード例 #3
0
ファイル: CubeServer.cs プロジェクト: NoDogsInc/Cube
        protected virtual void Awake()
        {
            connections = new List <Connection>();

            var transport = GetComponent <ITransport>();

            NetworkInterface = transport.CreateServer(NumMaxClients, LagSettings);
            NetworkInterface.Start(Port);

            NetworkInterface.NewConnectionEstablished += OnNewConnectionEstablished;
            NetworkInterface.DisconnectNotification   += OnDisconnectNotification;

            Reactor = new ServerReactor(NetworkInterface);

            ReplicaManager = new ServerReplicaManager(this);
        }