C# 클래스 Akka.Actor.UntypedActor

Class UntypedActor.
상속: ActorBase
파일 보기 프로젝트 열기: rogeralsing/akka.net

보호된 메소드들

메소드 설명
Become ( UntypedReceive receive ) : void

Changes the actor's behavior and replaces the current receive handler with the specified handler.

BecomeStacked ( UntypedReceive receive ) : void

Changes the actor's behavior and replaces the current receive handler with the specified handler. The current handler is stored on a stack, and you can revert to it by calling IUntypedActorContext.UnbecomeStacked Please note, that in order to not leak memory, make sure every call to BecomeStacked is matched with a call to IUntypedActorContext.UnbecomeStacked.

OnReceive ( object message ) : void

To be implemented by concrete UntypedActor, this defines the behavior of the UntypedActor. This method is called for every message received by the actor.

Receive ( object message ) : bool
RunTask ( System.Action action ) : void
RunTask ( Func action ) : void

비공개 메소드들

메소드 설명
Become ( UntypedReceive receive, bool discardOld = true ) : void

메소드 상세

Become() 보호된 메소드

Changes the actor's behavior and replaces the current receive handler with the specified handler.
protected Become ( UntypedReceive receive ) : void
receive UntypedReceive The new message handler.
리턴 void

BecomeStacked() 보호된 메소드

Changes the actor's behavior and replaces the current receive handler with the specified handler. The current handler is stored on a stack, and you can revert to it by calling IUntypedActorContext.UnbecomeStacked Please note, that in order to not leak memory, make sure every call to BecomeStacked is matched with a call to IUntypedActorContext.UnbecomeStacked.
protected BecomeStacked ( UntypedReceive receive ) : void
receive UntypedReceive The new message handler.
리턴 void

OnReceive() 보호된 추상적인 메소드

To be implemented by concrete UntypedActor, this defines the behavior of the UntypedActor. This method is called for every message received by the actor.
protected abstract OnReceive ( object message ) : void
message object The message.
리턴 void

Receive() 보호된 최종 메소드

protected final Receive ( object message ) : bool
message object
리턴 bool

RunTask() 보호된 메소드

protected RunTask ( System.Action action ) : void
action System.Action
리턴 void

RunTask() 보호된 메소드

protected RunTask ( Func action ) : void
action Func
리턴 void