package netty3
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.
- Alphabetic
- By Inheritance
- netty3
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ChannelBufferBuf
extends Buf
A com.twitter.io.Buf wrapper for Netty ChannelBuffers.
A com.twitter.io.Buf wrapper for Netty ChannelBuffers.
- Note
Since
ChannelBuffer
s are mutable, modifying the wrapped buffer withinslice
s of aChannelBufferBuf
will modify the original wrappedChannelBuffer
. Similarly, modifications to the original buffer will be reflected in slices.
-
class
ChannelBufferSnooper
extends ChannelSnooper
Log message events
-
trait
ChannelSnooper
extends ChannelDownstreamHandler with ChannelUpstreamHandler
Log events on channels
-
class
Netty3Listener
[In, Out] extends Listener[In, Out]
A listener using Netty3 which is given a ChannelPipelineFactory that yields
-typed upstream messages and acceptsOut
-typed downstream messages.In
A listener using Netty3 which is given a ChannelPipelineFactory that yields
-typed upstream messages and acceptsOut
-typed downstream messages.In
- In
the type of input messages
- Out
the type of output messages
-
class
Netty3Transporter
[In, Out] extends (SocketAddress, StatsReceiver) ⇒ Future[Transport[In, Out]]
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.
- In
the type of requests. The given pipeline must consume
Req
-typed objects- Out
the type of replies. The given pipeline must produce objects of this type.
-
class
SimpleChannelSnooper
extends ChannelSnooper
Log raw channel events
Value Members
- val Executor: ExecutorService
- val WorkerPool: NioWorkerPool
- object BufChannelBuffer
-
object
BufChannelBufferFactory
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.
- object ChannelBufferBuf
- object ChannelSnooper
- object Netty3Listener
- object Netty3Transporter
- object numWorkers extends GlobalFlag[Int]