Inheritance: ThreadBase
コード例 #1
0
ファイル: OtpNode.cs プロジェクト: K2InformaticsGmbH/erlnet
 public Mailboxes(OtpNode node, OtpActorSched sched)
 {
     this.node = node;
     this.sched = sched;
     byPid = new Dictionary<OtpErlangPid, WeakReference>();
     byName = new Dictionary<String, WeakReference>();
 }
コード例 #2
0
 internal OtpActorMbox(OtpActorSched sched, OtpNode home, OtpErlangPid self)
     : base(home, self, null)
 {
     this.sched = sched;
 }
コード例 #3
0
ファイル: OtpNode.cs プロジェクト: K2InformaticsGmbH/erlnet
        private void init(int port)
        {
            lock (this)
            {
                if (!initDone)
                {
                    connections = new Dictionary<String, OtpCookedConnection>();

                    sched = new OtpActorSched();
                    mboxes = new Mailboxes(this, sched);
                    acceptor = new Acceptor(this, port);
                    initDone = true;
                }
            }
        }
コード例 #4
0
 internal OtpActorMbox(OtpActorSched sched, OtpNode home, OtpErlangPid self, String name)
     : base(home, self, name)
 {
     this.sched = sched;
 }