clean up Channel API (fixes #1070)

- remove feature query methods
- encode information in marker traits
- remove safe_!
- rename tellSafe to tryTell (harmonize with ActorRef.reply)
This commit is contained in:
Roland 2011-08-01 21:38:28 +02:00
parent 04729bcbc3
commit a43418a4c3
5 changed files with 62 additions and 87 deletions

View file

@ -240,7 +240,7 @@ which you do by Channel.tell(msg)
String msg = (String)message;
if (msg.equals("Hello")) {
// Reply to original sender of message using the channel
getContext().channel().tellSafe(msg + " from " + getContext().getUuid());
getContext().channel().tryTell(msg + " from " + getContext().getUuid());
}
}
}