Uses of Interface
org.apache.qpid.protonj2.client.transport.Transport
Packages that use Transport
Package
Description
-
Uses of Transport in org.apache.qpid.protonj2.client.transport
Methods in org.apache.qpid.protonj2.client.transport that return TransportModifier and TypeMethodDescriptionTransport.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.flush()
Request a flush of all pending writes to the underlying connection.IOContext.newTransport()
Transport.write
(ProtonBuffer output) Writes a chunk of data over the Transport connection without performing an explicit flush on the 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.writeAndFlush
(ProtonBuffer output) Writes a chunk of data over the Transport connection and requests a flush of all pending queued write operationsTransport.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 TransportModifier and TypeMethodDescriptionvoid
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. -
Uses of Transport in org.apache.qpid.protonj2.client.transport.netty4
Classes in org.apache.qpid.protonj2.client.transport.netty4 that implement TransportModifier and TypeClassDescriptionclass
TCP based transport that uses Netty as the underlying IO layer.class
Netty based WebSockets Transport that wraps and extends the TCP Transport. -
Uses of Transport in org.apache.qpid.protonj2.client.transport.netty5
Classes in org.apache.qpid.protonj2.client.transport.netty5 that implement TransportModifier and TypeClassDescriptionclass
TCP based transport that uses Netty as the underlying IO layer.class
Netty based WebSockets Transport that wraps and extends the TCP Transport.