def connection(self): """ The connection bound to this transport. :type: :class:`Connection` """ from . import _endpoints return _endpoints.Connection.wrap(pn_transport_connection(self._impl))
def connection(self): from . import _endpoints return _endpoints.Connection.wrap(pn_transport_connection(self._impl))
def connection(self) -> 'Connection': """The connection bound to this transport.""" from . import _endpoints return _endpoints.Connection.wrap(pn_transport_connection(self._impl))