Actor

Undocumented in source.

Constructors

this
this(StrongAddress a)
Undocumented in source.

Members

Functions

address
WeakAddress address()
Undocumented in source. Be warned that the author may not have intended to support it.
addressRef
StrongAddress addressRef()
Undocumented in source. Be warned that the author may not have intended to support it.
checkReplyTimeout
void checkReplyTimeout(SysTime now)
Undocumented in source. Be warned that the author may not have intended to support it.
cleanupAwait
void cleanupAwait()
Undocumented in source. Be warned that the author may not have intended to support it.
cleanupBehavior
void cleanupBehavior()
Undocumented in source. Be warned that the author may not have intended to support it.
cleanupDelayed
void cleanupDelayed()
Undocumented in source. Be warned that the author may not have intended to support it.
defaultHandler
void defaultHandler(DefaultHandler v)
Undocumented in source. Be warned that the author may not have intended to support it.
downHandler
void downHandler(DownHandler v)
Undocumented in source. Be warned that the author may not have intended to support it.
errorHandler
void errorHandler(ErrorHandler v)
Undocumented in source. Be warned that the author may not have intended to support it.
exceptionHandler
void exceptionHandler(ExceptionHandler v)
Undocumented in source. Be warned that the author may not have intended to support it.
exitHandler
void exitHandler(ExitHandler v)
Undocumented in source. Be warned that the author may not have intended to support it.
forceShutdown
void forceShutdown()

Force an immediate shutdown.

hasMessage
bool hasMessage()
Undocumented in source. Be warned that the author may not have intended to support it.
homeSystem
System homeSystem()
Undocumented in source. Be warned that the author may not have intended to support it.
id
ulong id()
Undocumented in source. Be warned that the author may not have intended to support it.
isAccepting
bool isAccepting()

Accepting messages.

isAlive
bool isAlive()
Undocumented in source. Be warned that the author may not have intended to support it.
messages
ulong messages()

Number of messages that has been processed.

name
string name()
name
void name(string n)

Set name name of the actor.

nextTimeout
Duration nextTimeout(SysTime now, Duration default_)

How long until a delayed message or a timeout fires.

process
void process(SysTime now)
Undocumented in source. Be warned that the author may not have intended to support it.
processDelayed
void processDelayed(SysTime now)
Undocumented in source. Be warned that the author may not have intended to support it.
processIncoming
void processIncoming()
Undocumented in source. Be warned that the author may not have intended to support it.
processReply
void processReply()
Undocumented in source. Be warned that the author may not have intended to support it.
processSystemMsg
void processSystemMsg()

All system messages are handled.

register
void register(ulong signature, Closure!(MsgHandler, void*) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
register
void register(ulong signature, Closure!(RequestHandler, void*) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
register
void register(ulong replyId, SysTime timeout, Closure!(ReplyHandler, void*) reply, ErrorHandler onError)
Undocumented in source. Be warned that the author may not have intended to support it.
replyId
ulong replyId()
Undocumented in source. Be warned that the author may not have intended to support it.
sendToLinks
void sendToLinks(ExitMsg msg)
Undocumented in source. Be warned that the author may not have intended to support it.
sendToMonitors
void sendToMonitors(DownMsg msg)
Undocumented in source. Be warned that the author may not have intended to support it.
setHomeSystem
void setHomeSystem(System* sys)
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
void shutdown()

Clean shutdown of the actor

waitingForReply
bool waitingForReply()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

addr
StrongAddress addr;
Undocumented in source.
state_
ActorState state_;
Undocumented in source.

Meta