$param the buffer sizes of a Transport
.
$param the buffer sizes of a Transport
.
An option indicating the size of the send buffer. If None, the implementation default is used.
An option indicating the size of the receive buffer. If None, the implementation default is used.
$param the SSL/TLS client configuration for a Transport
.
$param the liveness of a Transport
.
$param the liveness of a Transport
. These properties dictate the
lifecycle of a Transport
and ensure that it remains relevant.
A maximum duration a listener is allowed to read a request.
A maximum duration a listener is allowed to write a response.
An option indicating if the keepAlive is on or off. If None, the implementation default is used.
$param the options (i.e., socket options) of a Transport
.
$param the options (i.e., socket options) of a Transport
.
enables or disables TCP_NODELAY
(Nagle's algorithm)
option on a transport socket (noDelay = true
means
disabled). Default is true
(disabled).
enables or disables SO_REUSEADDR
option on a
transport socket. Default is true
.
enables or disables SO_REUSEPORT
option on a
transport socket (Linux 3.9+ only). This option is only
available when using finagle-netty4 and native epoll support
is enabled. Default is false
.
$param the SSL/TLS server configuration for a Transport
.
$param the verbosity of a Transport
.
$param the verbosity of a Transport
. Transport activity is
written to com.twitter.finagle.param.Logger.
Casts an object transport to Transport[In1, Out1]
.
Casts an object transport to Transport[In1, Out1]
. Note that this is
generally unsafe: only do this when you know the cast is guaranteed safe.
This is useful when coercing a netty object pipeline into a typed transport,
for example.
Transport.cast(trans) for Scala users.
Casts an object transport to Transport[In1, Out1]
.
Casts an object transport to Transport[In1, Out1]
. Note that this is
generally unsafe: only do this when you know the cast is guaranteed safe.
This is useful when coercing a netty object pipeline into a typed transport,
for example.
transport) for Java users.
Retrieve the transport's SSLSession (if any) from com.twitter.finagle.context.Contexts.local
A collection of com.twitter.finagle.Stack.Param's useful for configuring a com.twitter.finagle.transport.Transport.