C# Class Appccelerate.EventBroker.Internals.EventTopicHost

Default implementation of a IEventTopicHost.
Inheritance: IEventTopicHost
Show file Open project: appccelerate/appccelerate

Public Methods

Method Description
DescribeTo ( TextWriter writer ) : void

Describes all event topics: publications, subscriptions, names, thread options, matchers, event arguments.

Dispose ( ) : void

See IDisposable.Dispose for more information.

EventTopicHost ( IFactory factory, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider ) : System

Initializes a new instance of the EventTopicHost class.

GetEventTopic ( string topic ) : IEventTopic

Gets a event topic. Result is never null. Event topic is created if it does not yet exist.

Returns a non null instance of the dictionary.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Method Details

DescribeTo() public method

Describes all event topics: publications, subscriptions, names, thread options, matchers, event arguments.
public DescribeTo ( TextWriter writer ) : void
writer System.IO.TextWriter The writer.
return void

Dispose() public method

See IDisposable.Dispose for more information.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

EventTopicHost() public method

Initializes a new instance of the EventTopicHost class.
public EventTopicHost ( IFactory factory, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider ) : System
factory IFactory The factory.
extensionHost IExtensionHost The extension host holding all extensions.
globalMatchersProvider IGlobalMatchersProvider The global matchers provider.
return System

GetEventTopic() public method

Gets a event topic. Result is never null. Event topic is created if it does not yet exist.
Returns a non null instance of the dictionary.
public GetEventTopic ( string topic ) : IEventTopic
topic string The topic URI identifying the event topic to return.
return IEventTopic