public RequestData( RMQServiceBusInterface commObject) { this.CommunicationObject = commObject; }
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; } }
/// <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; }