Where's the session factory method semantics defined?

#1

Hi,

My WAMPlet has a factory method:

def make(config):

“”" Session factory method.

See the API documentation for autobahn.twisted.wamp.ApplicationRunner.

Args:

config: Session configuration, or None to just return a description.

Returns:

MBG120Session: An application session or description.

“”"

if config is not None:

return MBG120Session(config)

else:

return {

‘label’: ‘Magnatek MBG120 session’,

‘description’: ‘WAMP session for the MBG120 x-ray generator’

}

This follows the form I’ve seen in the examples. But where is this description format documented? And where will these strings be used?

Cheers,

Elvis

0 Likes