def _stop(self, *args, **kwargs): res = yield ConnectionBase._stop(self, *args, **kwargs) raise gen.Return(res)
def server(self, *args, **kwargs): res = yield ConnectionBase.server(self, *args, **kwargs) raise gen.Return(res)
def _continue(self, *args, **kwargs): res = yield ConnectionBase._continue(self, *args, **kwargs) raise gen.Return(res)
def close(self, *args, **kwargs): if self._instance is None: res = None else: res = yield ConnectionBase.close(self, *args, **kwargs) raise gen.Return(res)
def noreply_wait(self, *args, **kwargs): res = yield ConnectionBase.noreply_wait(self, *args, **kwargs) raise gen.Return(res)
def __init__(self, *args, **kwargs): ConnectionBase.__init__(self, ConnectionInstance, *args, **kwargs)
def reconnect(self, noreply_wait=True, timeout=None): # We close before reconnect so reconnect doesn't try to close us # and then fail to return the Future (this is a little awkward). yield self.close(noreply_wait) res = yield ConnectionBase.reconnect(self, noreply_wait, timeout) raise gen.Return(res)
def close(self, noreply_wait=True): if self._instance is None: return None return (yield from ConnectionBase.close(self, noreply_wait=noreply_wait))
def close(self, *args, **kwargs): if self._instance is None: return None return (yield from ConnectionBase.close(self, *args, **kwargs))
def _stop(self, cursor): res = yield ConnectionBase._stop(self, cursor) raise gen.Return(res)
def _continue(self, cursor): res = yield ConnectionBase._continue(self, cursor) raise gen.Return(res)
def _start(self, term, **global_optargs): res = yield ConnectionBase._start(self, term, **global_optargs) raise gen.Return(res)
def server(self): res = yield ConnectionBase.server(self) raise gen.Return(res)
def noreply_wait(self): res = yield ConnectionBase.noreply_wait(self) raise gen.Return(res)