Esempio n. 1
0
 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)
Esempio n. 2
0
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()
Esempio n. 3
0
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()
Esempio n. 4
0
 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)
Esempio n. 5
0
 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)