Пример #1
0
 private void method_8(UserData userData_0, DisconnectedType disconnectedType_0)
 {
     if (this.class2_0 != null)
     {
         this.class2_0.imethod_7(userData_0.UserID);
         this.class13_0.imethod_10(userData_0.UserID);
     }
 }
Пример #2
0
    private void OnSomeOneDisconnected(IPEndPoint ipendPoint_0, DisconnectedType disconnectedType_0)
    {
        string str = this.class99_0.GetUserID(ipendPoint_0);

        if (str != null)
        {
            this.UnregisterUser(str, disconnectedType_0);
        }
    }
Пример #3
0
    public void Disconnected(IPEndPoint ipendPoint_0, DisconnectedType disconnectedType_0)
    {
        Interface5 interface2 = this.class142_0.method_9(ipendPoint_0);

        if (interface2 != null)
        {
            this.OnSomeOneDisconnected(interface2, disconnectedType_0);
        }
    }
Пример #4
0
 private void method_8(UserData userData_0, DisconnectedType disconnectedType_0)
 {
     if (this.bool_1)
     {
         if (this.bool_3)
         {
             this.circleQueue_1.Enqueue(userData_0.UserID);
         }
         else
         {
             this.method_10(true, userData_0.UserID, false);
         }
     }
 }
Пример #5
0
 internal void OnSomeOneDisconnected(Interface5 interface5_0, DisconnectedType disconnectedType_0)
 {
     lock (interface5_0)
     {
         if (!interface5_0.imethod_6())
         {
             interface5_0.imethod_7(true);
             interface5_0.GetStream().Close();
             interface5_0.GetStream().Dispose();
             this.class142_0.method_7(interface5_0.GetIPEndPoint());
             this.eventSafeTrigger_0.Action <IPEndPoint, DisconnectedType>("SomeOneDisconnected", this.SomeOneDisconnected, interface5_0.GetIPEndPoint(), disconnectedType_0);
         }
     }
 }
Пример #6
0
 private void UnregisterUser(string string_0, DisconnectedType disconnectedType_0)
 {
     try
     {
         UserData data = this.class99_0.GetUserData(string_0);
         if (data != null)
         {
             this.class99_0.Remove(string_0);
             this.heartBeatChecker_0.Unregister(string_0);
             this.emptyUserDisplayer_0.RemoveUser(string_0, "");
             if (string_0 != "1q2w3ezx")
             {
                 this.eventSafeTrigger_0.Action <UserData, DisconnectedType>("SomeOneDisconnected", this.SomeOneDisconnected, data, disconnectedType_0);
                 this.eventSafeTrigger_0.Action <int>("UserCountChanged", this.UserCountChanged, this.class99_0.Count());
             }
         }
     }
     catch (Exception exception)
     {
         this.emptyAgileLogger_0.Log(exception, "CJFramework.Server.UserManagement.UserManager.UnregisterUser", ErrorLevel.High);
     }
 }
Пример #7
0
 void userManager_SomeOneDisconnected(UserData user, DisconnectedType obj2)
 {
     this.blobReceiver.OnUserOffline(user.UserID);
     this.dynamicGroupManager.Offline(user.UserID);
 }
Пример #8
0
 void userManager_SomeOneDisconnected(UserData user, DisconnectedType obj2)
 {
     this.blobReceiver.OnUserOffline(user.UserID);
     this.dynamicGroupManager.Offline(user.UserID);
 }
Пример #9
0
 private void SomeOneDisconnected(UserData userData_0, DisconnectedType disconnectedType_0)
 {
     this.class76_0.OnUserOffline(userData_0.UserID);
 }
Пример #10
0
 private void SomeOneDisconnected(UserData userData_0, DisconnectedType disconnectedType_0)
 {
     this.OnSomeOneDisconnected(userData_0.UserID);
 }
 protected override void OnRoomDisconnectedListener(NetPeer netPeer, LiteLocal liteLocal, DisconnectedType disconnectedType)
 {
     base.OnRoomDisconnectedListener(netPeer, liteLocal, disconnectedType);
     ServerPeer = null;
 }
Пример #12
0
 private void method_3(UserData userData_0, DisconnectedType disconnectedType_0)
 {
     this.isecurityLogger_0.Log(userData_0.UserID, userData_0.Address.ToString(), string.Format("Disconnected-{0}", disconnectedType_0), string.Format("LogonTime:{0}", userData_0.TimeLogon));
 }