- // link to Server as the global nexus in the object mesh
- parent(Server::active());
-
- // tell the server to listen to our port
- Server::active().add(*this);
-
- // register for port notifications
- Server::active().notifyIfDead(bootstrapPort()); //@@@??? still needed?
- Server::active().notifyIfUnused(*this);
-
- // self-register
- StLock<Mutex> _(mSessions);
- assert(!mSessions[*this]); // can't be registered already (we just made it)
- mSessions[*this] = this;
-
- secdebug("SSsession", "%p dynamic session originator=%d (pid=%d)",
- this, mOriginatorTask.port(), taskPort.pid());