Exemplo n.º 1
0
 def _stop(self, *args, **kwargs):
     res = yield ConnectionBase._stop(self, *args, **kwargs)
     raise gen.Return(res)
Exemplo n.º 2
0
 def server(self, *args, **kwargs):
     res = yield ConnectionBase.server(self, *args, **kwargs)
     raise gen.Return(res)
Exemplo n.º 3
0
 def _continue(self, *args, **kwargs):
     res = yield ConnectionBase._continue(self, *args, **kwargs)
     raise gen.Return(res)
Exemplo n.º 4
0
 def close(self, *args, **kwargs):
     if self._instance is None:
         res = None
     else:
         res = yield ConnectionBase.close(self, *args, **kwargs)
     raise gen.Return(res)
Exemplo n.º 5
0
 def noreply_wait(self, *args, **kwargs):
     res = yield ConnectionBase.noreply_wait(self, *args, **kwargs)
     raise gen.Return(res)
Exemplo n.º 6
0
 def __init__(self, *args, **kwargs):
     ConnectionBase.__init__(self, ConnectionInstance, *args, **kwargs)
Exemplo n.º 7
0
 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)
Exemplo n.º 8
0
 def close(self, noreply_wait=True):
     if self._instance is None:
         return None
     return (yield from ConnectionBase.close(self,
                                             noreply_wait=noreply_wait))
Exemplo n.º 9
0
 def close(self, *args, **kwargs):
     if self._instance is None:
         return None
     return (yield from ConnectionBase.close(self, *args, **kwargs))
Exemplo n.º 10
0
 def _stop(self, cursor):
     res = yield ConnectionBase._stop(self, cursor)
     raise gen.Return(res)
Exemplo n.º 11
0
 def _continue(self, cursor):
     res = yield ConnectionBase._continue(self, cursor)
     raise gen.Return(res)
Exemplo n.º 12
0
 def _start(self, term, **global_optargs):
     res = yield ConnectionBase._start(self, term, **global_optargs)
     raise gen.Return(res)
Exemplo n.º 13
0
 def server(self):
     res = yield ConnectionBase.server(self)
     raise gen.Return(res)
Exemplo n.º 14
0
 def noreply_wait(self):
     res = yield ConnectionBase.noreply_wait(self)
     raise gen.Return(res)