Exemplo n.º 1
0
 def __init__(self, info):
     """
     Initialize Engine.
     """
     Engine.__init__(self, info)
     self._fds_r = []
     self._fds_w = []
Exemplo n.º 2
0
 def __init__(self, info):
     """
     Initialize Engine.
     """
     Engine.__init__(self, info)
     self._fds_r = []
     self._fds_w = []
Exemplo n.º 3
0
 def __init__(self, info):
     """
     Initialize Engine.
     """
     Engine.__init__(self, info)
     try:
         # get an epoll object
         self.epolling = select.epoll()
     except AttributeError:
         raise EngineNotSupportedError(EngineEPoll.identifier)
Exemplo n.º 4
0
 def __init__(self, info):
     """
     Initialize Engine.
     """
     Engine.__init__(self, info)
     try:
         # get an epoll object
         self.epolling = select.epoll()
     except AttributeError:
         raise EngineNotSupportedError(EngineEPoll.identifier)