Exemplo n.º 1
0
 def connection(self, handler=None):
     """Deprecated: use connection_to_host() instead
     """
     impl = _chandler(handler, self.on_error_delegate())
     result = Connection.wrap(pn_reactor_connection(self._impl, impl))
     if impl: pn_decref(impl)
     return result
Exemplo n.º 2
0
 def connection(self, handler=None):
     """Deprecated: use connection_to_host() instead
     """
     impl = _chandler(handler, self.on_error)
     result = Connection.wrap(pn_reactor_connection(self._impl, impl))
     if impl: pn_decref(impl)
     return result
Exemplo n.º 3
0
 def connection(self, handler=None):
     impl = _chandler(handler, self.on_error)
     result = Connection.wrap(pn_reactor_connection(self._impl, impl))
     pn_decref(impl)
     return result