public Mailboxes(OtpNode node, OtpActorSched sched) { this.node = node; this.sched = sched; byPid = new Dictionary <OtpErlangPid, WeakReference>(); byName = new Dictionary <String, WeakReference>(); }
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; } } }
public Mailboxes(OtpNode node, OtpActorSched sched) { this.node = node; this.sched = sched; byPid = new Dictionary<OtpErlangPid, WeakReference>(); byName = new Dictionary<String, WeakReference>(); }
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; } } }
internal OtpActorMbox(OtpActorSched sched, OtpNode home, OtpErlangPid self) : base(home, self, null) { this.sched = sched; }
internal OtpActorMbox(OtpActorSched sched, OtpNode home, OtpErlangPid self, String name) : base(home, self, name) { this.sched = sched; }