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