コード例 #1
0
 public abstract void Write(AsyncServer server, string msg);
コード例 #2
0
        public override void Write(AsyncServer server, string msg)
        {
            Contract.Assert(server != null);

            _queue.Enqueue(msg);
        }
コード例 #3
0
        public override void Write(AsyncServer server, string msg)
        {
            byte[] buffer = Encoding.UTF8.GetBytes(msg);

            server.Write(this, buffer, 0, buffer.Length);
        }