public void DisconnectFromRemoteServer() { if (m_RemoteHost != null) m_RemoteHost.Connected = false; if (m_Remote != null) m_Remote.ShutdownConnection(); m_RemoteHost = null; m_Remote = null; }
public void ShutdownServer() { if(m_Remote != null) m_Remote.ShutdownServerAndConnection(); m_Remote = null; }
public void ConnectToRemoteServer(RemoteHost host) { InitException = null; try { m_Remote = StaticExports.CreateRemoteServer(host.Hostname, 0); m_RemoteHost = host; m_RemoteHost.Connected = true; } catch (ReplayCreateException ex) { InitException = ex; } }