Ejemplo n.º 1
0
 // 发送无回执消息
 public void Send(string op, Action <IWriteableBuffer> fun)
 {
     NetUtils.Send(op, compName, fun, conn);
 }
Ejemplo n.º 2
0
 // 发送请求并等待请求结果
 public void Request(string op, Action <IWriteableBuffer> fun, Action <IReadableBuffer> callback, Action <bool> onExpired)
 {
     NetUtils.Request(op, compName, fun, callback, onExpired, conn);
 }