A com.twitter.io.Buf wrapper for Netty ChannelBuffers.
A com.twitter.io.Buf wrapper for Netty ChannelBuffers.
Since ChannelBuffer
s are mutable, modifying the wrapped buffer
within slice
s of a ChannelBufferBuf
will modify the original wrapped
ChannelBuffer
. Similarly, modifications to the original buffer will be
reflected in slices.
Log message events
Log events on channels
A listener using Netty3 which is given a ChannelPipelineFactory
that yields
-typed upstream messages and accepts
Out
-typed downstream messages.In
A listener using Netty3 which is given a ChannelPipelineFactory
that yields
-typed upstream messages and accepts
Out
-typed downstream messages.
In
the type of input messages
the type of output messages
The pipeline factory for encoding input messages and decoding output messages.
Use the given ChannelSnooper
to log low
level channel activity.
A netty3 ChannelFactory
used to bootstrap
the server's listening channel.
Additional options for Netty's
ServerBootstrap
Channels are given this much time to read a request.
Channels are given this much time to complete a write.
When present, SSL is used to provide session security.
Currently unused. Maintained for API compatibility.
Netty3 TLS configuration.
Netty3 TLS configuration.
Creates a new SSL engine
A transporter for netty3 which, given an endpoint name (socket address), provides a typed transport for communicating with this endpoint.
A transporter for netty3 which, given an endpoint name (socket address), provides a typed transport for communicating with this endpoint.
the type of requests. The given pipeline must consume
Req
-typed objects
the type of replies. The given pipeline must produce objects of this type.
the pipeline factory that implements the the Codec: it must input (downstream) In objects, and output (upstream) Out objects.
A function used to create a new netty3 channel, given a pipeline.
Create a new transport, given a channel.
If defined, use SSL with the given configuration
The amount of time for which a channel may be read-idle.
The amount of time for which a channel may be write-idle.
If defined, install the given snooper on each channel. Used for debugging.
These netty channel options are applied to the channel prior to establishing a new connection.
Netty3 TLS configuration.
Netty3 TLS configuration.
Creates a new SSL Engine
If specified, checks the session hostname against the given value.
Log raw channel events
Class BufChannelBufferFactory is a Netty ChannelBufferFactory that creates read-only ChannelBuffers based on Bufs.
Class BufChannelBufferFactory is a Netty ChannelBufferFactory that creates read-only ChannelBuffers based on Bufs. They are a thin API wrapper on top of Buf; no additional allocations are performed.
Package netty3 implements the bottom finagle primitives: {{com.twitter.finagle.Server}} and a client transport in terms of the netty3 event loop.
Note: when {{com.twitter.finagle.builder.ClientBuilder}} and {{com.twitter.finagle.builder.ServerBuilder}} are deprecated, package netty3 can move into its own package, so that only the (new-style) clients and servers that depend on netty3 bring it in.