Uses of Interface
org.jboss.netty.channel.Channel
Packages that use Channel
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.
A channel registry which helps a user maintain the list of open
Channels and perform bulk operations on them.A virtual transport that enables the communication between the two
parties in the same virtual machine.
Abstract TCP and UDP socket interfaces which extend the core channel API.
An HTTP-based client-side
SocketChannel
and its corresponding server-side Servlet implementation that make your
existing server application work in a firewalled network.NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
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 threadsAdds support for read and write timeout and idle connection notification
using a
Timer.-
Uses of Channel in org.jboss.netty.bootstrap
Methods in org.jboss.netty.bootstrap that return ChannelModifier and TypeMethodDescriptionConnectionlessBootstrap.bind()Creates a new channel which is bound to the local address which was specified in the current"localAddress"option.ConnectionlessBootstrap.bind(SocketAddress localAddress) Creates a new channel which is bound to the specified local address.ServerBootstrap.bind()Creates a new channel which is bound to the local address which was specified in the current"localAddress"option.ServerBootstrap.bind(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.channelModifier and TypeInterfaceDescriptioninterfaceClasses in org.jboss.netty.channel that implement ChannelModifier and TypeClassDescriptionclassA skeletalChannelimplementation.classA skeletal server-sideChannelimplementation.Subinterfaces with type arguments of type Channel in org.jboss.netty.channelModifier and TypeInterfaceDescriptioninterfaceA nexus to a network socket or a component which is capable of I/O operations such as read, write, connect, and bind.Classes in org.jboss.netty.channel that implement interfaces with type arguments of type ChannelModifier and TypeClassDescriptionclassChannelLocal<T>A global variable that is local to aChannel.Fields in org.jboss.netty.channel declared as ChannelModifier and TypeFieldDescriptionprivate final ChannelCompleteChannelFuture.channelprivate final ChannelDefaultChannelFuture.channelprivate ChannelDefaultChannelPipeline.channelprivate final ChannelDefaultExceptionEvent.channelprivate final ChannelDefaultWriteCompletionEvent.channelprivate final ChannelDownstreamChannelStateEvent.channelprivate final ChannelDownstreamMessageEvent.channelprivate final ChannelUpstreamChannelStateEvent.channelprivate final ChannelUpstreamMessageEvent.channelprivate final ChannelDefaultChildChannelStateEvent.childChannelprivate final ChannelAbstractChannel.parentprivate final ChannelDefaultChildChannelStateEvent.parentChannelFields in org.jboss.netty.channel with type parameters of type ChannelModifier and TypeFieldDescription(package private) static final ConcurrentMap<Integer, Channel> AbstractChannel.allChannelsprivate final ConcurrentMap<Channel, T> ChannelLocal.mapMethods in org.jboss.netty.channel that return ChannelModifier and TypeMethodDescriptionChannelEvent.getChannel()Returns theChannelwhich is associated with this event.ChannelFuture.getChannel()Returns a channel where the I/O operation associated with this future takes place.ChannelHandlerContext.getChannel()Returns theChannelthat theChannelPipelinebelongs to.ChannelPipeline.getChannel()Returns theChannelthat this pipeline is attached to.ChildChannelStateEvent.getChannel()Returns the parentChannelwhich is associated with this event.CompleteChannelFuture.getChannel()DefaultChannelFuture.getChannel()DefaultChannelPipeline.DefaultChannelHandlerContext.getChannel()DefaultChannelPipeline.getChannel()DefaultChildChannelStateEvent.getChannel()DefaultExceptionEvent.getChannel()DefaultWriteCompletionEvent.getChannel()DownstreamChannelStateEvent.getChannel()DownstreamMessageEvent.getChannel()UpstreamChannelStateEvent.getChannel()UpstreamMessageEvent.getChannel()ChildChannelStateEvent.getChildChannel()Returns the childChannelwhose state has been changed.DefaultChildChannelStateEvent.getChildChannel()AbstractChannel.getParent()Channel.getParent()Returns the parent of this channel.ChannelFactory.newChannel(ChannelPipeline pipeline) Methods in org.jboss.netty.channel that return types with arguments of type ChannelMethods in org.jboss.netty.channel with parameters of type ChannelModifier and TypeMethodDescriptionprivate static 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, SocketAddress localAddress) Sends a"bind"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureSends a"close"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.final intCompares the ID of the two channels.static ChannelFutureChannels.connect(Channel channel, 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, Throwable cause) Creates a newChannelFuturewhich has failed already for the specifiedChannel.static voidChannels.fireChannelBound(Channel channel, 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, 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, Throwable cause) Sends a"exceptionCaught"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels.fireExceptionCaughtLater(Channel channel, Throwable cause) Sends a"exceptionCaught"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannelonce the io-thread runs again.static voidChannels.fireMessageReceived(Channel channel, Object message) Sends a"messageReceived"event to the firstChannelUpstreamHandlerin theChannelPipelineof the specifiedChannel.static voidChannels.fireMessageReceived(Channel channel, Object message, 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 ChannelFutureCreates a new non-cancellableChannelFuturefor the specifiedChannel.static ChannelFutureCreates a newChannelFuturefor the specifiedChannel.Returns the value of this variable.protected TChannelLocal.initialValue(Channel channel) Returns the initial value of the variable.Removes the variable and returns the removed value.Sets the value of this variable.ChannelLocal.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 ChannelFutureSends a"unbind"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureSends a"write"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.static ChannelFutureChannels.write(Channel channel, Object message, SocketAddress remoteAddress) Sends a"write"request to the lastChannelDownstreamHandlerin theChannelPipelineof the specifiedChannel.Constructors in org.jboss.netty.channel with parameters of type ChannelModifierConstructorDescriptionprotectedAbstractChannel(Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) (Internal use only) Creates a new temporary instance with the specified ID.protectedAbstractChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) Creates a new instance.protectedCompleteChannelFuture(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, Throwable cause) Creates a new instance.DefaultWriteCompletionEvent(Channel channel, long writtenAmount) Creates a new instance.DownstreamChannelStateEvent(Channel channel, ChannelFuture future, ChannelState state, Object value) Creates a new instance.DownstreamMessageEvent(Channel channel, ChannelFuture future, Object message, SocketAddress remoteAddress) Creates a new instance.FailedChannelFuture(Channel channel, Throwable cause) Creates a new instance.SucceededChannelFuture(Channel channel) Creates a new instance.UpstreamChannelStateEvent(Channel channel, ChannelState state, Object value) Creates a new instance.UpstreamMessageEvent(Channel channel, Object message, SocketAddress remoteAddress) Creates a new instance. -
Uses of Channel in org.jboss.netty.channel.group
Subclasses with type arguments of type Channel in org.jboss.netty.channel.groupSubinterfaces with type arguments of type Channel in org.jboss.netty.channel.groupModifier and TypeInterfaceDescriptioninterfaceFields in org.jboss.netty.channel.group with type parameters of type ChannelModifier and TypeFieldDescriptionprivate final ConcurrentMap<Integer, Channel> DefaultChannelGroup.nonServerChannelsprivate final ConcurrentMap<Integer, Channel> DefaultChannelGroup.serverChannelsMethods in org.jboss.netty.channel.group that return ChannelMethods in org.jboss.netty.channel.group that return types with arguments of type ChannelMethods in org.jboss.netty.channel.group with parameters of type ChannelModifier and TypeMethodDescriptionbooleanReturns theChannelFutureof the individual I/O operation which is associated with the specifiedChannel. -
Uses of Channel in org.jboss.netty.channel.local
Subinterfaces of Channel in org.jboss.netty.channel.localModifier and TypeInterfaceDescriptioninterfaceAChannelfor the local transport.interfaceAServerChannelfor the local transport.Classes in org.jboss.netty.channel.local that implement ChannelModifier and TypeClassDescription(package private) final class(package private) final classFields in org.jboss.netty.channel.local with type parameters of type ChannelModifier and TypeFieldDescriptionprivate static final ConcurrentMap<LocalAddress, Channel> LocalChannelRegistry.mapMethods in org.jboss.netty.channel.local that return ChannelModifier and TypeMethodDescription(package private) static ChannelLocalChannelRegistry.getChannel(LocalAddress address) Methods in org.jboss.netty.channel.local with parameters of type ChannelModifier and TypeMethodDescription(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.socketModifier and TypeInterfaceDescriptioninterfaceA UDP/IPChannelwhich is created byDatagramChannelFactory.interfaceA TCP/IPServerChannelwhich accepts incoming TCP/IP connections.interfaceA TCP/IP socketChannelwhich was either accepted byServerSocketChannelor created byClientSocketChannelFactory.Constructors in org.jboss.netty.channel.socket with parameters of type Channel -
Uses of Channel in org.jboss.netty.channel.socket.http
Classes in org.jboss.netty.channel.socket.http that implement Channel -
Uses of Channel in org.jboss.netty.channel.socket.nio
Classes in org.jboss.netty.channel.socket.nio that implement ChannelModifier and TypeClassDescription(package private) classAbstractNioChannel<C extends SelectableChannel & WritableByteChannel>(package private) final class(package private) final classclassProvides an NIO basedDatagramChannel.(package private) classclassMethods in org.jboss.netty.channel.socket.nio with parameters of type ChannelModifier and TypeMethodDescriptionprotected abstract RunnableAbstractNioSelector.createRegisterTask(Channel channel, ChannelFuture future) protected RunnableNioClientBoss.createRegisterTask(Channel channel, ChannelFuture future) protected RunnableNioDatagramWorker.createRegisterTask(Channel channel, ChannelFuture future) protected RunnableNioServerBoss.createRegisterTask(Channel channel, ChannelFuture future) protected 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 ChannelModifierConstructorDescriptionprotectedAbstractNioChannel(Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, AbstractNioWorker worker, C ch) protectedAbstractNioChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, AbstractNioWorker worker, C ch) (package private)NioAcceptedSocketChannel(ChannelFactory factory, ChannelPipeline pipeline, Channel parent, ChannelSink sink, SocketChannel socket, NioWorker worker, Thread bossThread) NioSocketChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, SocketChannel socket, NioWorker worker) -
Uses of Channel in org.jboss.netty.channel.socket.oio
Classes in org.jboss.netty.channel.socket.oio that implement ChannelModifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) final class(package private) class(package private) classConstructors in org.jboss.netty.channel.socket.oio with parameters of type ChannelModifierConstructorDescription(package private)AbstractOioChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) (package private)OioAcceptedSocketChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, Socket socket) (package private)OioSocketChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, Socket socket) -
Uses of Channel in org.jboss.netty.example.factorial
Methods in org.jboss.netty.example.factorial with parameters of type ChannelModifier and TypeMethodDescriptionprotected ObjectBigIntegerDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectNumberEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of Channel in org.jboss.netty.example.http.tunnel
Fields in org.jboss.netty.example.http.tunnel declared as Channel -
Uses of Channel in org.jboss.netty.example.http.upload
Methods in org.jboss.netty.example.http.upload with parameters of type ChannelModifier and TypeMethodDescriptionprivate 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 -
Uses of Channel in org.jboss.netty.example.portunification
Methods in org.jboss.netty.example.portunification with parameters of type ChannelModifier and TypeMethodDescriptionprotected 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 ChannelModifier and TypeFieldDescriptionprivate final ChannelHexDumpProxyInboundHandler.OutboundHandler.inboundChannelprivate ChannelHexDumpProxyInboundHandler.outboundChannelMethods in org.jboss.netty.example.proxy with parameters of type ChannelModifier and TypeMethodDescription(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 -
Uses of Channel in org.jboss.netty.handler.codec.base64
Methods in org.jboss.netty.handler.codec.base64 with parameters of type ChannelModifier and TypeMethodDescriptionprotected ObjectBase64Decoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectBase64Encoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.compression
Methods in org.jboss.netty.handler.codec.compression with parameters of type ChannelModifier and TypeMethodDescriptionprotected 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) -
Uses of Channel in org.jboss.netty.handler.codec.embedder
Classes in org.jboss.netty.handler.codec.embedder that implement ChannelModifier and TypeClassDescription(package private) classTODO Make EmbeddedChannel implement ChannelConfig and ChannelSink to reduce overhead.Fields in org.jboss.netty.handler.codec.embedder declared as ChannelMethods in org.jboss.netty.handler.codec.embedder that return ChannelModifier and TypeMethodDescriptionprotected final ChannelAbstractCodecEmbedder.getChannel()Returns the virtualChannelwhich will be used as a mock during encoding and decoding.EmbeddedChannelFactory.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 ChannelModifier and TypeMethodDescriptionprivate voidFrameDecoder.callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer cumulation, SocketAddress remoteAddress) 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) -
Uses of Channel in org.jboss.netty.handler.codec.http
Methods in org.jboss.netty.handler.codec.http with parameters of type ChannelModifier and TypeMethodDescriptionprotected 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) -
Uses of Channel in org.jboss.netty.handler.codec.http.websocketx
Methods in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelModifier and TypeMethodDescriptionprotected voidWebSocket08FrameDecoder.checkCloseFrameBody(Channel channel, ChannelBuffer buffer) private voidWebSocket08FrameDecoder.checkUTF8String(Channel channel, byte[] bytes) abstract ChannelFutureWebSocketServerHandshaker.close(Channel channel, CloseWebSocketFrame frame) Performs the closing handshakeWebSocketServerHandshaker00.close(Channel channel, CloseWebSocketFrame frame) Echo back the closing frameWebSocketServerHandshaker07.close(Channel channel, CloseWebSocketFrame frame) Echo back the closing frame and close the connectionWebSocketServerHandshaker08.close(Channel channel, CloseWebSocketFrame frame) Echo back the closing frame and close the connectionWebSocketServerHandshaker13.close(Channel channel, CloseWebSocketFrame frame) Echo back the closing frame and close the connectionprotected 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) abstract voidWebSocketClientHandshaker.finishHandshake(Channel channel, HttpResponse response) Validates and finishes the opening handshake initiated byWebSocketClientHandshaker.handshake(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 ChannelFutureBegins the opening handshakeSends the opening request to the server:/**/**/**abstract ChannelFutureWebSocketServerHandshaker.handshake(Channel channel, HttpRequest req) Performs the opening handshakeWebSocketServerHandshaker00.handshake(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi version 0 and lower.WebSocketServerHandshaker07.handshake(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi version 7.WebSocketServerHandshaker08.handshake(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi version 8 to 10.WebSocketServerHandshaker13.handshake(Channel channel, HttpRequest req) Handle the web socket handshake for the web socket specification HyBi versions 13-17.private voidWebSocket08FrameDecoder.protocolViolation(Channel channel, 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.WebSocketServerHandshakerFactory.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 ChannelModifier 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) -
Uses of Channel in org.jboss.netty.handler.codec.oneone
Methods in org.jboss.netty.handler.codec.oneone with parameters of type ChannelModifier 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 abstract ObjectOneToOneEncoder.encode(ChannelHandlerContext ctx, Channel channel, 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 ChannelModifier 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 Channel in org.jboss.netty.handler.codec.replay
Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelModifier and TypeMethodDescriptionprivate voidReplayingDecoder.callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer input, ChannelBuffer replayableInput, SocketAddress remoteAddress) 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. -
Uses of Channel in org.jboss.netty.handler.codec.rtsp
Methods in org.jboss.netty.handler.codec.rtsp with parameters of type ChannelModifier and TypeMethodDescriptionprotected ObjectRtspMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) protected ObjectRtspMessageEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of Channel in org.jboss.netty.handler.codec.serialization
Methods in org.jboss.netty.handler.codec.serialization with parameters of type ChannelModifier and TypeMethodDescriptionprotected 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 Channel in org.jboss.netty.handler.codec.socks
Methods in org.jboss.netty.handler.codec.socks with parameters of type ChannelModifier 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 Channel in org.jboss.netty.handler.codec.spdy
Methods in org.jboss.netty.handler.codec.spdy with parameters of type ChannelModifier and TypeMethodDescriptionprotected ObjectSpdyFrameCodec.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected ObjectSpdyHttpDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) private voidSpdySessionHandler.issueSessionError(ChannelHandlerContext ctx, Channel channel, SocketAddress remoteAddress, SpdySessionStatus status) private ChannelFutureSpdySessionHandler.sendGoAwayFrame(ChannelHandlerContext ctx, Channel channel, 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 ChannelModifier and TypeMethodDescriptionprotected ObjectStringDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg) protected ObjectStringEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg) -
Uses of Channel in org.jboss.netty.handler.execution
Fields in org.jboss.netty.handler.execution with type parameters of type ChannelModifier and TypeFieldDescriptionprivate final ConcurrentMap<Channel, AtomicLong> MemoryAwareThreadPoolExecutor.channelCountersMethods in org.jboss.netty.handler.execution with parameters of type ChannelModifier and TypeMethodDescriptionprivate AtomicLongMemoryAwareThreadPoolExecutor.getChannelCounter(Channel channel) -
Uses of Channel in org.jboss.netty.handler.ssl
Methods in org.jboss.netty.handler.ssl that return ChannelMethods in org.jboss.netty.handler.ssl with parameters of type ChannelModifier and TypeMethodDescriptionprotected ObjectSslHandler.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer in) private voidSslHandler.setHandshakeFailure(Channel channel, 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, 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 ChannelMethods in org.jboss.netty.handler.timeout that return ChannelConstructors in org.jboss.netty.handler.timeout with parameters of type ChannelModifierConstructorDescriptionDefaultIdleStateEvent(Channel channel, IdleState state, long lastActivityTimeMillis) Creates a new instance.