def __init__(self): self.boxid = uuid.uuid4() self.txRequest = None self.txQueue = [] self.features = features.getInstance() self.lock = threading.Lock() log.msg("Client Connected: %s" % self.boxid)
def getSecurityMap(context): ''' Return a map from feature to security. The keyset is all available features on the server. When the value is not null it contains the security method used for this feature. See w2b.security.<securityname> for more information ''' return features.getInstance().getSecurityMap()
def __init__(self,parent): self._parent = parent self.boxid = uuid.uuid4() self.txRequest = None self.txQueue = [] self.features = features.getInstance() self.lock = threading.Lock() self._deathwish = None self.dead = False self.startdeathwish() log.msg("Client Connected: %s" % self.boxid)
def __init__(self, parent): self._parent = parent self.boxid = uuid.uuid4() self.txRequest = None self.txQueue = [] self.features = features.getInstance() self.lock = threading.Lock() self._deathwish = None self.dead = False self.startdeathwish() log.msg("Client Connected: %s" % self.boxid)