Exemplo n.º 1
0
 public ActorDispatchLocal(ActorItem actor)
 {
     Inbox = actor.Inbox as ILocalActorInbox;
     if (Inbox == null)
     {
         throw new ArgumentException("Invalid (not local) ActorItem passed to LocalActorDispatch.");
     }
     Actor = actor.Actor;
 }
Exemplo n.º 2
0
 public ActorDispatchLocal(ActorItem actor, bool transactionalIO)
 {
     this.transactionalIO = transactionalIO;
     Inbox = actor.Inbox as ILocalActorInbox;
     if (Inbox == null)
     {
         throw new ArgumentException("Invalid (not local) ActorItem passed to LocalActorDispatch.");
     }
     Actor = actor.Actor;
 }