Uses of Interface
org.jboss.netty.channel.MessageEvent
Packages that use MessageEvent
Package
Description
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
A virtual transport that enables the communication between the two
parties in the same virtual machine.
An HTTP-based client-side
SocketChannel
and its corresponding server-side Servlet implementation that make your
existing server application work in a firewalled network.NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
This package is intended for use with testing against the Python
AutoBahn test suite.
This is an example web service client.
This package contains an example web socket web server.
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.
Encoder, decoder and their related message types for HTTP.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Simplistic abstract classes which help implement encoder and decoder that
transform an object into another object and vice versa.
Specialized variation of
FrameDecoder
which enables implementation of a non-blocking decoder in the blocking I/O
paradigm.Encoder, decoder, session handler and their related message types for the SPDY protocol.
The special-purpose handlers that store an event into an internal queue
instead of propagating the event immediately.
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError
.Adds support for read and write timeout and idle connection notification
using a
Timer
.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 MessageEventModifier and TypeClassDescriptionclass
The default downstreamMessageEvent
implementation.class
The default upstreamMessageEvent
implementation.Methods in org.jboss.netty.channel with parameters of type MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeFieldDescription(package private) final 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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeFieldDescription(package private) MessageEvent
AbstractNioChannel.currentWriteEvent
The current writeMessageEvent
Fields in org.jboss.netty.channel.socket.nio with type parameters of type MessageEventModifier and TypeFieldDescriptionprivate final Queue
<MessageEvent> AbstractNioChannel.WriteRequestQueue.queue
Methods in org.jboss.netty.channel.socket.nio that return MessageEventMethods in org.jboss.netty.channel.socket.nio with parameters of type MessageEventModifier and TypeMethodDescriptionprivate 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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventModifier and TypeMethodDescriptionprotected 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 MessageEventModifier and TypeMethodDescriptionvoid
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 MessageEventFields in org.jboss.netty.handler.codec.spdy with type parameters of type MessageEventModifier and TypeFieldDescriptionprivate final ConcurrentLinkedQueue
<MessageEvent> SpdySession.StreamState.pendingWriteQueue
Methods in org.jboss.netty.handler.codec.spdy that return MessageEventModifier and TypeMethodDescription(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 MessageEventModifier and TypeMethodDescriptionprivate 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 MessageEventModifierConstructorDescription(package private)
-
Uses of MessageEvent in org.jboss.netty.handler.queue
Fields in org.jboss.netty.handler.queue with type parameters of type MessageEventMethods in org.jboss.netty.handler.queue that return types with arguments of type MessageEventModifier and TypeMethodDescriptionprivate List
<MessageEvent> BufferedWriteHandler.consolidatedWrite
(List<MessageEvent> pendingWrites) protected Queue
<MessageEvent> BufferedWriteHandler.getQueue()
Returns the queue which stores the write requests.Methods in org.jboss.netty.handler.queue with parameters of type MessageEventModifier and TypeMethodDescriptionprivate 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 MessageEventModifier and TypeMethodDescriptionprivate List
<MessageEvent> BufferedWriteHandler.consolidatedWrite
(List<MessageEvent> pendingWrites) Constructor parameters in org.jboss.netty.handler.queue with type arguments of type MessageEventModifierConstructorDescriptionBufferedWriteHandler
(Queue<MessageEvent> queue) Creates a new instance with the specified thread-safe unboundedQueue
and without buffer consolidation.BufferedWriteHandler
(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 MessageEventModifier and TypeFieldDescriptionprivate final Queue
<MessageEvent> SslHandler.pendingEncryptedWrites
Methods in org.jboss.netty.handler.ssl with parameters of type MessageEventModifier and TypeMethodDescriptionprivate void
SslHandler.offerEncryptedWriteRequest
(MessageEvent encryptedWrite) -
Uses of MessageEvent in org.jboss.netty.handler.stream
Fields in org.jboss.netty.handler.stream declared as MessageEventFields in org.jboss.netty.handler.stream with type parameters of type MessageEvent -
Uses of MessageEvent in org.jboss.netty.handler.timeout
Methods in org.jboss.netty.handler.timeout with parameters of type MessageEventModifier and TypeMethodDescriptionprotected 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 MessageEventModifier and TypeFieldDescription(package private) final MessageEvent
ChannelTrafficShapingHandler.ToSend.toSend
(package private) final MessageEvent
GlobalChannelTrafficShapingHandler.ToSend.toSend
(package private) final MessageEvent
GlobalTrafficShapingHandler.ToSend.toSend
Methods in org.jboss.netty.handler.traffic with parameters of type MessageEventModifier and TypeMethodDescriptionprotected 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 MessageEventModifierConstructorDescriptionprivate
ToSend
(long delay, MessageEvent toSend) private
ToSend
(long delay, MessageEvent toSend, long size) private
ToSend
(long delay, MessageEvent toSend, long size)