Click or drag to resize
Akka.NETListenerSupport Class
This class adds IListeners capabilities to an actor.
Note Note
ListenerReceive must be wired manually into the actor's OnReceive(Object) method.
Inheritance Hierarchy
SystemObject
  Akka.RoutingListenerSupport

Namespace:  Akka.Routing
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public class ListenerSupport

The ListenerSupport type exposes the following members.

Constructors
  NameDescription
Public methodListenerSupport
Initializes a new instance of the ListenerSupport class
Top
Properties
  NameDescription
Public propertyListenerReceive
Retrieves the wiring needed to implement listening functionality.
Note Note
This needs to be chained into the actor's OnReceive(Object) method.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified actor to the collection of registered listeners.
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGossip(Object)
Sends the supplied message to all registered listeners.
Note Note
Messages sent this way use NoSender as the sender.
Public methodGossip(Object, IActorRef)
Sends the supplied message to all registered listeners.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the specified actor from the collection of registered listeners.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldListeners
The collection of registered listeners that is listening for messages from an actor.
Top
Extension Methods
See Also