메소드 | 설명 | |
---|---|---|
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
|
|
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 |
메소드 | 설명 | |
---|---|---|
Become ( UntypedReceive receive, bool discardOld = true ) : void |
protected Become ( UntypedReceive receive ) : void | ||
receive | UntypedReceive | The new message handler. |
리턴 | void |
protected BecomeStacked ( UntypedReceive receive ) : void | ||
receive | UntypedReceive | The new message handler. |
리턴 | void |
protected abstract OnReceive ( object message ) : void | ||
message | object | The message. |
리턴 | void |