def on_join(session):
    print('session connected: {}'.format(session))

    def on_leave(details):
        print("on_leave", details)

    session.on_leave(on_leave)

    # explicitly leaving a realm will disconnect the connection
    # cleanly and not try to reconnect, but exit cleanly.
    session.leave()
Default constructor
dataset/ETHPy150Open crossbario/autobahn-python/examples/twisted/wamp/work/newapi/test_newapi.py/on_join--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/eventdisplay.py/EventMessageWidget.__init__