程序包 | 说明 |
---|---|
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.file | |
org.jboss.netty.example.http.helloworld | |
org.jboss.netty.example.http.snoop | |
org.jboss.netty.example.http.upload | |
org.jboss.netty.example.http.websocketx.autobahn |
This package is intended for use with testing against the Python
AutoBahn test suite.
|
org.jboss.netty.example.http.websocketx.client |
This is an example web service client.
|
org.jboss.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
org.jboss.netty.example.localtime | |
org.jboss.netty.example.objectecho | |
org.jboss.netty.example.proxy | |
org.jboss.netty.example.qotm | |
org.jboss.netty.example.securechat | |
org.jboss.netty.example.telnet | |
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.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
org.jboss.netty.handler.codec.oneone |
Simplistic abstract classes which help implement encoder and decoder that
transform an object into another object and vice versa.
|
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.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 |
DownstreamMessageEvent
The default downstream
MessageEvent implementation. |
class |
UpstreamMessageEvent
The default upstream
MessageEvent implementation. |
限定符和类型 | 方法和说明 |
---|---|
void |
SimpleChannelUpstreamHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when a message object (e.g:
ChannelBuffer ) was received
from a remote peer. |
void |
SimpleChannelHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when a message object (e.g:
ChannelBuffer ) was received
from a remote peer. |
void |
SimpleChannelHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when
Channel.write(Object) is called. |
void |
SimpleChannelDownstreamHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when
Channel.write(Object) is called. |
限定符和类型 | 方法和说明 |
---|---|
void |
DiscardServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
DiscardClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
EchoServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
EchoClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
FactorialServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
FactorialClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpStaticFileServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpHelloWorldServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpSnoopServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
HttpSnoopClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpUploadServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
HttpUploadClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
AutobahnServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
WebSocketClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
WebSocketServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
LocalTimeServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
LocalTimeClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
ObjectEchoServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
ObjectEchoClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HexDumpProxyInboundHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
QuoteOfTheMomentServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
QuoteOfTheMomentClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
SecureChatServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
SecureChatClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
TelnetServerHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
TelnetClientHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
FrameDecoder.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
HttpContentEncoder.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
HttpContentDecoder.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
HttpChunkAggregator.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
HttpContentEncoder.writeRequested(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
WebSocketServerProtocolHandshakeHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
WebSocketServerProtocolHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
OneToOneStrictEncoder.doEncode(ChannelHandlerContext ctx,
MessageEvent e) |
protected boolean |
OneToOneEncoder.doEncode(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
ReplayingDecoder.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
void |
SpdySessionHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
SpdyHttpResponseStreamIdHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
SpdyHttpResponseStreamIdHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
protected java.util.Queue<MessageEvent> |
BufferedWriteHandler.getQueue()
Returns the queue which stores the write requests.
|
限定符和类型 | 方法和说明 |
---|---|
void |
BlockingReadHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
BufferedWriteHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent e)
Stores all write requests to the queue so that they are actually written
on
BufferedWriteHandler.flush() . |
构造器和说明 |
---|
BufferedWriteHandler(java.util.Queue<MessageEvent> queue)
Creates a new instance with the specified thread-safe unbounded
Queue and without buffer consolidation. |
BufferedWriteHandler(java.util.Queue<MessageEvent> queue,
boolean consolidateOnFlush)
Creates a new instance with the specified thread-safe unbounded
Queue . |
限定符和类型 | 方法和说明 |
---|---|
protected long |
WriteTimeoutHandler.getTimeoutMillis(MessageEvent e)
Returns the write timeout of the specified event.
|
void |
ReadTimeoutHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
IdleStateHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
WriteTimeoutHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent e) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
AbstractTrafficShapingHandler.internalSubmitWrite(ChannelHandlerContext ctx,
MessageEvent evt)
已过时。
|
void |
GlobalChannelTrafficShapingHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent evt) |
void |
AbstractTrafficShapingHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent evt) |
protected void |
AbstractTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx,
MessageEvent evt,
long delay)
已过时。
|
protected void |
GlobalChannelTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx,
MessageEvent evt,
long size,
long writedelay,
long now) |
void |
GlobalChannelTrafficShapingHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent evt) |
void |
AbstractTrafficShapingHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent evt) |