示例#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
文件: views.py 项目: tawanda/ajenti
 def __init__(self, context):
     SocketEndpoint.__init__(self, context)
     self.mgr = TerminalManager.get(self.context)
     self.readers = {}
示例#5
0
文件: push.py 项目: eGeekster/ajenti
 def __init__(self, context):
     SocketEndpoint.__init__(self, context)
示例#6
0
文件: push.py 项目: Dolphi2/ajenti
 def __init__(self, context):
     SocketEndpoint.__init__(self, context)