Uses of Interface
org.jboss.netty.channel.MessageEvent
-
Packages that use MessageEvent 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.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.org.jboss.netty.channel.socket.http An HTTP-based client-sideSocketChannel
and its corresponding server-side Servlet implementation that make your existing server application work in a firewalled network.org.jboss.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).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 ofFrameDecoder
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 onSSLEngine
org.jboss.netty.handler.stream Writes very large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError
.org.jboss.netty.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer
.org.jboss.netty.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics.
-
-
Uses of MessageEvent in org.jboss.netty.channel
Classes in org.jboss.netty.channel that implement MessageEvent Modifier and Type Class Description class
DownstreamMessageEvent
The default downstreamMessageEvent
implementation.class
UpstreamMessageEvent
The default upstreamMessageEvent
implementation.Methods in org.jboss.netty.channel with parameters of type MessageEvent Modifier and Type Method Description void
SimpleChannelHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
Invoked when a message object (e.g:ChannelBuffer
) was received from a remote peer.void
SimpleChannelUpstreamHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
Invoked when a message object (e.g:ChannelBuffer
) was received from a remote peer.void
SimpleChannelDownstreamHandler. writeRequested(ChannelHandlerContext ctx, MessageEvent e)
Invoked whenChannel.write(Object)
is called.void
SimpleChannelHandler. writeRequested(ChannelHandlerContext ctx, MessageEvent e)
Invoked whenChannel.write(Object)
is called. -
Uses of MessageEvent in org.jboss.netty.channel.local
Fields in org.jboss.netty.channel.local with type parameters of type MessageEvent Modifier and Type Field Description (package private) java.util.Queue<MessageEvent>
DefaultLocalChannel. writeBuffer
-
Uses of MessageEvent in org.jboss.netty.channel.socket.http
Methods in org.jboss.netty.channel.socket.http with parameters of type MessageEvent Modifier and Type Method Description void
HttpTunnelingClientSocketChannel.ServletChannelHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
HttpTunnelingServlet.OutboundConnectionHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.channel.socket.nio
Fields in org.jboss.netty.channel.socket.nio declared as MessageEvent Modifier and Type Field Description (package private) MessageEvent
AbstractNioChannel. currentWriteEvent
The current writeMessageEvent
Fields in org.jboss.netty.channel.socket.nio with type parameters of type MessageEvent Modifier and Type Field Description private java.util.Queue<MessageEvent>
AbstractNioChannel.WriteRequestQueue. queue
Methods in org.jboss.netty.channel.socket.nio that return MessageEvent Modifier and Type Method Description MessageEvent
AbstractNioChannel.WriteRequestQueue. poll()
Methods in org.jboss.netty.channel.socket.nio with parameters of type MessageEvent Modifier and Type Method Description private int
AbstractNioChannel.WriteRequestQueue. getMessageSize(MessageEvent e)
boolean
AbstractNioChannel.WriteRequestQueue. offer(MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.discard
Methods in org.jboss.netty.example.discard with parameters of type MessageEvent Modifier and Type Method Description void
DiscardClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
DiscardServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.echo
Methods in org.jboss.netty.example.echo with parameters of type MessageEvent Modifier and Type Method Description void
EchoClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
EchoServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.factorial
Methods in org.jboss.netty.example.factorial with parameters of type MessageEvent Modifier and Type Method Description void
FactorialClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
FactorialServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.http.file
Methods in org.jboss.netty.example.http.file with parameters of type MessageEvent Modifier and Type Method Description void
HttpStaticFileServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.http.helloworld
Methods in org.jboss.netty.example.http.helloworld with parameters of type MessageEvent Modifier and Type Method Description void
HttpHelloWorldServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.http.snoop
Methods in org.jboss.netty.example.http.snoop with parameters of type MessageEvent Modifier and Type Method Description void
HttpSnoopClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
HttpSnoopServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
private static void
HttpSnoopServerHandler. send100Continue(MessageEvent e)
private void
HttpSnoopServerHandler. writeResponse(MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.http.upload
Methods in org.jboss.netty.example.http.upload with parameters of type MessageEvent Modifier and Type Method Description void
HttpUploadClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
HttpUploadServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
private void
HttpUploadServerHandler. writeMenu(MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.http.websocketx.autobahn
Methods in org.jboss.netty.example.http.websocketx.autobahn with parameters of type MessageEvent Modifier and Type Method Description void
AutobahnServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.http.websocketx.client
Methods in org.jboss.netty.example.http.websocketx.client with parameters of type MessageEvent Modifier and Type Method Description void
WebSocketClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.http.websocketx.server
Methods in org.jboss.netty.example.http.websocketx.server with parameters of type MessageEvent Modifier and Type Method Description void
WebSocketServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.localtime
Methods in org.jboss.netty.example.localtime with parameters of type MessageEvent Modifier and Type Method Description void
LocalTimeClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
LocalTimeServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.objectecho
Methods in org.jboss.netty.example.objectecho with parameters of type MessageEvent Modifier and Type Method Description void
ObjectEchoClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
ObjectEchoServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.proxy
Methods in org.jboss.netty.example.proxy with parameters of type MessageEvent Modifier and Type Method Description void
HexDumpProxyInboundHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
HexDumpProxyInboundHandler.OutboundHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.qotm
Methods in org.jboss.netty.example.qotm with parameters of type MessageEvent Modifier and Type Method Description void
QuoteOfTheMomentClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
QuoteOfTheMomentServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.securechat
Methods in org.jboss.netty.example.securechat with parameters of type MessageEvent Modifier and Type Method Description void
SecureChatClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
SecureChatServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.example.telnet
Methods in org.jboss.netty.example.telnet with parameters of type MessageEvent Modifier and Type Method Description void
TelnetClientHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
TelnetServerHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.codec.frame
Methods in org.jboss.netty.handler.codec.frame with parameters of type MessageEvent Modifier and Type Method Description void
FrameDecoder. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.codec.http
Methods in org.jboss.netty.handler.codec.http with parameters of type MessageEvent Modifier and Type Method Description void
HttpChunkAggregator. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
HttpContentDecoder. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
HttpContentEncoder. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
HttpContentEncoder. writeRequested(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.codec.http.websocketx
Methods in org.jboss.netty.handler.codec.http.websocketx with parameters of type MessageEvent Modifier and Type Method Description void
WebSocketServerProtocolHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
WebSocketServerProtocolHandshakeHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.codec.oneone
Methods in org.jboss.netty.handler.codec.oneone with parameters of type MessageEvent Modifier and Type Method Description protected boolean
OneToOneEncoder. doEncode(ChannelHandlerContext ctx, MessageEvent e)
protected boolean
OneToOneStrictEncoder. doEncode(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.codec.replay
Methods in org.jboss.netty.handler.codec.replay with parameters of type MessageEvent Modifier and Type Method Description void
ReplayingDecoder. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.codec.spdy
Fields in org.jboss.netty.handler.codec.spdy declared as MessageEvent Modifier and Type Field Description private MessageEvent
SpdyHttpEncoder.SpdyFrameWriter. e
Fields in org.jboss.netty.handler.codec.spdy with type parameters of type MessageEvent Modifier and Type Field Description private java.util.concurrent.ConcurrentLinkedQueue<MessageEvent>
SpdySession.StreamState. pendingWriteQueue
Methods in org.jboss.netty.handler.codec.spdy that return MessageEvent Modifier and Type Method Description (package private) MessageEvent
SpdySession. getPendingWrite(int streamId)
(package private) MessageEvent
SpdySession.StreamState. getPendingWrite()
(package private) MessageEvent
SpdySession. removePendingWrite(int streamId)
(package private) MessageEvent
SpdySession.StreamState. removePendingWrite()
Methods in org.jboss.netty.handler.codec.spdy with parameters of type MessageEvent Modifier and Type Method Description private ChannelFuture
SpdyHttpEncoder. getMessageFuture(ChannelHandlerContext ctx, MessageEvent e, int streamId, HttpMessage httpMessage)
void
SpdyHttpResponseStreamIdHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
SpdySessionHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
(package private) boolean
SpdySession. putPendingWrite(int streamId, MessageEvent evt)
(package private) boolean
SpdySession.StreamState. putPendingWrite(MessageEvent evt)
void
SpdyHttpResponseStreamIdHandler. writeRequested(ChannelHandlerContext ctx, MessageEvent e)
Constructors in org.jboss.netty.handler.codec.spdy with parameters of type MessageEvent Constructor Description SpdyFrameWriter(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.queue
Fields in org.jboss.netty.handler.queue with type parameters of type MessageEvent Modifier and Type Field Description private java.util.Queue<MessageEvent>
BufferedWriteHandler. queue
Methods in org.jboss.netty.handler.queue that return types with arguments of type MessageEvent Modifier and Type Method Description private java.util.List<MessageEvent>
BufferedWriteHandler. consolidatedWrite(java.util.List<MessageEvent> pendingWrites)
protected java.util.Queue<MessageEvent>
BufferedWriteHandler. getQueue()
Returns the queue which stores the write requests.Methods in org.jboss.netty.handler.queue with parameters of type MessageEvent Modifier and Type Method Description private E
BlockingReadHandler. getMessage(MessageEvent e)
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 onBufferedWriteHandler.flush()
.Method parameters in org.jboss.netty.handler.queue with type arguments of type MessageEvent Modifier and Type Method Description private java.util.List<MessageEvent>
BufferedWriteHandler. consolidatedWrite(java.util.List<MessageEvent> pendingWrites)
Constructor parameters in org.jboss.netty.handler.queue with type arguments of type MessageEvent Constructor Description BufferedWriteHandler(java.util.Queue<MessageEvent> queue)
Creates a new instance with the specified thread-safe unboundedQueue
and without buffer consolidation.BufferedWriteHandler(java.util.Queue<MessageEvent> queue, boolean consolidateOnFlush)
Creates a new instance with the specified thread-safe unboundedQueue
. -
Uses of MessageEvent in org.jboss.netty.handler.ssl
Fields in org.jboss.netty.handler.ssl with type parameters of type MessageEvent Modifier and Type Field Description private java.util.Queue<MessageEvent>
SslHandler. pendingEncryptedWrites
Methods in org.jboss.netty.handler.ssl with parameters of type MessageEvent Modifier and Type Method Description private void
SslHandler. offerEncryptedWriteRequest(MessageEvent encryptedWrite)
-
Uses of MessageEvent in org.jboss.netty.handler.stream
Fields in org.jboss.netty.handler.stream declared as MessageEvent Modifier and Type Field Description private MessageEvent
ChunkedWriteHandler. currentEvent
Fields in org.jboss.netty.handler.stream with type parameters of type MessageEvent Modifier and Type Field Description private java.util.Queue<MessageEvent>
ChunkedWriteHandler. queue
-
Uses of MessageEvent in org.jboss.netty.handler.timeout
Methods in org.jboss.netty.handler.timeout with parameters of type MessageEvent Modifier and Type Method Description protected long
WriteTimeoutHandler. getTimeoutMillis(MessageEvent e)
Returns the write timeout of the specified event.void
IdleStateHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
ReadTimeoutHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent e)
void
WriteTimeoutHandler. writeRequested(ChannelHandlerContext ctx, MessageEvent e)
-
Uses of MessageEvent in org.jboss.netty.handler.traffic
Fields in org.jboss.netty.handler.traffic declared as MessageEvent Modifier and Type Field Description (package private) MessageEvent
ChannelTrafficShapingHandler.ToSend. toSend
(package private) MessageEvent
GlobalChannelTrafficShapingHandler.ToSend. toSend
(package private) MessageEvent
GlobalTrafficShapingHandler.ToSend. toSend
Methods in org.jboss.netty.handler.traffic with parameters of type MessageEvent Modifier and Type Method Description protected void
AbstractTrafficShapingHandler. internalSubmitWrite(ChannelHandlerContext ctx, MessageEvent evt)
Deprecated.void
AbstractTrafficShapingHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent evt)
void
GlobalChannelTrafficShapingHandler. messageReceived(ChannelHandlerContext ctx, MessageEvent evt)
protected void
AbstractTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long delay)
Deprecated.(package private) abstract void
AbstractTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long delay, long now)
(package private) void
ChannelTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long delay, long now)
protected void
GlobalChannelTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long writedelay, long now)
(package private) void
GlobalTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long writedelay, long now)
void
AbstractTrafficShapingHandler. writeRequested(ChannelHandlerContext ctx, MessageEvent evt)
void
GlobalChannelTrafficShapingHandler. writeRequested(ChannelHandlerContext ctx, MessageEvent evt)
Constructors in org.jboss.netty.handler.traffic with parameters of type MessageEvent Constructor Description ToSend(long delay, MessageEvent toSend)
ToSend(long delay, MessageEvent toSend, long size)
ToSend(long delay, MessageEvent toSend, long size)
-