Set WAMP registration option so that reconnecting while earlier session still didn't timeout is possible (in case of connection lost, for example).
--- a/runtime/WampClient.py Tue Jan 09 14:50:41 2018 +0100
+++ b/runtime/WampClient.py Tue Jan 09 14:52:56 2018 +0100
@@ -74,7 +74,8 @@
ID = self.config.extra["ID"]
print('WAMP session joined by :', ID)
for name in ExposedCalls:
- yield self.register(GetCallee(name), '.'.join((ID, name)))
+ regoption = types.RegisterOptions(u'exact',u'last',None, None)
+ yield self.register(GetCallee(name), '.'.join((ID, name)), regoption)
for name in SubscribedEvents:
yield self.subscribe(GetCallee(name), name)