Package | Description |
---|---|
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.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.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
Modifier and Type | Class and Description |
---|---|
class |
DownstreamMessageEvent
The default downstream
MessageEvent implementation. |
class |
UpstreamMessageEvent
The default upstream
MessageEvent implementation. |
Modifier and Type | Method and Description |
---|---|
static MessageEvent |
Channels.messageEvent(Channel channel,
ChannelFuture future,
Object message)
Deprecated.
Instantiate
UpstreamMessageEvent or DownstreamMessageEvent directly instead.
Creates a new MessageEvent |
static MessageEvent |
Channels.messageEvent(Channel channel,
ChannelFuture future,
Object message,
SocketAddress remoteAddress)
Deprecated.
Instantiate
UpstreamMessageEvent or DownstreamMessageEvent directly instead.
Creates a new MessageEvent |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
void |
FrameDecoder.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
Modifier and Type | Method and Description |
---|---|
void |
HttpChunkAggregator.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
Modifier and Type | Method and Description |
---|---|
void |
ReplayingDecoder.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
Modifier and Type | Method and Description |
---|---|
protected long |
WriteTimeoutHandler.getTimeoutMillis(MessageEvent e) |
void |
IdleStateHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
ReadTimeoutHandler.messageReceived(ChannelHandlerContext ctx,
MessageEvent e) |
void |
WriteTimeoutHandler.writeRequested(ChannelHandlerContext ctx,
MessageEvent e) |
Copyright © 2008–2013 JBoss, by Red Hat. All rights reserved.