示例#1
0
 def __init__(self, nexus=None):
     Transport.__init__(self, nexus)
     self._connections = {}
     self._t = Timer(SESSION_TIMEOUT, self._check_timeouts, recurring=True)
示例#2
0
 def __init__(self, nexus=None):
     Transport.__init__(self, nexus)
     self._connections = {}
     #self._t = Timer(5, self._check_timeouts, recurring=True)
     self._t = Timer(60 * 2, self._check_timeouts, recurring=True)
 def __init__ (self, nexus = None):
   Transport.__init__(self, nexus)
   self._connections = {}
   self._t = Timer(SESSION_TIMEOUT, self._check_timeouts, recurring=True)
示例#4
0
 def __init__ (self, nexus = None):
   Transport.__init__(self, nexus)
   self._connections = {}
   #self._t = Timer(5, self._check_timeouts, recurring=True)
   self._t = Timer(60*2, self._check_timeouts, recurring=True)