Ejemplo n.º 1
0
 public RequestData( RMQServiceBusInterface commObject)
 {
     this.CommunicationObject = commObject;
 }
Ejemplo n.º 2
0
 public static bool RegisterClient( string address, RMQServiceBusInterface o)
 {
     try
     {
         if (!ExternalServiceBus.TryAdd(address, o))
             return false;
         o.OnConnect();
         return true;
     }
     catch (Exception ex)
     {
         Tracer.TraceEvent(TraceEventType.Error, 0, "[servicebus] exception {0}", ex.Message);
         return false;
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Missing communnication object means that it was inproc request i.e. there was no meidating server hence no ACK required
 /// Or, this object was used to create request either remote or inproc
 /// </summary>
 public RequestData( )
 {
     this.CommunicationObject = null;
 }