def __init__(self, routerFactory): """ Constructor. """ BaseSession.__init__(self) self._transport = None self._router_factory = routerFactory self._router = None self._realm = None self._goodbye_sent = False self._transport_is_closing = False
def __init__(self, router_factory): """ Constructor. """ BaseSession.__init__(self) self._transport = None self._router_factory = router_factory self._router = None self._realm = None self._testaments = {u"destroyed": [], u"detatched": []} self._goodbye_sent = False self._transport_is_closing = False