internal MessageSession(MessageSessionManager sessionManager, Socket clientSocket) { SessionManager = sessionManager; ClientSocket = clientSocket; SessionId = -1; _sendQueue = new SinglyAccessQueue<byte[]>(this, ProcessSend); }
internal MessageSession(MessageSessionManager sessionManager, Socket clientSocket) { SessionManager = sessionManager; ClientSocket = clientSocket; SessionId = -1; _sendQueue = new SinglyAccessQueue <byte[]>(this, ProcessSend); }
internal MessageListener(MessageSessionManager sessionManager) { SessionManager = sessionManager; }
internal MessageSession(MessageSessionManager sessionManager) : this(sessionManager, new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) { }