def bind_nothrow(self, connection: 'Connection') -> None: """ Assign a connection to the transport. Any failure is ignored rather than thrown. :param connection: Connection to which to bind. """ pn_transport_bind(self._impl, connection._impl)
def bind_nothrow(self, connection): """ Assign a connection to the transport. Any failure is ignored rather than thrown. :param connection: Connection to which to bind. :type connection: :class:`Connection` """ pn_transport_bind(self._impl, connection._impl)
def bind(self, connection: 'Connection') -> None: """ Assign a connection to the transport. :param connection: Connection to which to bind. :raise: :exc:`TransportException` if there is any Proton error. """ self._check(pn_transport_bind(self._impl, connection._impl))
def bind_nothrow(self, connection): """Assign a connection to the transport""" pn_transport_bind(self._impl, connection._impl)
def bind(self, connection): """Assign a connection to the transport""" self._check(pn_transport_bind(self._impl, connection._impl))