Пример #1
0
        /// <summary>
        ///     Initializes this instance.
        /// </summary>
        public virtual void Init()
        {
            RootPath = new RootActorPath(Address);
            TempNode = RootPath / "temp";

            RootCell       = new ActorCell(System, "", new ConcurrentQueueMailbox());
            DeadLetters    = new DeadLetterActorRef(this, RootPath / "deadLetters", System.EventStream);
            Guardian       = (LocalActorRef)RootCell.ActorOf <GuardianActor>("user");
            SystemGuardian = (LocalActorRef)RootCell.ActorOf <GuardianActor>("system");
            TempContainer  = new VirtualPathContainer(this, TempNode, null);
        }
Пример #2
0
        /// <summary>
        ///     Initializes this instance.
        /// </summary>
        public virtual void Init()
        {
            RootPath = new RootActorPath(Address);
            TempNode = RootPath / "temp";

            RootCell = new ActorCell(System, "", new ConcurrentQueueMailbox());
            DeadLetters = new DeadLetterActorRef(this, RootPath / "deadLetters", System.EventStream);
            Guardian = (LocalActorRef)RootCell.ActorOf<GuardianActor>("user");
            SystemGuardian = (LocalActorRef)RootCell.ActorOf<GuardianActor>("system");
            TempContainer = new VirtualPathContainer(this, TempNode, null);
        }