The control panel for the Transport.
The channel closed with the given exception.
The channel closed with the given exception. This is the same exception you would get if attempting to read or write on the Transport, but this allows clients to listen to close events.
Read a message from the transport.
The status of this transport; see com.twitter.finagle.Status for status definitions.
Write req
to this transport; the returned future
acknowledges write completion.
The locally bound address of this transport.
The locally bound address of this transport.
(Since version 2017-08-21) Please use Transport.context.localAddress instead
The remote address to which the transport is connected.
The remote address to which the transport is connected.
(Since version 2017-08-21) Please use Transport.context.remoteAddress instead
Maps this transport to Transport[In1, Out2]
.
Maps this transport to Transport[In1, Out2]
. Note, exceptions
in f
and g
are lifted to a com.twitter.util.Future.
The function applied to write
s input.
The function applied to the result of a read
A transport is a representation of a stream of objects that may be read from and written to asynchronously. Transports are connected to some endpoint, typically via a channel pipeline that performs encoding and decoding.