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); }
public Entity() { _attributeMap = new ConcurrentDictionary <Type, IAttribute>(); _id = InvalidEntityId; _actionQueue = new SinglyAccessQueue <Action>(this, action => action()); }
public PacketSession(Socket socket) { _socket = socket; _socket.NoDelay = true; _sendQueue = new SinglyAccessQueue <byte[]>(this, ProcessSend); }
public PacketSession(Socket socket) { _socket = socket; _socket.NoDelay = true; _sendQueue = new SinglyAccessQueue<byte[]>(this, ProcessSend); }