class WebSocketChaussette( GEventServer ): handler_class = WebSocketWSGIHandler def __init__(self,*args,**kwargs): self.server = GEventServer.__init__(self, *args, **kwargs) self.pool = GEventWebSocketPool() def close(self): self.pool.close()
class WebSocketChaussette(GEventServer): handler_class = WebSocketWSGIHandler def __init__(self, *args, **kwargs): self.server = GEventServer.__init__(self, *args, **kwargs) self.pool = GEventWebSocketPool() def close(self): self.pool.close()
class ws4pyServer(GeventServer): handler_class = WebSocketWSGIHandler def __init__(self, *args, **kwargs): GeventServer.__init__(self, *args, **kwargs) self.pool = GEventWebSocketPool() def stop(self, *args, **kwargs): self.pool.clear() self.pool = None GeventServer.stop(self, *args, **kwargs)
class Server(GeventServer): handler_class = WebSocketWSGIHandler def __init__(self, *args, **kwargs): GeventServer.__init__(self, *args, **kwargs) self.pool = GEventWebSocketPool() def stop(self, *args, **kwargs): self.pool.clear() self.pool = None GeventServer.stop(self, *args, **kwargs)
def __init__(self, *args, **kwargs): GeventServer.__init__(self, *args, **kwargs) self.pool = GEventWebSocketPool()