make remote lookup work

- create RemoteActorRef in actorFor
- simplify send/receive because Futures/Exceptions do not go over the
  wire anymore
- add RemoteCommunicationSpec which uses two ActorSystems communicating
  in the same JVM via TCP socket
This commit is contained in:
Roland 2011-12-08 14:44:05 +01:00
parent 25e23a3378
commit fac840adfc
19 changed files with 376 additions and 435 deletions

View file

@ -53,6 +53,7 @@ object SystemMessage {
* ➡➡➡ NEVER SEND THE SAME SYSTEM MESSAGE OBJECT TO TWO ACTORS ⬅⬅⬅
*/
sealed trait SystemMessage extends PossiblyHarmful {
@transient
var next: SystemMessage = _
}
case class Create() extends SystemMessage // send to self from Dispatcher.register