Exemplo n.º 1
0
 public void Stop()
 {
     if (peer != null)
     {
         peer.Disconnect();
         peer = null;
     }
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
 public void Stop()
 {
     if (peer != null)
     {
         peer.Disconnect();
         peer = null;
     }
 }
Exemplo n.º 5
0
        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();
        }