Click or drag to resize
Akka.NETEventBusTEvent, TClassifier, TSubscriber Class
This class provides base publish/subscribe functionality for working with events inside the system.
Inheritance Hierarchy
SystemObject
  Akka.EventEventBusTEvent, TClassifier, TSubscriber
    Akka.EventActorEventBusTEvent, TClassifier

Namespace:  Akka.Event
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public abstract class EventBus<TEvent, TClassifier, TSubscriber>

Type Parameters

TEvent
The type of event published to the bus.
TClassifier
The type of classifier used to classify events.
TSubscriber
The type of the subscriber that listens for events.

The EventBusTEvent, TClassifier, TSubscriber type exposes the following members.

Constructors
  NameDescription
Protected methodEventBusTEvent, TClassifier, TSubscriber
Initializes a new instance of the EventBusTEvent, TClassifier, TSubscriber class
Top
Methods
  NameDescription
Protected methodClassify
Classifies the specified event using the specified classifier.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetClassifier
Retrieves the classifier used to classify the specified event.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsSubClassification
Determines whether a specified classifier, child, is a subclass of another classifier, parent.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPublish(TEvent)
Publishes the specified event to the bus.
Protected methodPublish(TEvent, TSubscriber)
Publishes the specified event directly to the specified subscriber.
Protected methodSimpleName(Object)
Retrieves the simplified type name (the class name without the namespace) of a given object.
Protected methodSimpleName(Type)
Retrieves the simplified type name (the class name without the namespace) of a given type.
Public methodSubscribe
Adds the specified subscriber to the list of subscribers that listen for particular events on the bus.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnsubscribe(TSubscriber)
Removes the specified subscriber from the list of subscribers that listen for particular events on the bus.
Public methodUnsubscribe(TSubscriber, TClassifier)
Removes the specified subscriber from the list of subscribers that listen for particular events on the bus.
Top
Extension Methods
See Also