Uses of Interface
org.apache.qpid.protonj2.client.transport.Transport
-
Packages that use Transport Package Description org.apache.qpid.protonj2.client.transport -
-
Uses of Transport in org.apache.qpid.protonj2.client.transport
Classes in org.apache.qpid.protonj2.client.transport that implement Transport Modifier and Type Class Description class
TcpTransport
TCP based transport that uses Netty as the underlying IO layer.class
WebSocketTransport
Netty based WebSockets Transport that wraps and extends the TCP Transport.Methods in org.apache.qpid.protonj2.client.transport that return Transport Modifier and Type Method Description Transport
Transport. connect(String host, int port, TransportListener listener)
Performs the connect operation for the implemented Transport type such as a TCP socket connection, SSL/TLS handshake etc.Transport
Transport. flush()
Request a flush of all pending writes to the underlying connection.Transport
Transport. write(ProtonBuffer output)
Writes a chunk of data over the Transport connection without performing an explicit flush on the transport.Transport
Transport. write(ProtonBuffer output, Runnable ioComplete)
Writes a chunk of data over the Transport connection without performing an explicit flush on the transport.Transport
Transport. writeAndFlush(ProtonBuffer output)
Writes a chunk of data over the Transport connection and requests a flush of all pending queued write operationsTransport
Transport. writeAndFlush(ProtonBuffer output, Runnable ioComplete)
Writes a chunk of data over the Transport connection and requests a flush of all pending queued write operationsMethods in org.apache.qpid.protonj2.client.transport with parameters of type Transport Modifier and Type Method Description void
TransportListener. transportConnected(Transport transport)
Called after the transport has successfully connected to the remote and performed any required handshakes such as SSL or Web Sockets handshaking and the connection is now considered open.void
TransportListener. transportInitialized(Transport transport)
Called immediately before the transport attempts to connect to the remote peer but following allTransport
initialization.
-