Пример #1
0
 public void Close()
 {
     mServerClient.DisConnect();
     mNodeServer.Dispose();
     AgentManager.Dispose();
     AgentManager = null;
 }
Пример #2
0
 public void Dispose()
 {
     if (mRemoteNodeCenter != null)
     {
         mRemoteNodeCenter.Dispose();
     }
     if (mServer != null)
     {
         mServer.Dispose();
     }
     mProperties.Clear();
     if (mPingNodeTimer != null)
     {
         mPingNodeTimer.Dispose();
     }
 }