程序包 | 说明 |
---|---|
org.jboss.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
org.jboss.netty.example.discard | |
org.jboss.netty.example.echo | |
org.jboss.netty.example.factorial | |
org.jboss.netty.example.http.upload | |
org.jboss.netty.example.http.websocketx.client |
This is an example web service client.
|
org.jboss.netty.example.localtime | |
org.jboss.netty.example.objectecho | |
org.jboss.netty.example.proxy | |
org.jboss.netty.example.securechat | |
org.jboss.netty.example.telnet | |
org.jboss.netty.example.uptime | |
org.jboss.netty.handler.codec.frame |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
org.jboss.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
org.jboss.netty.handler.codec.replay |
Specialized variation of
FrameDecoder
which enables implementation of a non-blocking decoder in the blocking I/O
paradigm. |
org.jboss.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
org.jboss.netty.handler.queue |
The special-purpose handlers that store an event into an internal queue
instead of propagating the event immediately.
|
org.jboss.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
org.jboss.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
org.jboss.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
限定符和类型 | 类和说明 |
---|---|
class |
DownstreamChannelStateEvent
The default downstream
ChannelStateEvent implementation. |
class |
UpstreamChannelStateEvent
The default upstream
ChannelStateEvent implementation. |
限定符和类型 | 方法和说明 |
---|---|
void |
SimpleChannelHandler.bindRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.bind(SocketAddress) was called. |
void |
SimpleChannelDownstreamHandler.bindRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.bind(SocketAddress) was called. |
void |
SimpleChannelUpstreamHandler.channelBound(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open and bound to a local address,
but not connected. |
void |
SimpleChannelHandler.channelBound(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open and bound to a local address,
but not connected. |
void |
SimpleChannelUpstreamHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was closed and all its related resources
were released. |
void |
SimpleChannelHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was closed and all its related resources
were released. |
void |
SimpleChannelUpstreamHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open, bound to a local address, and
connected to a remote address. |
void |
SimpleChannelHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open, bound to a local address, and
connected to a remote address. |
void |
SimpleChannelUpstreamHandler.channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was disconnected from its remote peer. |
void |
SimpleChannelHandler.channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was disconnected from its remote peer. |
void |
SimpleChannelUpstreamHandler.channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel 's interestOps
was changed. |
void |
SimpleChannelHandler.channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel 's interestOps
was changed. |
void |
SimpleChannelUpstreamHandler.channelOpen(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open, but not bound nor connected. |
void |
SimpleChannelHandler.channelOpen(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open, but not bound nor connected. |
void |
SimpleChannelUpstreamHandler.channelUnbound(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was unbound from the current local address. |
void |
SimpleChannelHandler.channelUnbound(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was unbound from the current local address. |
void |
SimpleChannelHandler.closeRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.close() was called. |
void |
SimpleChannelDownstreamHandler.closeRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.close() was called. |
void |
SimpleChannelHandler.connectRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.connect(SocketAddress) was called. |
void |
SimpleChannelDownstreamHandler.connectRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.connect(SocketAddress) was called. |
void |
SimpleChannelHandler.disconnectRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.disconnect() was called. |
void |
SimpleChannelDownstreamHandler.disconnectRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.disconnect() was called. |
void |
SimpleChannelHandler.setInterestOpsRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.setInterestOps(int) was called. |
void |
SimpleChannelDownstreamHandler.setInterestOpsRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.setInterestOps(int) was called. |
void |
SimpleChannelHandler.unbindRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.unbind() was called. |
void |
SimpleChannelDownstreamHandler.unbindRequested(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when
Channel.unbind() was called. |
限定符和类型 | 方法和说明 |
---|---|
void |
DiscardClientHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
DiscardClientHandler.channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
EchoClientHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
FactorialClientHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
FactorialServerHandler.channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
FactorialClientHandler.channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpUploadServerHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
WebSocketClientHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
LocalTimeClientHandler.channelOpen(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
ObjectEchoClientHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HexDumpProxyInboundHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
HexDumpProxyInboundHandler.channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
HexDumpProxyInboundHandler.channelOpen(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
SecureChatServerHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
SecureChatServerHandler.channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
TelnetServerHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
UptimeClientHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
UptimeClientHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
UptimeClientHandler.channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
FrameDecoder.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
FrameDecoder.channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
protected void |
FrameDecoder.cleanup(ChannelHandlerContext ctx,
ChannelStateEvent e)
|
限定符和类型 | 方法和说明 |
---|---|
void |
HttpContentEncoder.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
HttpContentDecoder.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
ReplayingDecoder.cleanup(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
SpdyFrameCodec.cleanup(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
BufferedWriteHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
Fail all buffered writes that are left.
|
void |
BlockingReadHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
BufferedWriteHandler.closeRequested(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
BufferedWriteHandler.disconnectRequested(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
SslHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
Loop over all the pending writes and fail them.
|
void |
SslHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
Calls
SslHandler.handshake() once the Channel is connected |
void |
SslHandler.channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
ReadTimeoutHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
IdleStateHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
ReadTimeoutHandler.channelOpen(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
IdleStateHandler.channelOpen(ChannelHandlerContext ctx,
ChannelStateEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
GlobalTrafficShapingHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
GlobalChannelTrafficShapingHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
ChannelTrafficShapingHandler.channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
GlobalTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
GlobalChannelTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
ChannelTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |
void |
AbstractTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e) |