Esempio 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
Esempio 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
Esempio 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