C# Class Appccelerate.EventBroker.Internals.EventTopic

Inheritance: IEventTopic
Mostrar archivo Open project: appccelerate/appccelerate

Public Methods

Method Description
AddPublication ( IPublication publication ) : void
AddSubscription ( ISubscription subscription ) : void
DescribeTo ( TextWriter writer ) : void
Dispose ( ) : void
EventTopic ( string uri, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider ) : System
Fire ( object sender, EventArgs e, IPublication publication ) : void
RemovePublication ( object publisher, string eventName ) : IPublication
RemoveSubscription ( object subscriber, MethodInfo handlerMethod ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CallSubscriptionHandlers ( object sender, EventArgs e, EventTopicFireDelegate>.IEnumerable handlers, IPublication publication ) : void
CheckMatchers ( IPublication publication, ISubscription subscription, EventArgs e ) : bool

Checks whether the event of the publisher has to be relayed to the subscriber (Matchers).

Clean ( ) : void
CleanPublications ( ) : void
CleanSubscriptions ( ) : void
FindPublication ( object publisher, string eventName ) : IPublication
FindSubscription ( object subscriber, string handlerMethodName ) : ISubscription
GetSubscriptionHandlers ( ) : EventTopicFireDelegate>>.IEnumerable
RemovePublication ( IPublication publication ) : void
RemoveSubscription ( ISubscription subscription ) : void
ThrowIfPublisherAndSubscriberEventArgumentsMismatch ( ISubscription subscription, IPublication publication ) : void
ThrowIfRepeatedPublication ( object publisher, string eventName ) : void
ThrowIfRepeatedSubscription ( object subscriber, string handlerMethodName ) : void
ThrowIfSubscriptionHandlerDoesNotMatchHandlerRestrictionOfPublisher ( ISubscription subscription, IPublication publication ) : void

Method Details

AddPublication() public method

public AddPublication ( IPublication publication ) : void
publication IPublication
return void

AddSubscription() public method

public AddSubscription ( ISubscription subscription ) : void
subscription ISubscription
return void

DescribeTo() public method

public DescribeTo ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

EventTopic() public method

public EventTopic ( string uri, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider ) : System
uri string
extensionHost IExtensionHost
globalMatchersProvider IGlobalMatchersProvider
return System

Fire() public method

public Fire ( object sender, EventArgs e, IPublication publication ) : void
sender object
e System.EventArgs
publication IPublication
return void

RemovePublication() public method

public RemovePublication ( object publisher, string eventName ) : IPublication
publisher object
eventName string
return IPublication

RemoveSubscription() public method

public RemoveSubscription ( object subscriber, MethodInfo handlerMethod ) : void
subscriber object
handlerMethod System.Reflection.MethodInfo
return void