Пример #1
0
 def ChunkServerInfo(self, arg):
     logging.debug(type(arg))
     guid = self.service.peerGuid()
     key = Guid.toTuple(guid)
     self.registry[key] = arg
Пример #2
0
 def ChunkServerInfo(self, arg):
     logging.debug(type(arg))
     guid = self.service.peerGuid()
     key = Guid.toTuple(guid)
     self.registry[key] = arg
Пример #3
0
 def _onConnectionClose_(self):
     guid = self.service.peerGuid()
     key = Guid.toTuple(guid)
     if key in self.registry:
         del self.registry[key]
Пример #4
0
 def _onConnectionClose_(self):
     guid = self.service.peerGuid()
     key = Guid.toTuple(guid)
     if key in self.registry:
         del self.registry[key]