## 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.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.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.

- - ### Uses of MessageEvent in org.jboss.netty.channel

    Classes in org.jboss.netty.channel that implement MessageEvent
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DownstreamMessageEvent` The default downstream `MessageEvent` implementation.
    `class` | `UpstreamMessageEvent` The default upstream `MessageEvent` implementation.

    Methods in org.jboss.netty.channel with parameters of type MessageEvent
    Modifier and Type | Method and 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` | 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.

  - ### 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 and 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 and Description
    --- | ---
    `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)`

  - ### 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 and Description
    --- | ---
    `void` | ReplayingDecoder.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`

  - ### Uses of MessageEvent in org.jboss.netty.handler.codec.spdy

    Methods in org.jboss.netty.handler.codec.spdy with parameters of type MessageEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | SpdySessionHandler.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`

  - ### Uses of MessageEvent in org.jboss.netty.handler.queue

    Methods in org.jboss.netty.handler.queue that return types with arguments of type MessageEvent
    Modifier and Type | Method and Description
    --- | ---
    `protected 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 and Description
    --- | ---
    `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()`.

    Constructor parameters in org.jboss.netty.handler.queue with type arguments of type MessageEvent
    Constructor and Description
    `BufferedWriteHandler(Queue<MessageEvent> queue)` Creates a new instance with the specified thread-safe unbounded `Queue` and without buffer consolidation.
    `BufferedWriteHandler(Queue<MessageEvent> queue, boolean consolidateOnFlush)` Creates a new instance with the specified thread-safe unbounded `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 and Description
    --- | ---
    `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)`

  - ### Uses of MessageEvent in org.jboss.netty.handler.traffic

    Methods in org.jboss.netty.handler.traffic with parameters of type MessageEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractTrafficShapingHandler.`messageReceived(ChannelHandlerContext arg0, MessageEvent arg1)`
    `void` | AbstractTrafficShapingHandler.`writeRequested(ChannelHandlerContext arg0, MessageEvent arg1)`

Copyright © 2008-2012 The Netty Project. All Rights Reserved.