Ejemplo n.º 1
0
 public void PushMessage(PipeMessage p_Message)
 {
     if (m_Connection != null)
     {
         m_Connection.PushMessage(p_Message);
     }
 }
Ejemplo n.º 2
0
 private void OnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message)
 {
     if (ServerMessage != null)
     {
         ServerMessage(p_Connection, p_Message);
     }
 }
Ejemplo n.º 3
0
 private void ClientOnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message)
 {
     if (ClientMessage != null)
     {
         ClientMessage(p_Connection, p_Message);
     }
 }
Ejemplo n.º 4
0
 public void PushMessage(PipeMessage p_Message)
 {
     lock (m_Connections)
         foreach (var s_Client in m_Connections)
         {
             s_Client.PushMessage(p_Message);
         }
 }
Ejemplo n.º 5
0
        public void OnMessage(PipeMessage p_Message)
        {
            if (p_Message == null)
                return;

            IEngine s_Engine;
            if (!m_Engines.TryGetValue(p_Message.Module, out s_Engine))
                return;

            s_Engine.OnMessage(p_Message.Type, p_Message.Content);
        }
Ejemplo n.º 6
0
 public void PushMessage(PipeMessage p_Message)
 {
     if (m_Connection != null)
         m_Connection.PushMessage(p_Message);
 }
Ejemplo n.º 7
0
 private void OnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message)
 {
     if (ServerMessage != null)
         ServerMessage(p_Connection, p_Message);
 }
Ejemplo n.º 8
0
 public void PushMessage(PipeMessage p_Message)
 {
     m_WriteQueue.Enqueue(p_Message);
     m_WriteSignal.Set();
 }
Ejemplo n.º 9
0
 public void PushMessage(PipeMessage p_Message)
 {
     m_WriteQueue.Enqueue(p_Message);
     m_WriteSignal.Set();
 }
Ejemplo n.º 10
0
 private void ClientOnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message)
 {
     if (ClientMessage != null)
         ClientMessage(p_Connection, p_Message);
 }
Ejemplo n.º 11
0
 public void PushMessage(PipeMessage p_Message)
 {
     lock (m_Connections)
         foreach (var s_Client in m_Connections)
             s_Client.PushMessage(p_Message);
 }