public Response SyncRequest(Command command) { try { return SyncRequest(command, this.RequestTimeout); } catch(Exception ex) { throw NMSExceptionSupport.Create(ex); } }
public void DoSend(Command message, TimeSpan requestTimeout) { if (AsyncSend) { Connection.OneWay(message); } else { Connection.SyncRequest(message, requestTimeout); } }