Esempio 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;
 }
 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;
 }