Example #1
0
        public void DataCallbackImpl(NetServer server, NetIncomingMessage msg)
        {
            var m = MessageReader.GetMessageInstance(msg);

            MessageCallbackManager.ShellCallback(m, msg);
        }
Example #2
0
File: Form1.cs Project: sgww/cozy
        private void OnData(object sender, ClienEventArgs e)
        {
            var r = MessageReader.GetMessageInstance(e.Message);

            MessageCallbackManager.ShellCallback(r, e.Message);
        }