Пример #1
0
 def __init__(self, context, _id):
     self.context = context
     self.id = _id
     logging.debug('Socket namespace %s created', self.id)
     self.endpoints = [
         cls(self.context) for cls in SocketEndpoint.classes()
     ]
Пример #2
0
 def __init__(self, context, _id):
     self.context = context
     self.id = _id
     logging.debug('Socket namespace %s created', self.id)
     self.endpoints = [
         cls(self.context)
         for cls in SocketEndpoint.classes()
     ]
Пример #3
0
 def __init__(self, context):
     SocketEndpoint.__init__(self, context)
     self.mgr = TerminalManager.get(self.context)
     self.readers = {}
Пример #4
0
 def __init__(self, context):
     SocketEndpoint.__init__(self, context)
     self.mgr = TerminalManager.get(self.context)
     self.readers = {}
Пример #5
0
 def __init__(self, context):
     SocketEndpoint.__init__(self, context)
Пример #6
0
 def __init__(self, context):
     SocketEndpoint.__init__(self, context)