C# 클래스 Akka.Event.EventStream

The EventStream is a pub-sub stream of events that can be both system and user generated. The subscribers are IActorRef instances and events can be any object. Subscriptions are hierarchical meaning that if you listen to an event for a particular type you will receive events for that type and any sub types. If the debug flag is activated any operations on the event stream will be published as debug level events.
상속: LoggingBus
파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 메소드들

메소드 설명
EventStream ( bool debug ) : System

Initializes a new instance of the EventStream class.

InitUnsubscriber ( IActorRef unsubscriber, ActorSystem system ) : bool
StartUnsubscriber ( ActorSystemImpl system ) : void
Subscribe ( IActorRef subscriber, Type channel ) : bool

Subscribes the specified subscriber.

Unsubscribe ( IActorRef subscriber ) : bool

Unsubscribes the specified subscriber.

Unsubscribe ( IActorRef subscriber, Type channel ) : bool

Unsubscribes the specified subscriber.

비공개 메소드들

메소드 설명
RegisterWithUnsubscriber ( IActorRef subscriber ) : void
UnregisterIfNoMoreSubscribedChannels ( IActorRef subscriber ) : void

메소드 상세

EventStream() 공개 메소드

Initializes a new instance of the EventStream class.
public EventStream ( bool debug ) : System
debug bool if set to true [debug].
리턴 System

InitUnsubscriber() 공개 메소드

public InitUnsubscriber ( IActorRef unsubscriber, ActorSystem system ) : bool
unsubscriber IActorRef
system ActorSystem
리턴 bool

StartUnsubscriber() 공개 메소드

public StartUnsubscriber ( ActorSystemImpl system ) : void
system ActorSystemImpl
리턴 void

Subscribe() 공개 메소드

Subscribes the specified subscriber.
subscriber
public Subscribe ( IActorRef subscriber, Type channel ) : bool
subscriber IActorRef The subscriber.
channel System.Type The channel.
리턴 bool

Unsubscribe() 공개 메소드

Unsubscribes the specified subscriber.
subscriber
public Unsubscribe ( IActorRef subscriber ) : bool
subscriber IActorRef The subscriber.
리턴 bool

Unsubscribe() 공개 메소드

Unsubscribes the specified subscriber.
subscriber
public Unsubscribe ( IActorRef subscriber, Type channel ) : bool
subscriber IActorRef The subscriber.
channel System.Type The channel.
리턴 bool