Rewrite of remote protocol to use the new ActorRef protocol
This commit is contained in:
parent
f951d2c3de
commit
cb2e39cc97
18 changed files with 435 additions and 582 deletions
|
|
@ -60,9 +60,9 @@ trait MessageDispatcher extends Logging {
|
|||
def dispatch(invocation: MessageInvocation)
|
||||
def start
|
||||
def shutdown
|
||||
def register(actorId: ActorRef) = references.put(actorId.uuid, actorId)
|
||||
def unregister(actorId: ActorRef) = {
|
||||
references.remove(actorId.uuid)
|
||||
def register(actorRef: ActorRef) = references.put(actorRef.uuid, actorRef)
|
||||
def unregister(actorRef: ActorRef) = {
|
||||
references.remove(actorRef.uuid)
|
||||
if (canBeShutDown)
|
||||
shutdown // shut down in the dispatcher's references is zero
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue