public void Stop() { if (peer != null) { peer.Disconnect(); peer = null; } }
public LobbyHandler(string ipPort, string appName, string lobbyName) { this.ipPort = ipPort; this.appName = appName; this.lobbyName = lobbyName; this.peer = new LiteLobbyPeer(this, false); this.peer.Connect(this.ipPort, this.appName); }
public ClientRT(int discussionId, string dbSrvAddr, string UsrName, int usrDbId, DeviceType devType) { this.discussionId = discussionId; this.dbSrvAddr = dbSrvAddr; this.localUsr.Name = UsrName; this.localUsr.usrDbId = usrDbId; this.devType = devType; peer = new LiteLobbyPeer(this); Connect(); }
public void Stop() { if (peer != null) { peer.Disconnect(); peer = null; } }
public ClientRT(int discussionId, string dbSrvAddr, string UsrName, int usrDbId, DeviceType devType) { this.discussionId = discussionId; this.dbSrvAddr = dbSrvAddr; this.localUsr.Name = UsrName; this.localUsr.usrDbId = usrDbId; this.devType = devType; peer = new LiteLobbyPeer(this); Connect(); }