Exemplo n.º 1
0
 public void Send(EMessage msg)
 {
     lock (tcpWriterLock)
     {
         tcpWriter.Write(msg.GetBuf());
     }
 }
Exemplo n.º 2
0
        public void processMsgs()
        {
            EMessage msg = getMsg();

            while (msg != null && processMsgsDecoder.ParseAndProcessMsg(msg.GetBuf()) > 0)
            {
                msg = getMsg();
            }
        }
Exemplo n.º 3
0
 public void Send(EMessage msg)
 {
     tcpWriter.Write(msg.GetBuf());
 }