public void PushMessage(PipeMessage p_Message) { if (m_Connection != null) { m_Connection.PushMessage(p_Message); } }
private void OnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message) { if (ServerMessage != null) { ServerMessage(p_Connection, p_Message); } }
private void ClientOnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message) { if (ClientMessage != null) { ClientMessage(p_Connection, p_Message); } }
public void PushMessage(PipeMessage p_Message) { lock (m_Connections) foreach (var s_Client in m_Connections) { s_Client.PushMessage(p_Message); } }
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); }
public void PushMessage(PipeMessage p_Message) { if (m_Connection != null) m_Connection.PushMessage(p_Message); }
private void OnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message) { if (ServerMessage != null) ServerMessage(p_Connection, p_Message); }
public void PushMessage(PipeMessage p_Message) { m_WriteQueue.Enqueue(p_Message); m_WriteSignal.Set(); }
private void ClientOnReceiveMessage(PipeConnection p_Connection, PipeMessage p_Message) { if (ClientMessage != null) ClientMessage(p_Connection, p_Message); }
public void PushMessage(PipeMessage p_Message) { lock (m_Connections) foreach (var s_Client in m_Connections) s_Client.PushMessage(p_Message); }