コード例 #1
0
 @Override
 protected final WebDataMessage handleLifecycleMessage(LifecycleMessage m) {
   if (m instanceof ExitMessage) {
     ExitMessage em = (ExitMessage) m;
     if (em.getActor() != null && em.getActor().equals(userActor)) die(em.getCause());
   }
   return null;
 }
コード例 #2
0
 @Override
 protected final HttpResponse handleLifecycleMessage(LifecycleMessage m) {
   if (m instanceof ExitMessage) {
     final ExitMessage em = (ExitMessage) m;
     if (em.getActor() != null && em.getActor().equals(userActor)) {
       handleDeath(em.getCause());
       die(em.getCause());
     }
   }
   return null;
 }