コード例 #1
0
    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)
コード例 #2
0
    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)
コード例 #3
0
    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))
コード例 #4
0
ファイル: _transport.py プロジェクト: apache/qpid-proton
 def bind_nothrow(self, connection):
     """Assign a connection to the transport"""
     pn_transport_bind(self._impl, connection._impl)
コード例 #5
0
ファイル: _transport.py プロジェクト: apache/qpid-proton
 def bind(self, connection):
     """Assign a connection to the transport"""
     self._check(pn_transport_bind(self._impl, connection._impl))
コード例 #6
0
ファイル: _transport.py プロジェクト: archerabi/qpid-proton
 def bind_nothrow(self, connection):
     """Assign a connection to the transport"""
     pn_transport_bind(self._impl, connection._impl)
コード例 #7
0
ファイル: _transport.py プロジェクト: archerabi/qpid-proton
 def bind(self, connection):
     """Assign a connection to the transport"""
     self._check(pn_transport_bind(self._impl, connection._impl))