示例#1
0
        protected override void OnMessage(MessageEventArgs e)
        {
            // Retrieve message from client
            string msg = e.Data;

            Send("Echo: " + msg);
            WSController_standard.um(msg);
        }
示例#2
0
 protected override void OnOpen()
 {
     WSController_standard.um("Arduino device has connected.");
     WSController_standard.SendToSession = Send;
 }
示例#3
0
 protected override void OnOpen()
 {
     WSController_standard.um("Android device has connected. ID: " + this.ID);
     WSController_standard.SendToSession = Send;
 }