EventStream..::..Subscribe Method

Subscribes the specified subscriber.

Namespace:  Akka.Event
Assembly:  Akka (in Akka.dll)

Syntax


public bool Subscribe(
	ActorRef subscriber,
	Type channel
)
Public Function Subscribe ( _
	subscriber As ActorRef, _
	channel As Type _
) As Boolean
public:
bool^ Subscribe(
	ActorRef^ subscriber, 
	Type^ channel
)

Parameters

subscriber
Type: Akka.Actor..::..ActorRef
The subscriber.
channel
Type: Type
The channel.

Return Value

true if XXXX, false otherwise.

Exceptions


ExceptionCondition
ArgumentNullExceptionsubscriber