示例#1
0
 public void DoSend(Command message, TimeSpan requestTimeout)
 {
     if (AsyncSend)
     {
         Connection.OneWay(message);
     }
     else
     {
         Connection.SyncRequest(message, requestTimeout);
     }
 }