## Uses of Interface
org.jboss.netty.channel.ChannelStateEvent

- Packages that use ChannelStateEvent
  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.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 on `SSLEngine`
  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 ChannelStateEvent in org.jboss.netty.channel

    Classes in org.jboss.netty.channel that implement ChannelStateEvent
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DownstreamChannelStateEvent` The default downstream `ChannelStateEvent` implementation.
    `class` | `UpstreamChannelStateEvent` The default upstream `ChannelStateEvent` implementation.

    Methods in org.jboss.netty.channel with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | SimpleChannelHandler.`bindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.bind(SocketAddress)` was called.
    `void` | SimpleChannelDownstreamHandler.`bindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.bind(SocketAddress)` was called.
    `void` | SimpleChannelHandler.`channelBound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open and bound to a local address, but not connected.
    `void` | SimpleChannelUpstreamHandler.`channelBound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open and bound to a local address, but not connected.
    `void` | SimpleChannelHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was closed and all its related resources were released.
    `void` | SimpleChannelUpstreamHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was closed and all its related resources were released.
    `void` | SimpleChannelHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, bound to a local address, and connected to a remote address.
    `void` | SimpleChannelUpstreamHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, bound to a local address, and connected to a remote address.
    `void` | SimpleChannelHandler.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was disconnected from its remote peer.
    `void` | SimpleChannelUpstreamHandler.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was disconnected from its remote peer.
    `void` | SimpleChannelHandler.`channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel`'s `interestOps` was changed.
    `void` | SimpleChannelUpstreamHandler.`channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel`'s `interestOps` was changed.
    `void` | SimpleChannelHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, but not bound nor connected.
    `void` | SimpleChannelUpstreamHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, but not bound nor connected.
    `void` | SimpleChannelHandler.`channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was unbound from the current local address.
    `void` | SimpleChannelUpstreamHandler.`channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was unbound from the current local address.
    `void` | SimpleChannelHandler.`closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.close()` was called.
    `void` | SimpleChannelDownstreamHandler.`closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.close()` was called.
    `void` | SimpleChannelHandler.`connectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.connect(SocketAddress)` was called.
    `void` | SimpleChannelDownstreamHandler.`connectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.connect(SocketAddress)` was called.
    `void` | SimpleChannelHandler.`disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.disconnect()` was called.
    `void` | SimpleChannelDownstreamHandler.`disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.disconnect()` was called.
    `void` | SimpleChannelHandler.`setInterestOpsRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.setInterestOps(int)` was called.
    `void` | SimpleChannelDownstreamHandler.`setInterestOpsRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.setInterestOps(int)` was called.
    `void` | SimpleChannelHandler.`unbindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.unbind()` was called.
    `void` | SimpleChannelDownstreamHandler.`unbindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.unbind()` was called.

  - ### Uses of ChannelStateEvent in org.jboss.netty.handler.codec.frame

    Methods in org.jboss.netty.handler.codec.frame with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | FrameDecoder.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | FrameDecoder.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `protected void` | FrameDecoder.`cleanup(ChannelHandlerContext ctx, ChannelStateEvent e)` Gets called on `FrameDecoder.channelDisconnected(ChannelHandlerContext, ChannelStateEvent)` and `FrameDecoder.channelClosed(ChannelHandlerContext, ChannelStateEvent)`

  - ### Uses of ChannelStateEvent in org.jboss.netty.handler.codec.http

    Methods in org.jboss.netty.handler.codec.http with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpContentEncoder.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | HttpContentDecoder.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`

  - ### Uses of ChannelStateEvent in org.jboss.netty.handler.codec.replay

    Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ReplayingDecoder.`cleanup(ChannelHandlerContext ctx, ChannelStateEvent e)`

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

    Methods in org.jboss.netty.handler.queue with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | BufferedWriteHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Fail all buffered writes that are left.
    `void` | BlockingReadHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | BufferedWriteHandler.`closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | BufferedWriteHandler.`disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)`

  - ### Uses of ChannelStateEvent in org.jboss.netty.handler.ssl

    Methods in org.jboss.netty.handler.ssl with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | SslHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Loop over all the pending writes and fail them.
    `void` | SslHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Calls `SslHandler.handshake()` once the `Channel` is connected
    `void` | SslHandler.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)`

  - ### Uses of ChannelStateEvent in org.jboss.netty.handler.timeout

    Methods in org.jboss.netty.handler.timeout with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReadTimeoutHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | IdleStateHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | ReadTimeoutHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | IdleStateHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)`

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

    Methods in org.jboss.netty.handler.traffic with parameters of type ChannelStateEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | ChannelTrafficShapingHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | ChannelTrafficShapingHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)`

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