Esempio n. 1
0
 def __init__(self, info):
     """
     Initialize Engine.
     """
     Engine.__init__(self, info)
     self._fds_r = []
     self._fds_w = []
Esempio n. 2
0
 def __init__(self, info):
     """
     Initialize Engine.
     """
     Engine.__init__(self, info)
     self._fds_r = []
     self._fds_w = []
Esempio 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)
Esempio 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)