def ChunkServerInfo(self, arg): logging.debug(type(arg)) guid = self.service.peerGuid() key = Guid.toTuple(guid) self.registry[key] = arg
def _onConnectionClose_(self): guid = self.service.peerGuid() key = Guid.toTuple(guid) if key in self.registry: del self.registry[key]