Uses of Interface
org.jboss.netty.channel.ChannelHandlerContext
Packages that use ChannelHandlerContext
Package
Description
IoC/DI friendly helper classes which enable an easy implementation of
typical client side and server side channel initialization.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
An HTTP-based client-side
SocketChannel
and its corresponding server-side Servlet implementation that make your
existing server application work in a firewalled network.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.
Encoder and decoder which transform a
Base64-encoded
String or ChannelBuffer
into a decoded ChannelBuffer and vice versa.Encoder and decoder which compresses and decompresses
ChannelBuffers
in a compression format such as zlib
and gzip.A helper that wraps an encoder or a decoder so that they can be used without
doing actual I/O in unit tests or higher level codecs.
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.
Decoder and Encoder which uses JBoss Marshalling.
Simplistic abstract classes which help implement encoder and decoder that
transform an object into another object and vice versa.
Encoder and decoder which transform a
Google Protocol Buffers
Message into a ChannelBuffer
and vice versa.Specialized variation of
FrameDecoder
which enables implementation of a non-blocking decoder in the blocking I/O
paradigm.An RTSP
extension based on the HTTP codec.
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa.Encoder, decoder and their related message types for Socks.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
Encoder and decoder which transform a
String into a
ChannelBuffer and vice versa.Executor-based implementation of various
thread models that separate business logic from I/O threadsImplementation of a Ip based Filter handlers.
Logs a
ChannelEvent for debugging purpose
using an InternalLogger.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 ChannelHandlerContext in org.jboss.netty.bootstrap
Methods in org.jboss.netty.bootstrap with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidServerBootstrap.Binder.channelOpen(ChannelHandlerContext ctx, ChannelStateEvent evt) voidServerBootstrap.Binder.childChannelOpen(ChannelHandlerContext ctx, ChildChannelStateEvent e) voidServerBootstrap.Binder.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.channel
Classes in org.jboss.netty.channel that implement ChannelHandlerContextModifier and TypeClassDescriptionprivate final classMethods in org.jboss.netty.channel that return ChannelHandlerContextModifier and TypeMethodDescriptionChannelPipeline.getContext(Class<? extends ChannelHandler> handlerType) Returns the context object of theChannelHandlerof the specified type in this pipeline.ChannelPipeline.getContext(String name) Returns the context object of theChannelHandlerwith the specified name in this pipeline.ChannelPipeline.getContext(ChannelHandler handler) Returns the context object of the specifiedChannelHandlerin this pipeline.DefaultChannelPipeline.getContext(Class<? extends ChannelHandler> handlerType) DefaultChannelPipeline.getContext(String name) DefaultChannelPipeline.getContext(ChannelHandler handler) Methods in org.jboss.netty.channel with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidLifeCycleAwareChannelHandler.afterAdd(ChannelHandlerContext ctx) voidLifeCycleAwareChannelHandler.afterRemove(ChannelHandlerContext ctx) voidLifeCycleAwareChannelHandler.beforeAdd(ChannelHandlerContext ctx) voidLifeCycleAwareChannelHandler.beforeRemove(ChannelHandlerContext ctx) static voidChannels.bind(ChannelHandlerContext ctx, ChannelFuture future, SocketAddress localAddress) Sends a"bind"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidSimpleChannelDownstreamHandler.bindRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.bind(SocketAddress)was called.voidSimpleChannelHandler.bindRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.bind(SocketAddress)was called.private voidDefaultChannelPipeline.callAfterAdd(ChannelHandlerContext ctx) private static voidDefaultChannelPipeline.callAfterRemove(ChannelHandlerContext ctx) private static voidDefaultChannelPipeline.callBeforeAdd(ChannelHandlerContext ctx) private static voidDefaultChannelPipeline.callBeforeRemove(ChannelHandlerContext ctx) voidSimpleChannelHandler.channelBound(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelis open and bound to a local address, but not connected.voidSimpleChannelUpstreamHandler.channelBound(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelis open and bound to a local address, but not connected.voidSimpleChannelHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelwas closed and all its related resources were released.voidSimpleChannelUpstreamHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelwas closed and all its related resources were released.voidSimpleChannelHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelis open, bound to a local address, and connected to a remote address.voidSimpleChannelUpstreamHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelis open, bound to a local address, and connected to a remote address.voidSimpleChannelHandler.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelwas disconnected from its remote peer.voidSimpleChannelUpstreamHandler.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelwas disconnected from its remote peer.voidSimpleChannelHandler.channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannel'sinterestOpswas changed.voidSimpleChannelUpstreamHandler.channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannel'sinterestOpswas changed.voidSimpleChannelHandler.channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelis open, but not bound nor connected.voidSimpleChannelUpstreamHandler.channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelis open, but not bound nor connected.voidSimpleChannelHandler.channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelwas unbound from the current local address.voidSimpleChannelUpstreamHandler.channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked when aChannelwas unbound from the current local address.voidSimpleChannelHandler.childChannelClosed(ChannelHandlerContext ctx, ChildChannelStateEvent e) Invoked when a childChannelwas closed.voidSimpleChannelUpstreamHandler.childChannelClosed(ChannelHandlerContext ctx, ChildChannelStateEvent e) Invoked when a childChannelwas closed.voidSimpleChannelHandler.childChannelOpen(ChannelHandlerContext ctx, ChildChannelStateEvent e) Invoked when a childChannelwas open.voidSimpleChannelUpstreamHandler.childChannelOpen(ChannelHandlerContext ctx, ChildChannelStateEvent e) Invoked when a childChannelwas open.static voidChannels.close(ChannelHandlerContext ctx, ChannelFuture future) Sends a"close"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidSimpleChannelDownstreamHandler.closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.close()was called.voidSimpleChannelHandler.closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.close()was called.static voidChannels.connect(ChannelHandlerContext ctx, ChannelFuture future, SocketAddress remoteAddress) Sends a"connect"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidSimpleChannelDownstreamHandler.connectRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.connect(SocketAddress)was called.voidSimpleChannelHandler.connectRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.connect(SocketAddress)was called.static voidChannels.disconnect(ChannelHandlerContext ctx, ChannelFuture future) Sends a"disconnect"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidSimpleChannelDownstreamHandler.disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.disconnect()was called.voidSimpleChannelHandler.disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.disconnect()was called.voidSimpleChannelHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) Invoked when an exception was raised by an I/O thread or aChannelHandler.voidSimpleChannelUpstreamHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) Invoked when an exception was raised by an I/O thread or aChannelHandler.static voidChannels.fireChannelBound(ChannelHandlerContext ctx, SocketAddress localAddress) Sends a"channelBound"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireChannelClosed(ChannelHandlerContext ctx) Sends a"channelClosed"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireChannelConnected(ChannelHandlerContext ctx, SocketAddress remoteAddress) Sends a"channelConnected"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireChannelDisconnected(ChannelHandlerContext ctx) Sends a"channelDisconnected"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireChannelInterestChanged(ChannelHandlerContext ctx) Sends a"channelInterestChanged"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireChannelOpen(ChannelHandlerContext ctx) Sends a"channelOpen"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireChannelUnbound(ChannelHandlerContext ctx) Sends a"channelUnbound"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireExceptionCaught(ChannelHandlerContext ctx, Throwable cause) Sends a"exceptionCaught"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static ChannelFutureChannels.fireExceptionCaughtLater(ChannelHandlerContext ctx, Throwable cause) Sends a"exceptionCaught"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContextonce the io-thread runs again.static voidChannels.fireMessageReceived(ChannelHandlerContext ctx, Object message) Sends a"messageReceived"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireMessageReceived(ChannelHandlerContext ctx, Object message, SocketAddress remoteAddress) Sends a"messageReceived"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.fireWriteComplete(ChannelHandlerContext ctx, long amount) Sends a"writeComplete"event to theChannelUpstreamHandlerwhich is placed in the closest upstream from the handler associated with the specifiedChannelHandlerContext.voidChannelDownstreamHandler.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) Handles the specified downstream event.voidSimpleChannelDownstreamHandler.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) Handles the specified downstream event.voidSimpleChannelHandler.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) Handles the specified downstream event.voidChannelUpstreamHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) Handles the specified upstream event.voidSimpleChannelHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) Handles the specified upstream event.voidSimpleChannelUpstreamHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) Handles the specified upstream event.voidSimpleChannelHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) Invoked when a message object (e.g:ChannelBuffer) was received from a remote peer.voidSimpleChannelUpstreamHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) Invoked when a message object (e.g:ChannelBuffer) was received from a remote peer.static voidChannels.setInterestOps(ChannelHandlerContext ctx, ChannelFuture future, int interestOps) Sends a"setInterestOps"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidSimpleChannelDownstreamHandler.setInterestOpsRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.setInterestOps(int)was called.voidSimpleChannelHandler.setInterestOpsRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.setInterestOps(int)was called.static voidChannels.unbind(ChannelHandlerContext ctx, ChannelFuture future) Sends a"unbind"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidSimpleChannelDownstreamHandler.unbindRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.unbind()was called.voidSimpleChannelHandler.unbindRequested(ChannelHandlerContext ctx, ChannelStateEvent e) Invoked whenChannel.unbind()was called.static voidChannels.write(ChannelHandlerContext ctx, ChannelFuture future, Object message) Sends a"write"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.static voidChannels.write(ChannelHandlerContext ctx, ChannelFuture future, Object message, SocketAddress remoteAddress) Sends a"write"request to theChannelDownstreamHandlerwhich is placed in the closest downstream from the handler associated with the specifiedChannelHandlerContext.voidSimpleChannelHandler.writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) Invoked when something was written into aChannel.voidSimpleChannelUpstreamHandler.writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) Invoked when something was written into aChannel.voidSimpleChannelDownstreamHandler.writeRequested(ChannelHandlerContext ctx, MessageEvent e) Invoked whenChannel.write(Object)is called.voidSimpleChannelHandler.writeRequested(ChannelHandlerContext ctx, MessageEvent e) Invoked whenChannel.write(Object)is called. -
Uses of ChannelHandlerContext in org.jboss.netty.channel.socket.http
Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidHttpTunnelingClientSocketChannel.ServletChannelHandler.channelBound(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpTunnelingClientSocketChannel.ServletChannelHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpTunnelingClientSocketChannel.ServletChannelHandler.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpTunnelingClientSocketChannel.ServletChannelHandler.channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpTunnelingClientSocketChannel.ServletChannelHandler.channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpTunnelingClientSocketChannel.ServletChannelHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHttpTunnelingServlet.OutboundConnectionHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHttpTunnelingClientSocketChannel.ServletChannelHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidHttpTunnelingServlet.OutboundConnectionHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.discard
Methods in org.jboss.netty.example.discard with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidDiscardClientHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidDiscardClientHandler.channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) voidDiscardClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidDiscardServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidDiscardClientHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidDiscardServerHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidDiscardClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidDiscardServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidDiscardClientHandler.writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.echo
Methods in org.jboss.netty.example.echo with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidEchoClientHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidEchoClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidEchoServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidEchoClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidEchoServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.factorial
Methods in org.jboss.netty.example.factorial with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidFactorialClientHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidFactorialServerHandler.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidFactorialClientHandler.channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) protected ObjectBigIntegerDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectNumberEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) voidFactorialClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidFactorialServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidFactorialClientHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidFactorialServerHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidFactorialClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidFactorialServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.http.file
Methods in org.jboss.netty.example.http.file with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidHttpStaticFileServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHttpStaticFileServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) private static voidHttpStaticFileServerHandler.sendError(ChannelHandlerContext ctx, HttpResponseStatus status) private static voidHttpStaticFileServerHandler.sendNotModified(ChannelHandlerContext ctx) When file timestamp is the same as what the browser is sending up, send a "304 Not Modified" -
Uses of ChannelHandlerContext in org.jboss.netty.example.http.helloworld
Methods in org.jboss.netty.example.http.helloworld with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidHttpHelloWorldServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHttpHelloWorldServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.http.snoop
Methods in org.jboss.netty.example.http.snoop with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidHttpSnoopServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHttpSnoopClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidHttpSnoopServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.http.upload
Methods in org.jboss.netty.example.http.upload with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidHttpUploadServerHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpUploadClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHttpUploadServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHttpUploadClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidHttpUploadServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.http.websocketx.autobahn
Methods in org.jboss.netty.example.http.websocketx.autobahn with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidAutobahnServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) private voidAutobahnServerHandler.handleHttpRequest(ChannelHandlerContext ctx, HttpRequest req) private voidAutobahnServerHandler.handleWebSocketFrame(ChannelHandlerContext ctx, WebSocketFrame frame) voidAutobahnServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) private static voidAutobahnServerHandler.sendHttpResponse(ChannelHandlerContext ctx, HttpRequest req, HttpResponse res) -
Uses of ChannelHandlerContext in org.jboss.netty.example.http.websocketx.client
Methods in org.jboss.netty.example.http.websocketx.client with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidWebSocketClientHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidWebSocketClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidWebSocketClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.http.websocketx.server
Methods in org.jboss.netty.example.http.websocketx.server with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidWebSocketServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) private voidWebSocketServerHandler.handleHttpRequest(ChannelHandlerContext ctx, HttpRequest req) private voidWebSocketServerHandler.handleWebSocketFrame(ChannelHandlerContext ctx, WebSocketFrame frame) voidWebSocketServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) private static voidWebSocketServerHandler.sendHttpResponse(ChannelHandlerContext ctx, HttpRequest req, HttpResponse res) -
Uses of ChannelHandlerContext in org.jboss.netty.example.localtime
Methods in org.jboss.netty.example.localtime with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidLocalTimeClientHandler.channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) voidLocalTimeClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidLocalTimeServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidLocalTimeClientHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidLocalTimeServerHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidLocalTimeClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidLocalTimeServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.objectecho
Methods in org.jboss.netty.example.objectecho with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidObjectEchoClientHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidObjectEchoClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidObjectEchoServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidObjectEchoClientHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidObjectEchoServerHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidObjectEchoClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidObjectEchoServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.portunification
Methods in org.jboss.netty.example.portunification with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected ObjectPortUnificationServerHandler.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) private voidPortUnificationServerHandler.enableGzip(ChannelHandlerContext ctx) private voidPortUnificationServerHandler.enableSsl(ChannelHandlerContext ctx) private voidPortUnificationServerHandler.switchToFactorial(ChannelHandlerContext ctx) private voidPortUnificationServerHandler.switchToHttp(ChannelHandlerContext ctx) -
Uses of ChannelHandlerContext in org.jboss.netty.example.proxy
Methods in org.jboss.netty.example.proxy with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidHexDumpProxyInboundHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidHexDumpProxyInboundHandler.OutboundHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidHexDumpProxyInboundHandler.channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) voidHexDumpProxyInboundHandler.OutboundHandler.channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) voidHexDumpProxyInboundHandler.channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) voidHexDumpProxyInboundHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHexDumpProxyInboundHandler.OutboundHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidHexDumpProxyInboundHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidHexDumpProxyInboundHandler.OutboundHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.qotm
Methods in org.jboss.netty.example.qotm with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidQuoteOfTheMomentClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidQuoteOfTheMomentServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidQuoteOfTheMomentClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidQuoteOfTheMomentServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.securechat
Methods in org.jboss.netty.example.securechat with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidSecureChatServerHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidSecureChatServerHandler.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidSecureChatClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidSecureChatServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidSecureChatClientHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidSecureChatServerHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidSecureChatClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidSecureChatServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.telnet
Methods in org.jboss.netty.example.telnet with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidTelnetServerHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidTelnetClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidTelnetServerHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidTelnetClientHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidTelnetServerHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidTelnetClientHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidTelnetServerHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.example.uptime
Methods in org.jboss.netty.example.uptime with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidUptimeClientHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidUptimeClientHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidUptimeClientHandler.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidUptimeClientHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.base64
Methods in org.jboss.netty.handler.codec.base64 with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected ObjectBase64Decoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectBase64Encoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.compression
Fields in org.jboss.netty.handler.codec.compression declared as ChannelHandlerContextModifier and TypeFieldDescriptionprivate ChannelHandlerContextJdkZlibEncoder.ctxprivate ChannelHandlerContextZlibEncoder.ctxMethods in org.jboss.netty.handler.codec.compression with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidJdkZlibEncoder.afterAdd(ChannelHandlerContext ctx) voidZlibEncoder.afterAdd(ChannelHandlerContext ctx) voidJdkZlibEncoder.afterRemove(ChannelHandlerContext ctx) voidZlibEncoder.afterRemove(ChannelHandlerContext ctx) voidJdkZlibEncoder.beforeAdd(ChannelHandlerContext ctx) voidZlibEncoder.beforeAdd(ChannelHandlerContext ctx) voidJdkZlibEncoder.beforeRemove(ChannelHandlerContext ctx) voidZlibEncoder.beforeRemove(ChannelHandlerContext ctx) protected ObjectZlibDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectJdkZlibEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectZlibEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) private ChannelFutureJdkZlibEncoder.finishEncode(ChannelHandlerContext ctx, ChannelEvent evt) private ChannelFutureZlibEncoder.finishEncode(ChannelHandlerContext ctx, ChannelEvent evt) voidJdkZlibEncoder.handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt) voidZlibEncoder.handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.embedder
Methods in org.jboss.netty.handler.codec.embedder with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidAbstractCodecEmbedder.EmbeddedChannelSink.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.frame
Fields in org.jboss.netty.handler.codec.frame declared as ChannelHandlerContextMethods in org.jboss.netty.handler.codec.frame with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidFrameDecoder.afterAdd(ChannelHandlerContext ctx) voidFrameDecoder.afterRemove(ChannelHandlerContext ctx) voidFrameDecoder.beforeAdd(ChannelHandlerContext ctx) voidFrameDecoder.beforeRemove(ChannelHandlerContext ctx) private voidFrameDecoder.callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer cumulation, SocketAddress remoteAddress) voidFrameDecoder.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidFrameDecoder.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) protected voidFrameDecoder.cleanup(ChannelHandlerContext ctx, ChannelStateEvent e) protected ObjectDelimiterBasedFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectFixedLengthFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected abstract ObjectFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) Decodes the received packets so far into a frame.protected ObjectLengthFieldBasedFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectLineBasedFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectFrameDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) Decodes the received data so far into a frame when the channel is disconnected.protected ObjectLengthFieldPrepender.encode(ChannelHandlerContext ctx, Channel channel, Object msg) voidFrameDecoder.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) private voidDelimiterBasedFrameDecoder.fail(ChannelHandlerContext ctx, long frameLength) private voidLengthFieldBasedFrameDecoder.fail(ChannelHandlerContext ctx, long frameLength) private voidLineBasedFrameDecoder.fail(ChannelHandlerContext ctx, int length) private voidLineBasedFrameDecoder.fail(ChannelHandlerContext ctx, String length) private voidLengthFieldBasedFrameDecoder.failIfNecessary(ChannelHandlerContext ctx, boolean firstDetectionOfTooLongFrame) voidFrameDecoder.messageReceived(ChannelHandlerContext ctx, MessageEvent e) protected ChannelBufferFixedLengthFrameDecoder.newCumulationBuffer(ChannelHandlerContext ctx, int minimumCapacity) protected ChannelBufferFrameDecoder.newCumulationBuffer(ChannelHandlerContext ctx, int minimumCapacity) Create a newChannelBufferwhich is used for the cumulation.protected final voidFrameDecoder.unfoldAndFireMessageReceived(ChannelHandlerContext context, SocketAddress remoteAddress, Object result) protected ChannelBufferFrameDecoder.updateCumulation(ChannelHandlerContext ctx, ChannelBuffer input) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.http
Fields in org.jboss.netty.handler.codec.http declared as ChannelHandlerContextMethods in org.jboss.netty.handler.codec.http with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidHttpChunkAggregator.afterAdd(ChannelHandlerContext ctx) voidHttpContentDecoder.afterAdd(ChannelHandlerContext ctx) voidHttpContentEncoder.afterAdd(ChannelHandlerContext ctx) voidHttpChunkAggregator.afterRemove(ChannelHandlerContext ctx) voidHttpContentDecoder.afterRemove(ChannelHandlerContext ctx) voidHttpContentEncoder.afterRemove(ChannelHandlerContext ctx) voidHttpChunkAggregator.beforeAdd(ChannelHandlerContext ctx) voidHttpContentDecoder.beforeAdd(ChannelHandlerContext ctx) voidHttpContentEncoder.beforeAdd(ChannelHandlerContext ctx) voidHttpChunkAggregator.beforeRemove(ChannelHandlerContext ctx) voidHttpContentDecoder.beforeRemove(ChannelHandlerContext ctx) voidHttpContentEncoder.beforeRemove(ChannelHandlerContext ctx) voidHttpClientCodec.Decoder.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpContentDecoder.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidHttpContentEncoder.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) protected ObjectHttpClientCodec.Decoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) protected ObjectHttpMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) protected ObjectHttpClientCodec.Encoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectHttpMessageEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) voidHttpClientCodec.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) voidHttpServerCodec.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) voidHttpClientCodec.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidHttpServerCodec.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidHttpChunkAggregator.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidHttpContentDecoder.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidHttpContentEncoder.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidHttpContentEncoder.writeRequested(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.http.websocketx
Methods in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidWebSocketServerProtocolHandler.afterAdd(ChannelHandlerContext ctx) voidWebSocketServerProtocolHandler.afterRemove(ChannelHandlerContext ctx) voidWebSocketServerProtocolHandler.beforeAdd(ChannelHandlerContext ctx) voidWebSocketServerProtocolHandler.beforeRemove(ChannelHandlerContext ctx) protected ObjectWebSocket00FrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state) protected ObjectWebSocket08FrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, WebSocket08FrameDecoder.State state) protected ObjectWebSocketFrameAggregator.decode(ChannelHandlerContext ctx, Channel channel, Object message) protected ObjectWebSocket00FrameEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectWebSocket08FrameEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) voidWebSocketServerProtocolHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidWebSocketServerProtocolHandshakeHandler.exceptionCaught(ChannelHandlerContext ctx, Throwable cause) (package private) static WebSocketServerHandshakerWebSocketServerProtocolHandler.getHandshaker(ChannelHandlerContext ctx) voidWebSocketServerProtocolHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidWebSocketServerProtocolHandshakeHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) private static voidWebSocketServerProtocolHandshakeHandler.sendHttpResponse(ChannelHandlerContext ctx, HttpRequest req, HttpResponse res) (package private) static voidWebSocketServerProtocolHandler.setHandshaker(ChannelHandlerContext ctx, WebSocketServerHandshaker handshaker) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.marshalling
Methods in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected ObjectCompatibleMarshallingDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state) protected ObjectMarshallingDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectCompatibleMarshallingDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state) protected ObjectCompatibleMarshallingEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectMarshallingEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) voidCompatibleMarshallingDecoder.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) CallsChannel.close()if a TooLongFrameException was thrownorg.jboss.marshalling.MarshallerDefaultMarshallerProvider.getMarshaller(ChannelHandlerContext ctx) org.jboss.marshalling.MarshallerMarshallerProvider.getMarshaller(ChannelHandlerContext ctx) Get aMarshallerfor the givenChannelHandlerContextorg.jboss.marshalling.MarshallerThreadLocalMarshallerProvider.getMarshaller(ChannelHandlerContext ctx) org.jboss.marshalling.UnmarshallerContextBoundUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext ctx) org.jboss.marshalling.UnmarshallerDefaultUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext ctx) org.jboss.marshalling.UnmarshallerThreadLocalUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext ctx) org.jboss.marshalling.UnmarshallerUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext ctx) Get theUnmarshallerfor the givenChannelHandlerContext -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.oneone
Methods in org.jboss.netty.handler.codec.oneone with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected abstract ObjectOneToOneDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) Transforms the specified received message into another message and return the transformed message.protected booleanOneToOneEncoder.doEncode(ChannelHandlerContext ctx, MessageEvent e) protected booleanOneToOneStrictEncoder.doEncode(ChannelHandlerContext ctx, MessageEvent e) protected abstract ObjectOneToOneEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) Transforms the specified message into another message and return the transformed message.voidOneToOneEncoder.handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt) voidOneToOneDecoder.handleUpstream(ChannelHandlerContext ctx, ChannelEvent evt) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.protobuf
Methods in org.jboss.netty.handler.codec.protobuf with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected ObjectProtobufDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectProtobufVarint32FrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectProtobufEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectProtobufVarint32LengthFieldPrepender.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.replay
Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprivate voidReplayingDecoder.callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer input, ChannelBuffer replayableInput, SocketAddress remoteAddress) protected voidReplayingDecoder.cleanup(ChannelHandlerContext ctx, ChannelStateEvent e) protected final ObjectReplayingDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected abstract ObjectReplayingDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state) Decodes the received packets so far into a frame.protected final ObjectReplayingDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectReplayingDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state) Decodes the received data so far into a frame when the channel is disconnected.voidReplayingDecoder.messageReceived(ChannelHandlerContext ctx, MessageEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.rtsp
Methods in org.jboss.netty.handler.codec.rtsp with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected ObjectRtspMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) protected ObjectRtspMessageEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.serialization
Methods in org.jboss.netty.handler.codec.serialization with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprivate ChannelBufferCompatibleObjectEncoder.buffer(ChannelHandlerContext ctx) protected ObjectObjectDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectCompatibleObjectEncoder.encode(ChannelHandlerContext context, Channel channel, Object msg) protected ObjectObjectEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.socks
Methods in org.jboss.netty.handler.codec.socks with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected ObjectSocksAuthRequestDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthRequestDecoder.State state) protected ObjectSocksAuthResponseDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthResponseDecoder.State state) protected ObjectSocksCmdRequestDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdRequestDecoder.State state) protected ObjectSocksCmdResponseDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdResponseDecoder.State state) protected ObjectSocksInitRequestDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitRequestDecoder.State state) protected ObjectSocksInitResponseDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitResponseDecoder.State state) protected ObjectSocksMessageEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.spdy
Fields in org.jboss.netty.handler.codec.spdy declared as ChannelHandlerContextModifier and TypeFieldDescriptionprivate ChannelHandlerContextSpdyFrameCodec.ctxprivate final ChannelHandlerContextSpdyHttpEncoder.SpdyFrameWriter.ctxprivate final ChannelHandlerContextSpdySessionHandler.ClosingChannelFutureListener.ctxMethods in org.jboss.netty.handler.codec.spdy with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected voidSpdyOrHttpChooser.addHttpHandlers(ChannelHandlerContext ctx) Add allChannelHandler's that are needed for HTTP.protected voidSpdyOrHttpChooser.addSpdyHandlers(ChannelHandlerContext ctx, SpdyVersion version) Add allChannelHandler's that are needed for SPDY with the given version.voidSpdyFrameCodec.beforeAdd(ChannelHandlerContext ctx) protected voidSpdyFrameCodec.cleanup(ChannelHandlerContext ctx, ChannelStateEvent e) protected ObjectSpdyFrameCodec.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectSpdyHttpDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) voidSpdySessionHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) private static ChannelFutureSpdyHttpEncoder.getDataFuture(ChannelHandlerContext ctx, ChannelFuture future, SpdyDataFrame[] spdyDataFrames, SocketAddress remoteAddress) private ChannelFutureSpdyHttpEncoder.getMessageFuture(ChannelHandlerContext ctx, MessageEvent e, int streamId, HttpMessage httpMessage) voidSpdyFrameCodec.handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt) voidSpdyHttpCodec.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) voidSpdyHttpEncoder.handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt) voidSpdySessionHandler.handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt) voidSpdyHttpCodec.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidSpdyOrHttpChooser.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) private voidSpdySessionHandler.issueSessionError(ChannelHandlerContext ctx, Channel channel, SocketAddress remoteAddress, SpdySessionStatus status) private voidSpdySessionHandler.issueStreamError(ChannelHandlerContext ctx, SocketAddress remoteAddress, int streamId, SpdyStreamStatus status) voidSpdyHttpResponseStreamIdHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidSpdySessionHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) private ChannelFutureSpdySessionHandler.sendGoAwayFrame(ChannelHandlerContext ctx, Channel channel, SocketAddress remoteAddress, SpdySessionStatus status) private voidSpdySessionHandler.sendGoAwayFrame(ChannelHandlerContext ctx, ChannelStateEvent e) private voidSpdySessionHandler.updateSendWindowSize(ChannelHandlerContext ctx, int streamId, int deltaWindowSize) protected voidSpdyHttpEncoder.writeChunk(ChannelHandlerContext ctx, ChannelFuture future, int streamId, HttpChunk chunk, SocketAddress remoteAddress) Writes an HTTP chunk downstream as one or more SPDY frames.voidSpdyHttpResponseStreamIdHandler.writeRequested(ChannelHandlerContext ctx, MessageEvent e) Constructors in org.jboss.netty.handler.codec.spdy with parameters of type ChannelHandlerContextModifierConstructorDescription(package private)(package private) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.string
Methods in org.jboss.netty.handler.codec.string with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected ObjectStringDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectStringEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.execution
Fields in org.jboss.netty.handler.execution declared as ChannelHandlerContextMethods in org.jboss.netty.handler.execution that return ChannelHandlerContextModifier and TypeMethodDescriptionChannelEventRunnable.getContext()Returns theChannelHandlerContextwhich will be used to send theChannelEventupstream.Methods in org.jboss.netty.handler.execution with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidExecutionHandler.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) protected booleanExecutionHandler.handleReadSuspend(ChannelHandlerContext ctx, ChannelEvent e) Handle suspended readsvoidExecutionHandler.handleUpstream(ChannelHandlerContext context, ChannelEvent e) Constructors in org.jboss.netty.handler.execution with parameters of type ChannelHandlerContextModifierConstructorDescriptionChannelDownstreamEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor) protectedChannelEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor) Creates aRunnablewhich sends the specifiedChannelEventupstream via the specifiedChannelHandlerContext.ChannelUpstreamEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor) Creates aRunnablewhich sends the specifiedChannelEventupstream via the specifiedChannelHandlerContext. -
Uses of ChannelHandlerContext in org.jboss.netty.handler.ipfilter
Methods in org.jboss.netty.handler.ipfilter with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionprotected abstract booleanIpFilteringHandlerImpl.accept(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) Called when the channel is connected.protected booleanIpFilterRuleHandler.accept(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) protected booleanOneIpFilterHandler.accept(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) IpFilterListener.allowed(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) Called when the channel has the CONNECTED status and the channel was allowed by a previous call to accept().protected booleanIpFilteringHandlerImpl.continues(ChannelHandlerContext ctx, ChannelEvent e) Called in handleUpstream, if this channel was previously blocked, to check if whatever the event, it should be passed to the next entry in the pipeline.
If one wants to not block events, just overridden this method by returning always true.
Note that OPENED and BOUND events are still passed to the next entry in the pipeline since those events come out before the CONNECTED event and so the possibility to filter the connection.booleanIpFilterListener.continues(ChannelHandlerContext ctx, ChannelEvent e) Called in handleUpstream, if this channel was previously blocked, to check if whatever the event, it should be passed to the next entry in the pipeline.
If one wants to not block events, just overridden this method by returning always true.
Note that OPENED and BOUND events are still passed to the next entry in the pipeline since those events come out before the CONNECTED event and so the possibility to filter the connection.protected ChannelFutureIpFilteringHandlerImpl.handleAllowedChannel(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) protected ChannelFutureIpFilteringHandlerImpl.handleRefusedChannel(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept().voidIpFilteringHandlerImpl.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidOneIpFilterHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) protected booleanIpFilteringHandlerImpl.isBlocked(ChannelHandlerContext ctx) Internal method to test if the current channel is blocked.IpFilterListener.refused(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress) Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept(). -
Uses of ChannelHandlerContext in org.jboss.netty.handler.logging
Methods in org.jboss.netty.handler.logging with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidLoggingHandler.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) voidLoggingHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.queue
Fields in org.jboss.netty.handler.queue declared as ChannelHandlerContextMethods in org.jboss.netty.handler.queue with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidBufferedWriteHandler.afterAdd(ChannelHandlerContext ctx) voidBufferedWriteHandler.afterRemove(ChannelHandlerContext ctx) Fail all buffered writes that are left.voidBufferedWriteHandler.beforeAdd(ChannelHandlerContext ctx) voidBufferedWriteHandler.beforeRemove(ChannelHandlerContext ctx) voidBlockingReadHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidBufferedWriteHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) Fail all buffered writes that are left.voidBufferedWriteHandler.closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e) voidBufferedWriteHandler.disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e) voidBlockingReadHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) voidBlockingReadHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidBufferedWriteHandler.writeRequested(ChannelHandlerContext ctx, MessageEvent e) Stores all write requests to the queue so that they are actually written onBufferedWriteHandler.flush(). -
Uses of ChannelHandlerContext in org.jboss.netty.handler.ssl
Fields in org.jboss.netty.handler.ssl declared as ChannelHandlerContextModifier and TypeFieldDescriptionprivate final ChannelHandlerContextSslHandler.ClosingChannelFutureListener.contextprivate ChannelHandlerContextSslHandler.ctxMethods in org.jboss.netty.handler.ssl with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidSslHandler.afterRemove(ChannelHandlerContext ctx) Fail all pending writes which we were not able to flush outvoidSslHandler.beforeAdd(ChannelHandlerContext ctx) voidSslHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) Loop over all the pending writes and fail them.voidSslHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) CallsSslHandler.handshake()once theChannelis connectedvoidSslHandler.channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) private voidSslHandler.closeOutboundAndChannel(ChannelHandlerContext context, ChannelStateEvent e) protected ObjectSslHandler.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer in) voidSslHandler.exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) private voidSslHandler.flushPendingEncryptedWrites(ChannelHandlerContext ctx) voidSslHandler.handleDownstream(ChannelHandlerContext context, ChannelEvent evt) private ChannelBufferSslHandler.unwrap(ChannelHandlerContext ctx, Channel channel, ByteBuffer nioInNetBuf, int initialNettyOutAppBufCapacity, boolean mightNeedHandshake) Unwraps inbound SSL records.private voidSslHandler.unwrapNonAppData(ChannelHandlerContext ctx, Channel channel, boolean mightNeedHandshake) CallsSSLEngine.unwrap(ByteBuffer, ByteBuffer)with an empty buffer to handle handshakes, etc.private voidSslHandler.wrap(ChannelHandlerContext context, Channel channel) private ChannelFutureSslHandler.wrapNonAppData(ChannelHandlerContext ctx, Channel channel) Constructors in org.jboss.netty.handler.ssl with parameters of type ChannelHandlerContextModifierConstructorDescription(package private) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.stream
Fields in org.jboss.netty.handler.stream declared as ChannelHandlerContextMethods in org.jboss.netty.handler.stream with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidChunkedWriteHandler.afterAdd(ChannelHandlerContext ctx) voidChunkedWriteHandler.afterRemove(ChannelHandlerContext ctx) voidChunkedWriteHandler.beforeAdd(ChannelHandlerContext ctx) voidChunkedWriteHandler.beforeRemove(ChannelHandlerContext ctx) private voidChunkedWriteHandler.discard(ChannelHandlerContext ctx, boolean fireNow) private voidChunkedWriteHandler.flush(ChannelHandlerContext ctx, boolean fireNow) voidChunkedWriteHandler.handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) voidChunkedWriteHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.timeout
Fields in org.jboss.netty.handler.timeout declared as ChannelHandlerContextModifier and TypeFieldDescriptionprivate final ChannelHandlerContextIdleStateHandler.AllIdleTimeoutTask.ctxprivate final ChannelHandlerContextIdleStateHandler.ReaderIdleTimeoutTask.ctxprivate final ChannelHandlerContextIdleStateHandler.WriterIdleTimeoutTask.ctxprivate final ChannelHandlerContextReadTimeoutHandler.ReadTimeoutTask.ctxprivate final ChannelHandlerContextWriteTimeoutHandler.WriteTimeoutTask.ctxMethods in org.jboss.netty.handler.timeout with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidIdleStateHandler.afterAdd(ChannelHandlerContext ctx) voidReadTimeoutHandler.afterAdd(ChannelHandlerContext ctx) voidIdleStateHandler.afterRemove(ChannelHandlerContext ctx) voidReadTimeoutHandler.afterRemove(ChannelHandlerContext ctx) voidIdleStateHandler.beforeAdd(ChannelHandlerContext ctx) voidReadTimeoutHandler.beforeAdd(ChannelHandlerContext ctx) voidIdleStateHandler.beforeRemove(ChannelHandlerContext ctx) voidReadTimeoutHandler.beforeRemove(ChannelHandlerContext ctx) voidIdleStateHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidReadTimeoutHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidIdleStateAwareChannelHandler.channelIdle(ChannelHandlerContext ctx, IdleStateEvent e) Invoked when aChannelhas been idle for a while.voidIdleStateAwareChannelUpstreamHandler.channelIdle(ChannelHandlerContext ctx, IdleStateEvent e) Invoked when aChannelhas been idle for a while.protected voidIdleStateHandler.channelIdle(ChannelHandlerContext ctx, IdleState state, long lastActivityTimeMillis) voidIdleStateHandler.channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) voidReadTimeoutHandler.channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) private static voidIdleStateHandler.destroy(ChannelHandlerContext ctx) private static voidReadTimeoutHandler.destroy(ChannelHandlerContext ctx) private voidIdleStateHandler.fireChannelIdle(ChannelHandlerContext ctx, IdleState state, long lastActivityTimeMillis) private voidReadTimeoutHandler.ReadTimeoutTask.fireReadTimedOut(ChannelHandlerContext ctx) private voidWriteTimeoutHandler.WriteTimeoutTask.fireWriteTimeOut(ChannelHandlerContext ctx) voidIdleStateAwareChannelHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) voidIdleStateAwareChannelUpstreamHandler.handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) private voidIdleStateHandler.initialize(ChannelHandlerContext ctx) private voidReadTimeoutHandler.initialize(ChannelHandlerContext ctx) voidIdleStateHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) voidReadTimeoutHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent e) protected voidReadTimeoutHandler.readTimedOut(ChannelHandlerContext ctx) private static IdleStateHandler.StateIdleStateHandler.state(ChannelHandlerContext ctx) private static ReadTimeoutHandler.StateReadTimeoutHandler.state(ChannelHandlerContext ctx) voidIdleStateHandler.writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) voidWriteTimeoutHandler.writeRequested(ChannelHandlerContext ctx, MessageEvent e) protected voidWriteTimeoutHandler.writeTimedOut(ChannelHandlerContext ctx) Constructors in org.jboss.netty.handler.timeout with parameters of type ChannelHandlerContextModifierConstructorDescription(package private)(package private)(package private)(package private)(package private)WriteTimeoutTask(ChannelHandlerContext ctx, ChannelFuture future) -
Uses of ChannelHandlerContext in org.jboss.netty.handler.traffic
Fields in org.jboss.netty.handler.traffic declared as ChannelHandlerContextModifier and TypeFieldDescription(package private) final ChannelHandlerContextAbstractTrafficShapingHandler.ReopenReadTimerTask.ctxprivate ChannelHandlerContextChannelTrafficShapingHandler.ctx(package private) ChannelHandlerContextGlobalTrafficShapingHandler.PerChannel.ctxMethods in org.jboss.netty.handler.traffic with parameters of type ChannelHandlerContextModifier and TypeMethodDescriptionvoidChannelTrafficShapingHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidGlobalChannelTrafficShapingHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidGlobalTrafficShapingHandler.channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) voidAbstractTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidChannelTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidGlobalChannelTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) voidGlobalTrafficShapingHandler.channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) (package private) static AbstractTrafficShapingHandler.ReadWriteStatusAbstractTrafficShapingHandler.checkAttachment(ChannelHandlerContext ctx) (package private) longAbstractTrafficShapingHandler.checkWaitReadTime(ChannelHandlerContext ctx, long wait, long now) Method overridden in GTSH to take into account specific timer for the channel.protected longGlobalChannelTrafficShapingHandler.checkWaitReadTime(ChannelHandlerContext ctx, long wait, long now) (package private) longGlobalTrafficShapingHandler.checkWaitReadTime(ChannelHandlerContext ctx, long wait, long now) (package private) voidAbstractTrafficShapingHandler.checkWriteSuspend(ChannelHandlerContext ctx, long delay, long queueSize) Check the writability according to delay and size for the channel.GlobalChannelTrafficShapingHandler.getOrSetPerChannel(ChannelHandlerContext ctx) GlobalTrafficShapingHandler.getOrSetPerChannel(ChannelHandlerContext ctx) (package private) voidAbstractTrafficShapingHandler.informReadOperation(ChannelHandlerContext ctx, long now) Method overridden in GTSH to take into account specific timer for the channel.protected voidGlobalChannelTrafficShapingHandler.informReadOperation(ChannelHandlerContext ctx, long now) (package private) voidGlobalTrafficShapingHandler.informReadOperation(ChannelHandlerContext ctx, long now) protected voidAbstractTrafficShapingHandler.internalSubmitWrite(ChannelHandlerContext ctx, MessageEvent evt) Deprecated.voidAbstractTrafficShapingHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent evt) voidGlobalChannelTrafficShapingHandler.messageReceived(ChannelHandlerContext ctx, MessageEvent evt) (package private) voidAbstractTrafficShapingHandler.releaseReadSuspended(ChannelHandlerContext ctx) Release the Read suspension.(package private) voidAbstractTrafficShapingHandler.releaseWriteSuspended(ChannelHandlerContext ctx) Explicitly release the Write suspended status.private voidChannelTrafficShapingHandler.sendAllValid(ChannelHandlerContext ctx, long now) private voidGlobalChannelTrafficShapingHandler.sendAllValid(ChannelHandlerContext ctx, GlobalChannelTrafficShapingHandler.PerChannel perChannel, long now) private voidGlobalTrafficShapingHandler.sendAllValid(ChannelHandlerContext ctx, GlobalTrafficShapingHandler.PerChannel perChannel, long now) (package private) voidAbstractTrafficShapingHandler.setWritable(ChannelHandlerContext ctx, boolean writable) protected voidAbstractTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long delay) Deprecated.(package private) abstract voidAbstractTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long delay, long now) (package private) voidChannelTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long delay, long now) protected voidGlobalChannelTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long writedelay, long now) (package private) voidGlobalTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, MessageEvent evt, long size, long writedelay, long now) voidAbstractTrafficShapingHandler.writeRequested(ChannelHandlerContext ctx, MessageEvent evt) voidGlobalChannelTrafficShapingHandler.writeRequested(ChannelHandlerContext ctx, MessageEvent evt) Constructors in org.jboss.netty.handler.traffic with parameters of type ChannelHandlerContext