C# Class IServiceOriented.ServiceBus.ServiceBusRuntime

Inheritance: IDisposable
Exibir arquivo Open project: jezell/iserviceoriented Class Usage Examples

Public Methods

Method Description
AddListener ( ListenerEndpoint endpoint ) : void
Dispose ( ) : void
GetSubscription ( System.Guid subscriptionEndpointId ) : SubscriptionEndpoint
ListListeners ( ) : Collection
ListListeners ( bool includeTransient ) : Collection
ListSubscribers ( ) : Collection
ListSubscriptions ( bool includeTransient ) : Collection
PublishOneWay ( PublishRequest publishRequest ) : void
PublishOneWay ( Type contractType, string action, object message ) : void
PublishTwoWay ( PublishRequest publishRequest, System.TimeSpan timeout ) : IServiceOriented.ServiceBus.MessageDelivery[]
RemoveListener ( System.Guid endpointId ) : void
RemoveListener ( ListenerEndpoint endpoint ) : void
RemoveSubscription ( System.Guid subscriptionId ) : void
RemoveSubscription ( SubscriptionEndpoint subscription ) : void
ServiceBusRuntime ( ) : System
ServiceBusRuntime ( IServiceLocator serviceLocator ) : System
Start ( ) : void
Stop ( ) : bool
Subscribe ( SubscriptionEndpoint subscription ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
GetResponseCorrelationId ( PublishRequest request ) : string

Private Methods

Method Description
NotifyDelivery ( MessageDelivery delivery ) : void
NotifyExpired ( MessageDelivery delivery ) : void
NotifyFailure ( MessageDelivery delivery, bool permanent ) : void
NotifyUnhandledException ( Exception ex, bool isTerminating ) : void
attachServices ( ) : void
deliverToSubscriptionEndpoint ( TimeSpan timeout, PublishRequest publishRequest ) : void

Method Details

AddListener() public method

public AddListener ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetResponseCorrelationId() protected method

protected GetResponseCorrelationId ( PublishRequest request ) : string
request PublishRequest
return string

GetSubscription() public method

public GetSubscription ( System.Guid subscriptionEndpointId ) : SubscriptionEndpoint
subscriptionEndpointId System.Guid
return SubscriptionEndpoint

ListListeners() public method

public ListListeners ( ) : Collection
return Collection

ListListeners() public method

public ListListeners ( bool includeTransient ) : Collection
includeTransient bool
return Collection

ListSubscribers() public method

public ListSubscribers ( ) : Collection
return Collection

ListSubscriptions() public method

public ListSubscriptions ( bool includeTransient ) : Collection
includeTransient bool
return Collection

PublishOneWay() public method

public PublishOneWay ( PublishRequest publishRequest ) : void
publishRequest PublishRequest
return void

PublishOneWay() public method

public PublishOneWay ( Type contractType, string action, object message ) : void
contractType System.Type
action string
message object
return void

PublishTwoWay() public method

public PublishTwoWay ( PublishRequest publishRequest, System.TimeSpan timeout ) : IServiceOriented.ServiceBus.MessageDelivery[]
publishRequest PublishRequest
timeout System.TimeSpan
return IServiceOriented.ServiceBus.MessageDelivery[]

RemoveListener() public method

public RemoveListener ( System.Guid endpointId ) : void
endpointId System.Guid
return void

RemoveListener() public method

public RemoveListener ( ListenerEndpoint endpoint ) : void
endpoint ListenerEndpoint
return void

RemoveSubscription() public method

public RemoveSubscription ( System.Guid subscriptionId ) : void
subscriptionId System.Guid
return void

RemoveSubscription() public method

public RemoveSubscription ( SubscriptionEndpoint subscription ) : void
subscription SubscriptionEndpoint
return void

ServiceBusRuntime() public method

public ServiceBusRuntime ( ) : System
return System

ServiceBusRuntime() public method

public ServiceBusRuntime ( IServiceLocator serviceLocator ) : System
serviceLocator IServiceLocator
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : bool
return bool

Subscribe() public method

public Subscribe ( SubscriptionEndpoint subscription ) : void
subscription SubscriptionEndpoint
return void