Example #1
0
 static void OnEchoReq(EchoReq req)
 {
     var resp = new EchoResp {
         SessionHandle = req.SessionHandle,
         Message = req.Message
     };
     Flow.Post(resp);
 }
Example #2
0
 public void OnDisconnect()
 {
     var e = new EchoResp {
         SessionHandle = LinkSession.Handle
     };
     Flow.Unbind(e, Send);
 }
Example #3
0
 void OnEchoResp(EchoResp e)
 {
     link.Send(new EchoReq {
         Message = message
     });
 }