# HG changeset patch
# User Edouard Tisserant
# Date 1515505976 -3600
# Node ID daf40a1e7607a387aed86d205ae6a64bfabf2b8e
# Parent  66043243c24674586ef99e6b3e622378ccca2405
Set WAMP registration option so that reconnecting while earlier session still didn't timeout is possible (in case of connection lost, for example).

diff -r 66043243c246 -r daf40a1e7607 runtime/WampClient.py
--- 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)