Offers a statically dispatched and thus slightly faster alternative to the DynamicDispatchActor class. Message handlers are discovered at compile-time.
Modifiers | Name | Description |
---|---|---|
private static long |
serialVersionUID |
Fields inherited from class | Fields |
---|---|
class AbstractLoopingActor |
core, currentSender, currentTimerTask, serialVersionUID, stoppedFlag, terminatedFlag, terminatingFlag, timeoutCounter |
class Actor |
ACTOR_HAS_ALREADY_BEEN_STARTED, AFTER_START, CANNOT_SEND_REPLIES_NO_SENDER_HAS_BEEN_REGISTERED, EMPTY_ARGUMENTS, ON_DELIVERY_ERROR, RESPONDS_TO, START_MESSAGE, STOP_MESSAGE, TERMINATE_MESSAGE, TIMEOUT, TIMEOUT_MESSAGE, currentActorPerThread, currentThread, joinLatch, onStop, parallelGroup, serialVersionUID, timer |
class MessageStream |
serialVersionUID |
class WithSerialId |
serialHandle, serialVersionUID |
Constructor and description |
---|
protected StaticDispatchActor
() Creates a new instance |
Type | Name and description |
---|---|
void |
onMessage(T message) Handles the incoming messages. |
Copyright © 2008–2014 Václav Pech. All Rights Reserved.