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