Пример #1
0
 protected void AddUser(SecurityTCP.Client client, UIUser user)
 {
     UserList.Add(client, user);
     BigMsgList.Add(client, new Queue <byte[]>());
     MsgList.Add(client, new Queue <Message>());
 }
Пример #2
0
 protected void PushError(object obj, UIUser user, string e) => ErrorList.Enqueue(new ProtocolError(user, e));
Пример #3
0
 public ProtocolError(UIUser user, string error)
 {
     this.User  = user;
     this.Error = error;
 }