예제 #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;
 }