public void Close() { mServerClient.DisConnect(); mNodeServer.Dispose(); AgentManager.Dispose(); AgentManager = null; }
public void Dispose() { if (mRemoteNodeCenter != null) { mRemoteNodeCenter.Dispose(); } if (mServer != null) { mServer.Dispose(); } mProperties.Clear(); if (mPingNodeTimer != null) { mPingNodeTimer.Dispose(); } }