runtime/WampClient.py
changeset 1892 daf40a1e7607
parent 1891 66043243c246
child 1893 971de876b1af
equal deleted inserted replaced
1891:66043243c246 1892:daf40a1e7607
    72         global _WampSession
    72         global _WampSession
    73         _WampSession = self
    73         _WampSession = self
    74         ID = self.config.extra["ID"]
    74         ID = self.config.extra["ID"]
    75         print('WAMP session joined by :', ID)
    75         print('WAMP session joined by :', ID)
    76         for name in ExposedCalls:
    76         for name in ExposedCalls:
    77             yield self.register(GetCallee(name), '.'.join((ID, name)))
    77             regoption = types.RegisterOptions(u'exact',u'last',None, None)
       
    78             yield self.register(GetCallee(name), '.'.join((ID, name)), regoption)
    78 
    79 
    79         for name in SubscribedEvents:
    80         for name in SubscribedEvents:
    80             yield self.subscribe(GetCallee(name), name)
    81             yield self.subscribe(GetCallee(name), name)
    81 
    82 
    82         for func in DoOnJoin:
    83         for func in DoOnJoin: