Beispiel #1
0
 @Override
 public void onReceive(Object message) throws Exception {
   if (message instanceof ActorMessage) {
     if (next != null) next.tell(message, getSelf());
     else ((ActorRef) ((ActorMessage) message).value).tell(message, getSelf());
   }
 }