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
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.
Flag for defining the number of worker threads used by the Finagle Netty 3 backend
Flag for defining the number of worker threads used by the Finagle Netty 3 backend
For the default value, we set a floor of 8 workers so in the case of constrained environments we don't end up with detrimentally small worker pool sizes.
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.