internal QueueItem(ServerMessage message, ServerSocket socket)
 {
     this.Message = message;
     this.Socket  = socket;
 }
 public void Enqueue(ServerMessage message, ServerSocket socket)
 {
     this.m_sendQueue.Enqueue(new QueueItem(message, socket));
     this.m_sendResetEvent.Set();
 }
Example #3
0
 public static void SendMessage(ServerMessage message, int serverType, int serverId)
 {
     ServerMessaging.Send(message, ServerManager.GetSocket(serverType, serverId));
 }
 public void Enqueue(ServerMessage message)
 {
     this.m_receiveQueue.Enqueue(message);
     this.m_receiveResetEvent.Set();
 }
Example #5
0
 public static void SendMessage(ServerMessage message, ServerSocket socket)
 {
     ServerMessaging.Send(message, socket);
 }