juglr
Interface DelegatingActor.Strategy

Enclosing class:
DelegatingActor

public static interface DelegatingActor.Strategy


Method Summary
 Address recipient(Message msg)
          Select the recipient for msg
 void start()
          Make sure actors in this strategy have their Actor.start() methods invoked.
 

Method Detail

recipient

Address recipient(Message msg)
Select the recipient for msg

Parameters:
msg - the message to look up a recipient for
Returns:
the address to send msg to. If null is returned the message will be silently dropped

start

void start()
Make sure actors in this strategy have their Actor.start() methods invoked. Note that it is the responsibility of the strategy to start any actors that are created after this method has been invoked