Uses of Interface
org.jboss.netty.channel.Channel
-
Packages that use Channel Package Description org.jboss.netty.bootstrap IoC/DI friendly helper classes which enable an easy implementation of typical client side and server side channel initialization.org.jboss.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.org.jboss.netty.channel.group A channel registry which helps a user maintain the list of openChannels and perform bulk operations on them.org.jboss.netty.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.org.jboss.netty.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.org.jboss.netty.channel.socket.http An HTTP-based client-sideSocketChanneland its corresponding server-side Servlet implementation that make your existing server application work in a firewalled network.org.jboss.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).org.jboss.netty.channel.socket.oio Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).org.jboss.netty.example.factorial org.jboss.netty.example.http.tunnel org.jboss.netty.example.http.upload org.jboss.netty.example.localtime org.jboss.netty.example.portunification org.jboss.netty.example.proxy org.jboss.netty.handler.codec.base64 Encoder and decoder which transform a Base64-encodedStringorChannelBufferinto a decodedChannelBufferand vice versa.org.jboss.netty.handler.codec.compression Encoder and decoder which compresses and decompressesChannelBuffers in a compression format such as zlib and gzip.org.jboss.netty.handler.codec.embedder 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.org.jboss.netty.handler.codec.frame Extensible decoder and its common implementations which deal with the packet fragmentation and reassembly issue found in a stream-based transport such as TCP/IP.org.jboss.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.org.jboss.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.org.jboss.netty.handler.codec.marshalling Decoder and Encoder which uses JBoss Marshalling.org.jboss.netty.handler.codec.oneone Simplistic abstract classes which help implement encoder and decoder that transform an object into another object and vice versa.org.jboss.netty.handler.codec.protobuf Encoder and decoder which transform a Google Protocol BuffersMessageinto aChannelBufferand vice versa.org.jboss.netty.handler.codec.replay Specialized variation ofFrameDecoderwhich enables implementation of a non-blocking decoder in the blocking I/O paradigm.org.jboss.netty.handler.codec.rtsp An RTSP extension based on the HTTP codec.org.jboss.netty.handler.codec.serialization Encoder, decoder and their compatibility stream implementations which transform aSerializableobject into a byte buffer and vice versa.org.jboss.netty.handler.codec.socks Encoder, decoder and their related message types for Socks.org.jboss.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.org.jboss.netty.handler.codec.string Encoder and decoder which transform aStringinto aChannelBufferand vice versa.org.jboss.netty.handler.execution Executor-based implementation of various thread models that separate business logic from I/O threadsorg.jboss.netty.handler.ssl SSL · TLS implementation based onSSLEngineorg.jboss.netty.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer. -
-
Uses of Channel in org.jboss.netty.bootstrap
Methods in org.jboss.netty.bootstrap that return Channel Modifier and Type Method Description ChannelConnectionlessBootstrap. bind()Creates a new channel which is bound to the local address which was specified in the current"localAddress"option.ChannelConnectionlessBootstrap. bind(java.net.SocketAddress localAddress)Creates a new channel which is bound to the specified local address.ChannelServerBootstrap. bind()Creates a new channel which is bound to the local address which was specified in the current"localAddress"option.ChannelServerBootstrap. bind(java.net.SocketAddress localAddress)Creates a new channel which is bound to the specified local address. -
Uses of Channel in org.jboss.netty.channel
Subinterfaces of Channel in org.jboss.netty.channel Modifier and Type Interface Description interfaceServerChannelClasses in org.jboss.netty.channel that implement Channel Modifier and Type Class Description classAbstractChannelA skeletalChannelimplementation.classAbstractServerChannelA skeletal server-sideChannelimplementation.Fields in org.jboss.netty.channel declared as Channel Modifier and Type Field Description private ChannelCompleteChannelFuture. channelprivate ChannelDefaultChannelFuture. channelprivate ChannelDefaultChannelPipeline. channelprivate ChannelDefaultExceptionEvent. channelprivate ChannelDefaultWriteCompletionEvent. channelprivate ChannelDownstreamChannelStateEvent. channelprivate ChannelDownstreamMessageEvent. channelprivate ChannelUpstreamChannelStateEvent. channelprivate ChannelUpstreamMessageEvent. channelprivate ChannelDefaultChildChannelStateEvent. childChannelprivate ChannelAbstractChannel. parentprivate ChannelDefaultChildChannelStateEvent. parentChannelFields in org.jboss.netty.channel with type parameters of type Channel Modifier and Type Field Description (package private) static java.util.concurrent.ConcurrentMap<java.lang.Integer,Channel>AbstractChannel. allChannelsprivate java.util.concurrent.ConcurrentMap<Channel,T>ChannelLocal. mapMethods in org.jboss.netty.channel that return Channel Modifier and Type Method Description ChannelChannelEvent. getChannel()Returns theChannelwhich is associated with this event.ChannelChannelFuture. getChannel()Returns a channel where the I/O operation associated with this future takes place.ChannelChannelHandlerContext. getChannel()Returns theChannelthat theChannelPipelinebelongs to.ChannelChannelPipeline. getChannel()Returns theChannelthat this pipeline is attached to.ChannelChildChannelStateEvent. getChannel()Returns the parentChannelwhich is associated with this event.ChannelCompleteChannelFuture. getChannel()ChannelDefaultChannelFuture. getChannel()ChannelDefaultChannelPipeline.DefaultChannelHandlerContext. getChannel()ChannelDefaultChannelPipeline. getChannel()ChannelDefaultChildChannelStateEvent. getChannel()ChannelDefaultExceptionEvent. getChannel()ChannelDefaultWriteCompletionEvent. getChannel()ChannelDownstreamChannelStateEvent. getChannel()ChannelDownstreamMessageEvent. getChannel()ChannelUpstreamChannelStateEvent. getChannel()ChannelUpstreamMessageEvent. getChannel()ChannelChildChannelStateEvent. getChildChannel()Returns the childChannelwhose state has been changed.ChannelDefaultChildChannelStateEvent. getChildChannel()ChannelAbstractChannel. getParent()ChannelChannel. getParent()Returns the parent of this channel.ChannelChannelFactory. newChannel(ChannelPipeline pipeline)Methods in org.jboss.netty.channel that return types with arguments of type Channel Modifier and Type Method Description java.util.Iterator<java.util.Map.Entry<Channel,T>>ChannelLocal. iterator()Returns a read-onlyIteratorthat holds allMap.Entry's of this ChannelLocalMethods in org.jboss.netty.channel with parameters of type Channel Modifier and Type Method Description private static java.lang.IntegerAbstractChannel. allocateId(Channel channel)voidChannelPipeline. attach(Channel channel, ChannelSink sink)Attaches this pipeline to the specifiedChannelandChannelSink.voidDefaultChannelPipeline. attach(Channel channel, ChannelSink sink)static ChannelFutureChannels. bind(Channel channel, java.net.SocketAddress localAddress)Sends a"bind"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. close(Channel channel)Sends a"close"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.intAbstractChannel. compareTo(Channel o)Compares the ID of the two channels.static ChannelFutureChannels. connect(Channel channel, java.net.SocketAddress remoteAddress)Sends a"connect"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. disconnect(Channel channel)Sends a"disconnect"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. failedFuture(Channel channel, java.lang.Throwable cause)Creates a newChannelFuturewhich has failed already for the specifiedChannel.static voidChannels. fireChannelBound(Channel channel, java.net.SocketAddress localAddress)Sends a"channelBound"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static voidChannels. fireChannelClosed(Channel channel)Sends a"channelClosed"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. fireChannelClosedLater(Channel channel)Sends a"channelClosed"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static voidChannels. fireChannelConnected(Channel channel, java.net.SocketAddress remoteAddress)Sends a"channelConnected"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static voidChannels. fireChannelDisconnected(Channel channel)Sends a"channelDisconnected"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. fireChannelDisconnectedLater(Channel channel)Sends a"channelDisconnected"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static voidChannels. fireChannelInterestChanged(Channel channel)Sends a"channelInterestChanged"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. fireChannelInterestChangedLater(Channel channel)Sends a"channelInterestChanged"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static voidChannels. fireChannelOpen(Channel channel)Sends a"channelOpen"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static voidChannels. fireChannelUnbound(Channel channel)Sends a"channelUnbound"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. fireChannelUnboundLater(Channel channel)Sends a"channelUnbound"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.private static voidChannels. fireChildChannelStateChanged(Channel channel, Channel childChannel)static voidChannels. fireExceptionCaught(Channel channel, java.lang.Throwable cause)Sends a"exceptionCaught"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. fireExceptionCaughtLater(Channel channel, java.lang.Throwable cause)Sends a"exceptionCaught"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static voidChannels. fireMessageReceived(Channel channel, java.lang.Object message)Sends a"messageReceived"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static voidChannels. fireMessageReceived(Channel channel, java.lang.Object message, java.net.SocketAddress remoteAddress)Sends a"messageReceived"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelbelongs.static voidChannels. fireWriteComplete(Channel channel, long amount)Sends a"writeComplete"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. fireWriteCompleteLater(Channel channel, long amount)Sends a"writeComplete"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelin the next io-thread.static ChannelFutureChannels. future(Channel channel)Creates a new non-cancellableChannelFuturefor the specifiedChannel.static ChannelFutureChannels. future(Channel channel, boolean cancellable)Creates a newChannelFuturefor the specifiedChannel.TChannelLocal. get(Channel channel)Returns the value of this variable.protected TChannelLocal. initialValue(Channel channel)Returns the initial value of the variable.TChannelLocal. remove(Channel channel)Removes the variable and returns the removed value.TChannelLocal. set(Channel channel, T value)Sets the value of this variable.TChannelLocal. setIfAbsent(Channel channel, T value)Sets the value of this variable only when no value was set.static ChannelFutureChannels. setInterestOps(Channel channel, int interestOps)Sends a"setInterestOps"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. succeededFuture(Channel channel)Creates a newChannelFuturewhich is already succeeded for the specifiedChannel.static ChannelFutureChannels. unbind(Channel channel)Sends a"unbind"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. write(Channel channel, java.lang.Object message)Sends a"write"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels. write(Channel channel, java.lang.Object message, java.net.SocketAddress remoteAddress)Sends a"write"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.Constructors in org.jboss.netty.channel with parameters of type Channel Constructor Description AbstractChannel(java.lang.Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)(Internal use only) Creates a new temporary instance with the specified ID.AbstractChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)Creates a new instance.CompleteChannelFuture(Channel channel)Creates a new instance.DefaultChannelFuture(Channel channel, boolean cancellable)Creates a new instance.DefaultChildChannelStateEvent(Channel parentChannel, Channel childChannel)Creates a new instance.DefaultExceptionEvent(Channel channel, java.lang.Throwable cause)Creates a new instance.DefaultWriteCompletionEvent(Channel channel, long writtenAmount)Creates a new instance.DownstreamChannelStateEvent(Channel channel, ChannelFuture future, ChannelState state, java.lang.Object value)Creates a new instance.DownstreamMessageEvent(Channel channel, ChannelFuture future, java.lang.Object message, java.net.SocketAddress remoteAddress)Creates a new instance.FailedChannelFuture(Channel channel, java.lang.Throwable cause)Creates a new instance.SucceededChannelFuture(Channel channel)Creates a new instance.UpstreamChannelStateEvent(Channel channel, ChannelState state, java.lang.Object value)Creates a new instance.UpstreamMessageEvent(Channel channel, java.lang.Object message, java.net.SocketAddress remoteAddress)Creates a new instance. -
Uses of Channel in org.jboss.netty.channel.group
Fields in org.jboss.netty.channel.group with type parameters of type Channel Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.Integer,Channel>DefaultChannelGroup. nonServerChannelsprivate java.util.concurrent.ConcurrentMap<java.lang.Integer,Channel>DefaultChannelGroup. serverChannelsMethods in org.jboss.netty.channel.group that return Channel Modifier and Type Method Description ChannelChannelGroup. find(java.lang.Integer id)Returns theChannelwhose ID matches the specified integer.ChannelDefaultChannelGroup. find(java.lang.Integer id)Methods in org.jboss.netty.channel.group that return types with arguments of type Channel Modifier and Type Method Description java.util.Iterator<Channel>DefaultChannelGroup. iterator()Methods in org.jboss.netty.channel.group with parameters of type Channel Modifier and Type Method Description booleanDefaultChannelGroup. add(Channel channel)ChannelFutureChannelGroupFuture. find(Channel channel)Returns theChannelFutureof the individual I/O operation which is associated with the specifiedChannel.ChannelFutureDefaultChannelGroupFuture. find(Channel channel) -
Uses of Channel in org.jboss.netty.channel.local
Subinterfaces of Channel in org.jboss.netty.channel.local Modifier and Type Interface Description interfaceLocalChannelAChannelfor the local transport.interfaceLocalServerChannelAServerChannelfor the local transport.Classes in org.jboss.netty.channel.local that implement Channel Modifier and Type Class Description (package private) classDefaultLocalChannel(package private) classDefaultLocalServerChannelFields in org.jboss.netty.channel.local with type parameters of type Channel Modifier and Type Field Description private static java.util.concurrent.ConcurrentMap<LocalAddress,Channel>LocalChannelRegistry. mapMethods in org.jboss.netty.channel.local that return Channel Modifier and Type Method Description (package private) static ChannelLocalChannelRegistry. getChannel(LocalAddress address)Methods in org.jboss.netty.channel.local with parameters of type Channel Modifier and Type Method Description (package private) static booleanLocalChannelRegistry. register(LocalAddress address, Channel channel) -
Uses of Channel in org.jboss.netty.channel.socket
Subinterfaces of Channel in org.jboss.netty.channel.socket Modifier and Type Interface Description interfaceDatagramChannelA UDP/IPChannelwhich is created byDatagramChannelFactory.interfaceServerSocketChannelA TCP/IPServerChannelwhich accepts incoming TCP/IP connections.interfaceSocketChannelA TCP/IP socketChannelwhich was either accepted byServerSocketChannelor created byClientSocketChannelFactory.Constructors in org.jboss.netty.channel.socket with parameters of type Channel Constructor Description ChannelRunnableWrapper(Channel channel, java.lang.Runnable task) -
Uses of Channel in org.jboss.netty.channel.socket.http
Classes in org.jboss.netty.channel.socket.http that implement Channel Modifier and Type Class Description (package private) classHttpTunnelingClientSocketChannel -
Uses of Channel in org.jboss.netty.channel.socket.nio
Classes in org.jboss.netty.channel.socket.nio that implement Channel Modifier and Type Class Description (package private) classAbstractNioChannel<C extends java.nio.channels.SelectableChannel & java.nio.channels.WritableByteChannel>(package private) classNioAcceptedSocketChannel(package private) classNioClientSocketChannelclassNioDatagramChannelProvides an NIO basedDatagramChannel.(package private) classNioServerSocketChannelclassNioSocketChannelMethods in org.jboss.netty.channel.socket.nio with parameters of type Channel Modifier and Type Method Description protected abstract java.lang.RunnableAbstractNioSelector. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioClientBoss. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioDatagramWorker. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioServerBoss. createRegisterTask(Channel channel, ChannelFuture future)protected java.lang.RunnableNioWorker. createRegisterTask(Channel channel, ChannelFuture future)voidAbstractNioSelector. register(Channel channel, ChannelFuture future)voidNioSelector. register(Channel channel, ChannelFuture future)Constructors in org.jboss.netty.channel.socket.nio with parameters of type Channel Constructor Description AbstractNioChannel(java.lang.Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, AbstractNioWorker worker, C ch)AbstractNioChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, AbstractNioWorker worker, C ch)NioAcceptedSocketChannel(ChannelFactory factory, ChannelPipeline pipeline, Channel parent, ChannelSink sink, java.nio.channels.SocketChannel socket, NioWorker worker, java.lang.Thread bossThread)NioSocketChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, java.nio.channels.SocketChannel socket, NioWorker worker) -
Uses of Channel in org.jboss.netty.channel.socket.oio
Classes in org.jboss.netty.channel.socket.oio that implement Channel Modifier and Type Class Description (package private) classAbstractOioChannel(package private) classOioAcceptedSocketChannel(package private) classOioClientSocketChannel(package private) classOioDatagramChannel(package private) classOioServerSocketChannel(package private) classOioSocketChannelConstructors in org.jboss.netty.channel.socket.oio with parameters of type Channel Constructor Description AbstractOioChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)OioAcceptedSocketChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, java.net.Socket socket)OioSocketChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, java.net.Socket socket) -
Uses of Channel in org.jboss.netty.example.factorial
Methods in org.jboss.netty.example.factorial with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectBigIntegerDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectNumberEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.example.http.tunnel
Fields in org.jboss.netty.example.http.tunnel declared as Channel Modifier and Type Field Description private ChannelLocalEchoServerRegistration. serverChannel -
Uses of Channel in org.jboss.netty.example.http.upload
Methods in org.jboss.netty.example.http.upload with parameters of type Channel Modifier and Type Method Description private voidHttpUploadServerHandler. readHttpDataAllReceive(Channel channel)Example of reading all InterfaceHttpData from finished transferprivate voidHttpUploadServerHandler. writeResponse(Channel channel) -
Uses of Channel in org.jboss.netty.example.localtime
Fields in org.jboss.netty.example.localtime declared as Channel Modifier and Type Field Description private ChannelLocalTimeClientHandler. channel -
Uses of Channel in org.jboss.netty.example.portunification
Methods in org.jboss.netty.example.portunification with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectPortUnificationServerHandler. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) -
Uses of Channel in org.jboss.netty.example.proxy
Fields in org.jboss.netty.example.proxy declared as Channel Modifier and Type Field Description private ChannelHexDumpProxyInboundHandler.OutboundHandler. inboundChannelprivate ChannelHexDumpProxyInboundHandler. outboundChannelMethods in org.jboss.netty.example.proxy with parameters of type Channel Modifier and Type Method Description (package private) static voidHexDumpProxyInboundHandler. closeOnFlush(Channel ch)Closes the specified channel after all queued write requests are flushed.Constructors in org.jboss.netty.example.proxy with parameters of type Channel Constructor Description OutboundHandler(Channel inboundChannel) -
Uses of Channel in org.jboss.netty.handler.codec.base64
Methods in org.jboss.netty.handler.codec.base64 with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectBase64Decoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectBase64Encoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.compression
Methods in org.jboss.netty.handler.codec.compression with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectZlibDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectJdkZlibEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectZlibEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.embedder
Classes in org.jboss.netty.handler.codec.embedder that implement Channel Modifier and Type Class Description (package private) classEmbeddedChannelTODO Make EmbeddedChannel implement ChannelConfig and ChannelSink to reduce overhead.Fields in org.jboss.netty.handler.codec.embedder declared as Channel Modifier and Type Field Description private ChannelAbstractCodecEmbedder. channelMethods in org.jboss.netty.handler.codec.embedder that return Channel Modifier and Type Method Description protected ChannelAbstractCodecEmbedder. getChannel()Returns the virtualChannelwhich will be used as a mock during encoding and decoding.ChannelEmbeddedChannelFactory. newChannel(ChannelPipeline pipeline) -
Uses of Channel in org.jboss.netty.handler.codec.frame
Methods in org.jboss.netty.handler.codec.frame with parameters of type Channel Modifier and Type Method Description private voidFrameDecoder. callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer cumulation, java.net.SocketAddress remoteAddress)protected java.lang.ObjectDelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectFixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected abstract java.lang.ObjectFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)Decodes the received packets so far into a frame.protected java.lang.ObjectLengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectLineBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectFrameDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)Decodes the received data so far into a frame when the channel is disconnected.protected java.lang.ObjectLengthFieldPrepender. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.http
Methods in org.jboss.netty.handler.codec.http with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectHttpClientCodec.Decoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)protected java.lang.ObjectHttpMessageDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)protected java.lang.ObjectHttpClientCodec.Encoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectHttpMessageEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.http.websocketx
Methods in org.jboss.netty.handler.codec.http.websocketx with parameters of type Channel Modifier and Type Method Description protected voidWebSocket08FrameDecoder. checkCloseFrameBody(Channel channel, ChannelBuffer buffer)private voidWebSocket08FrameDecoder. checkUTF8String(Channel channel, byte[] bytes)abstract ChannelFutureWebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame)Performs the closing handshakeChannelFutureWebSocketServerHandshaker00. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frameChannelFutureWebSocketServerHandshaker07. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frame and close the connectionChannelFutureWebSocketServerHandshaker08. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frame and close the connectionChannelFutureWebSocketServerHandshaker13. close(Channel channel, CloseWebSocketFrame frame)Echo back the closing frame and close the connectionprotected java.lang.ObjectWebSocket00FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected java.lang.ObjectWebSocket08FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, WebSocket08FrameDecoder.State state)protected java.lang.ObjectWebSocketFrameAggregator. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object message)protected java.lang.ObjectWebSocket00FrameEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectWebSocket08FrameEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)abstract voidWebSocketClientHandshaker. finishHandshake(Channel channel, HttpResponse response)Validates and finishes the opening handshake initiated byWebSocketClientHandshaker.handshake(org.jboss.netty.channel.Channel)}.voidWebSocketClientHandshaker00. finishHandshake(Channel channel, HttpResponse response)Process server response:voidWebSocketClientHandshaker07. finishHandshake(Channel channel, HttpResponse response)Process server response:voidWebSocketClientHandshaker08. finishHandshake(Channel channel, HttpResponse response)Process server response:voidWebSocketClientHandshaker13. finishHandshake(Channel channel, HttpResponse response)Process server response:abstract ChannelFutureWebSocketClientHandshaker. handshake(Channel channel)Begins the opening handshakeChannelFutureWebSocketClientHandshaker00. handshake(Channel channel)Sends the opening request to the server:ChannelFutureWebSocketClientHandshaker07. handshake(Channel channel)/**ChannelFutureWebSocketClientHandshaker08. handshake(Channel channel)/**ChannelFutureWebSocketClientHandshaker13. handshake(Channel channel)/**abstract ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)Performs the opening handshakeChannelFutureWebSocketServerHandshaker00. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi version 0 and lower.ChannelFutureWebSocketServerHandshaker07. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi version 7.ChannelFutureWebSocketServerHandshaker08. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi version 8 to 10.ChannelFutureWebSocketServerHandshaker13. handshake(Channel channel, HttpRequest req)Handle the web socket handshake for the web socket specification HyBi versions 13-17.private voidWebSocket08FrameDecoder. protocolViolation(Channel channel, java.lang.String reason)private voidWebSocket08FrameDecoder. protocolViolation(Channel channel, CorruptedFrameException ex)(package private) static voidWebSocketClientHandshaker. replaceDecoder(Channel channel, ChannelHandler wsDecoder)Replace the HTTP decoder with a new Web Socket decoder.ChannelFutureWebSocketServerHandshakerFactory. sendUnsupportedWebSocketVersionResponse(Channel channel)Return that we need cannot not support the web socket versionprotected ChannelFutureWebSocketServerHandshaker. writeHandshakeResponse(Channel channel, HttpResponse res, ChannelHandler encoder, ChannelHandler decoder)Upgrades the connection and send the handshake response. -
Uses of Channel in org.jboss.netty.handler.codec.marshalling
Methods in org.jboss.netty.handler.codec.marshalling with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectCompatibleMarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected java.lang.ObjectMarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectCompatibleMarshallingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)protected java.lang.ObjectCompatibleMarshallingEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectMarshallingEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.oneone
Methods in org.jboss.netty.handler.codec.oneone with parameters of type Channel Modifier and Type Method Description protected abstract java.lang.ObjectOneToOneDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)Transforms the specified received message into another message and return the transformed message.protected abstract java.lang.ObjectOneToOneEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)Transforms the specified message into another message and return the transformed message. -
Uses of Channel in org.jboss.netty.handler.codec.protobuf
Methods in org.jboss.netty.handler.codec.protobuf with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectProtobufDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectProtobufVarint32FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectProtobufEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectProtobufVarint32LengthFieldPrepender. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.replay
Methods in org.jboss.netty.handler.codec.replay with parameters of type Channel Modifier and Type Method Description private voidReplayingDecoder. callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer input, ChannelBuffer replayableInput, java.net.SocketAddress remoteAddress)protected java.lang.ObjectReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected abstract java.lang.ObjectReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)Decodes the received packets so far into a frame.protected java.lang.ObjectReplayingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectReplayingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)Decodes the received data so far into a frame when the channel is disconnected. -
Uses of Channel in org.jboss.netty.handler.codec.rtsp
Methods in org.jboss.netty.handler.codec.rtsp with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectRtspMessageDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)protected java.lang.ObjectRtspMessageEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.serialization
Methods in org.jboss.netty.handler.codec.serialization with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectObjectDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectCompatibleObjectEncoder. encode(ChannelHandlerContext context, Channel channel, java.lang.Object msg)protected java.lang.ObjectObjectEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.socks
Methods in org.jboss.netty.handler.codec.socks with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectSocksAuthRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthRequestDecoder.State state)protected java.lang.ObjectSocksAuthResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthResponseDecoder.State state)protected java.lang.ObjectSocksCmdRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdRequestDecoder.State state)protected java.lang.ObjectSocksCmdResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdResponseDecoder.State state)protected java.lang.ObjectSocksInitRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitRequestDecoder.State state)protected java.lang.ObjectSocksInitResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitResponseDecoder.State state)protected java.lang.ObjectSocksMessageEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.spdy
Methods in org.jboss.netty.handler.codec.spdy with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectSpdyFrameCodec. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)protected java.lang.ObjectSpdyHttpDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)private voidSpdySessionHandler. issueSessionError(ChannelHandlerContext ctx, Channel channel, java.net.SocketAddress remoteAddress, SpdySessionStatus status)private ChannelFutureSpdySessionHandler. sendGoAwayFrame(ChannelHandlerContext ctx, Channel channel, java.net.SocketAddress remoteAddress, SpdySessionStatus status) -
Uses of Channel in org.jboss.netty.handler.codec.string
Methods in org.jboss.netty.handler.codec.string with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectStringDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)protected java.lang.ObjectStringEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg) -
Uses of Channel in org.jboss.netty.handler.execution
Fields in org.jboss.netty.handler.execution with type parameters of type Channel Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<Channel,java.util.concurrent.atomic.AtomicLong>MemoryAwareThreadPoolExecutor. channelCountersMethods in org.jboss.netty.handler.execution with parameters of type Channel Modifier and Type Method Description private java.util.concurrent.atomic.AtomicLongMemoryAwareThreadPoolExecutor. getChannelCounter(Channel channel) -
Uses of Channel in org.jboss.netty.handler.ssl
Methods in org.jboss.netty.handler.ssl that return Channel Modifier and Type Method Description ChannelSslHandler.SSLEngineInboundCloseFuture. getChannel()Methods in org.jboss.netty.handler.ssl with parameters of type Channel Modifier and Type Method Description protected java.lang.ObjectSslHandler. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer in)private voidSslHandler. setHandshakeFailure(Channel channel, javax.net.ssl.SSLException cause)private voidSslHandler. setHandshakeSuccess(Channel channel)private booleanSslHandler. setHandshakeSuccessIfStillHandshaking(Channel channel)Works around some AndroidSSLEngineimplementations that skipSSLEngineResult.HandshakeStatus.FINISHEDand go straight intoSSLEngineResult.HandshakeStatus.NOT_HANDSHAKINGwhen handshake is finished.private ChannelBufferSslHandler. unwrap(ChannelHandlerContext ctx, Channel channel, java.nio.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) -
Uses of Channel in org.jboss.netty.handler.timeout
Fields in org.jboss.netty.handler.timeout declared as Channel Modifier and Type Field Description private ChannelDefaultIdleStateEvent. channelMethods in org.jboss.netty.handler.timeout that return Channel Modifier and Type Method Description ChannelDefaultIdleStateEvent. getChannel()Constructors in org.jboss.netty.handler.timeout with parameters of type Channel Constructor Description DefaultIdleStateEvent(Channel channel, IdleState state, long lastActivityTimeMillis)Creates a new instance.
-