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
Channel
s 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
ChannelBuffer
s
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 TypeInterfaceDescriptioninterface
Classes in org.jboss.netty.channel that implement ChannelModifier and TypeClassDescriptionclass
A skeletalChannel
implementation.class
A skeletal server-sideChannel
implementation.Fields in org.jboss.netty.channel declared as ChannelModifier and TypeFieldDescriptionprivate final Channel
CompleteChannelFuture.channel
private final Channel
DefaultChannelFuture.channel
private Channel
DefaultChannelPipeline.channel
private final Channel
DefaultExceptionEvent.channel
private final Channel
DefaultWriteCompletionEvent.channel
private final Channel
DownstreamChannelStateEvent.channel
private final Channel
DownstreamMessageEvent.channel
private final Channel
UpstreamChannelStateEvent.channel
private final Channel
UpstreamMessageEvent.channel
private final Channel
DefaultChildChannelStateEvent.childChannel
private final Channel
AbstractChannel.parent
private final Channel
DefaultChildChannelStateEvent.parentChannel
Fields in org.jboss.netty.channel with type parameters of type ChannelModifier and TypeFieldDescription(package private) static final ConcurrentMap
<Integer, Channel> AbstractChannel.allChannels
private final ConcurrentMap
<Channel, T> ChannelLocal.map
Methods in org.jboss.netty.channel that return ChannelModifier and TypeMethodDescriptionChannelEvent.getChannel()
Returns theChannel
which is associated with this event.ChannelFuture.getChannel()
Returns a channel where the I/O operation associated with this future takes place.ChannelHandlerContext.getChannel()
Returns theChannel
that theChannelPipeline
belongs to.ChannelPipeline.getChannel()
Returns theChannel
that this pipeline is attached to.ChildChannelStateEvent.getChannel()
Returns the parentChannel
which 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 childChannel
whose 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 Integer
AbstractChannel.allocateId
(Channel channel) void
ChannelPipeline.attach
(Channel channel, ChannelSink sink) Attaches this pipeline to the specifiedChannel
andChannelSink
.void
DefaultChannelPipeline.attach
(Channel channel, ChannelSink sink) static ChannelFuture
Channels.bind
(Channel channel, SocketAddress localAddress) Sends a"bind"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Sends a"close"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.final int
Compares the ID of the two channels.static ChannelFuture
Channels.connect
(Channel channel, SocketAddress remoteAddress) Sends a"connect"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.disconnect
(Channel channel) Sends a"disconnect"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.failedFuture
(Channel channel, Throwable cause) Creates a newChannelFuture
which has failed already for the specifiedChannel
.static void
Channels.fireChannelBound
(Channel channel, SocketAddress localAddress) Sends a"channelBound"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static void
Channels.fireChannelClosed
(Channel channel) Sends a"channelClosed"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.fireChannelClosedLater
(Channel channel) Sends a"channelClosed"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static void
Channels.fireChannelConnected
(Channel channel, SocketAddress remoteAddress) Sends a"channelConnected"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static void
Channels.fireChannelDisconnected
(Channel channel) Sends a"channelDisconnected"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.fireChannelDisconnectedLater
(Channel channel) Sends a"channelDisconnected"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static void
Channels.fireChannelInterestChanged
(Channel channel) Sends a"channelInterestChanged"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.fireChannelInterestChangedLater
(Channel channel) Sends a"channelInterestChanged"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static void
Channels.fireChannelOpen
(Channel channel) Sends a"channelOpen"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static void
Channels.fireChannelUnbound
(Channel channel) Sends a"channelUnbound"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.fireChannelUnboundLater
(Channel channel) Sends a"channelUnbound"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.private static void
Channels.fireChildChannelStateChanged
(Channel channel, Channel childChannel) static void
Channels.fireExceptionCaught
(Channel channel, Throwable cause) Sends a"exceptionCaught"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.fireExceptionCaughtLater
(Channel channel, Throwable cause) Sends a"exceptionCaught"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
once the io-thread runs again.static void
Channels.fireMessageReceived
(Channel channel, Object message) Sends a"messageReceived"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static void
Channels.fireMessageReceived
(Channel channel, Object message, SocketAddress remoteAddress) Sends a"messageReceived"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
belongs.static void
Channels.fireWriteComplete
(Channel channel, long amount) Sends a"writeComplete"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.fireWriteCompleteLater
(Channel channel, long amount) Sends a"writeComplete"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
in the next io-thread.static ChannelFuture
Creates a new non-cancellableChannelFuture
for the specifiedChannel
.static ChannelFuture
Creates a newChannelFuture
for the specifiedChannel
.Returns the value of this variable.protected T
ChannelLocal.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 ChannelFuture
Channels.setInterestOps
(Channel channel, int interestOps) Sends a"setInterestOps"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.succeededFuture
(Channel channel) Creates a newChannelFuture
which is already succeeded for the specifiedChannel
.static ChannelFuture
Sends a"unbind"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Sends a"write"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels.write
(Channel channel, Object message, SocketAddress remoteAddress) Sends a"write"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.Constructors in org.jboss.netty.channel with parameters of type ChannelModifierConstructorDescriptionprotected
AbstractChannel
(Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) (Internal use only) Creates a new temporary instance with the specified ID.protected
AbstractChannel
(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) Creates a new instance.protected
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, 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
Fields in org.jboss.netty.channel.group with type parameters of type ChannelModifier and TypeFieldDescriptionprivate final ConcurrentMap
<Integer, Channel> DefaultChannelGroup.nonServerChannels
private final ConcurrentMap
<Integer, Channel> DefaultChannelGroup.serverChannels
Methods 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 TypeMethodDescriptionboolean
Returns theChannelFuture
of 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 TypeInterfaceDescriptioninterface
AChannel
for the local transport.interface
AServerChannel
for the local transport.Classes in org.jboss.netty.channel.local that implement ChannelModifier and TypeClassDescription(package private) final class
(package private) final class
Fields in org.jboss.netty.channel.local with type parameters of type ChannelModifier and TypeFieldDescriptionprivate static final ConcurrentMap
<LocalAddress, Channel> LocalChannelRegistry.map
Methods in org.jboss.netty.channel.local that return ChannelModifier and TypeMethodDescription(package private) static Channel
LocalChannelRegistry.getChannel
(LocalAddress address) Methods in org.jboss.netty.channel.local with parameters of type ChannelModifier and TypeMethodDescription(package private) static boolean
LocalChannelRegistry.register
(LocalAddress address, Channel channel) -
Uses of Channel in org.jboss.netty.channel.socket
Subinterfaces of Channel in org.jboss.netty.channel.socketModifier and TypeInterfaceDescriptioninterface
A UDP/IPChannel
which is created byDatagramChannelFactory
.interface
A TCP/IPServerChannel
which accepts incoming TCP/IP connections.interface
A TCP/IP socketChannel
which was either accepted byServerSocketChannel
or 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) class
AbstractNioChannel<C extends SelectableChannel & WritableByteChannel>
(package private) final class
(package private) final class
class
Provides an NIO basedDatagramChannel
.(package private) class
class
Methods in org.jboss.netty.channel.socket.nio with parameters of type ChannelModifier and TypeMethodDescriptionprotected abstract Runnable
AbstractNioSelector.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioClientBoss.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioDatagramWorker.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioServerBoss.createRegisterTask
(Channel channel, ChannelFuture future) protected Runnable
NioWorker.createRegisterTask
(Channel channel, ChannelFuture future) void
AbstractNioSelector.register
(Channel channel, ChannelFuture future) void
NioSelector.register
(Channel channel, ChannelFuture future) Constructors in org.jboss.netty.channel.socket.nio with parameters of type ChannelModifierConstructorDescriptionprotected
AbstractNioChannel
(Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, AbstractNioWorker worker, C ch) protected
AbstractNioChannel
(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) class
Constructors 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 Object
BigIntegerDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
NumberEncoder.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 void
HttpUploadServerHandler.readHttpDataAllReceive
(Channel channel) Example of reading all InterfaceHttpData from finished transferprivate void
HttpUploadServerHandler.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 Object
PortUnificationServerHandler.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 Channel
HexDumpProxyInboundHandler.OutboundHandler.inboundChannel
private Channel
HexDumpProxyInboundHandler.outboundChannel
Methods in org.jboss.netty.example.proxy with parameters of type ChannelModifier and TypeMethodDescription(package private) static void
HexDumpProxyInboundHandler.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 Object
Base64Decoder.decode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
Base64Encoder.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 Object
ZlibDecoder.decode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
JdkZlibEncoder.encode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
ZlibEncoder.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) class
TODO 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 Channel
AbstractCodecEmbedder.getChannel()
Returns the virtualChannel
which 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 void
FrameDecoder.callDecode
(ChannelHandlerContext context, Channel channel, ChannelBuffer cumulation, SocketAddress remoteAddress) protected Object
DelimiterBasedFrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
FixedLengthFrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected abstract Object
FrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) Decodes the received packets so far into a frame.protected Object
LengthFieldBasedFrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
LineBasedFrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
FrameDecoder.decodeLast
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) Decodes the received data so far into a frame when the channel is disconnected.protected Object
LengthFieldPrepender.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 Object
HttpClientCodec.Decoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) protected Object
HttpMessageDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) protected Object
HttpClientCodec.Encoder.encode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
HttpMessageEncoder.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 void
WebSocket08FrameDecoder.checkCloseFrameBody
(Channel channel, ChannelBuffer buffer) private void
WebSocket08FrameDecoder.checkUTF8String
(Channel channel, byte[] bytes) abstract ChannelFuture
WebSocketServerHandshaker.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 Object
WebSocket00FrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state) protected Object
WebSocket08FrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, WebSocket08FrameDecoder.State state) protected Object
WebSocketFrameAggregator.decode
(ChannelHandlerContext ctx, Channel channel, Object message) protected Object
WebSocket00FrameEncoder.encode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
WebSocket08FrameEncoder.encode
(ChannelHandlerContext ctx, Channel channel, Object msg) abstract void
WebSocketClientHandshaker.finishHandshake
(Channel channel, HttpResponse response) Validates and finishes the opening handshake initiated byWebSocketClientHandshaker.handshake(org.jboss.netty.channel.Channel)
}.void
WebSocketClientHandshaker00.finishHandshake
(Channel channel, HttpResponse response) Process server response:void
WebSocketClientHandshaker07.finishHandshake
(Channel channel, HttpResponse response) Process server response:void
WebSocketClientHandshaker08.finishHandshake
(Channel channel, HttpResponse response) Process server response:void
WebSocketClientHandshaker13.finishHandshake
(Channel channel, HttpResponse response) Process server response:abstract ChannelFuture
Begins the opening handshakeSends the opening request to the server:/**/**/**abstract ChannelFuture
WebSocketServerHandshaker.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 void
WebSocket08FrameDecoder.protocolViolation
(Channel channel, String reason) private void
WebSocket08FrameDecoder.protocolViolation
(Channel channel, CorruptedFrameException ex) (package private) static void
WebSocketClientHandshaker.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 ChannelFuture
WebSocketServerHandshaker.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 Object
CompatibleMarshallingDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state) protected Object
MarshallingDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
CompatibleMarshallingDecoder.decodeLast
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state) protected Object
CompatibleMarshallingEncoder.encode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
MarshallingEncoder.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 Object
OneToOneDecoder.decode
(ChannelHandlerContext ctx, Channel channel, Object msg) Transforms the specified received message into another message and return the transformed message.protected abstract Object
OneToOneEncoder.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 Object
ProtobufDecoder.decode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
ProtobufVarint32FrameDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
ProtobufEncoder.encode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
ProtobufVarint32LengthFieldPrepender.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 void
ReplayingDecoder.callDecode
(ChannelHandlerContext context, Channel channel, ChannelBuffer input, ChannelBuffer replayableInput, SocketAddress remoteAddress) protected final Object
ReplayingDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected abstract Object
ReplayingDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state) Decodes the received packets so far into a frame.protected final Object
ReplayingDecoder.decodeLast
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
ReplayingDecoder.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 Object
RtspMessageDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state) protected Object
RtspMessageEncoder.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 Object
ObjectDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
CompatibleObjectEncoder.encode
(ChannelHandlerContext context, Channel channel, Object msg) protected Object
ObjectEncoder.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 Object
SocksAuthRequestDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthRequestDecoder.State state) protected Object
SocksAuthResponseDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthResponseDecoder.State state) protected Object
SocksCmdRequestDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdRequestDecoder.State state) protected Object
SocksCmdResponseDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdResponseDecoder.State state) protected Object
SocksInitRequestDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitRequestDecoder.State state) protected Object
SocksInitResponseDecoder.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitResponseDecoder.State state) protected Object
SocksMessageEncoder.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 Object
SpdyFrameCodec.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) protected Object
SpdyHttpDecoder.decode
(ChannelHandlerContext ctx, Channel channel, Object msg) private void
SpdySessionHandler.issueSessionError
(ChannelHandlerContext ctx, Channel channel, SocketAddress remoteAddress, SpdySessionStatus status) private ChannelFuture
SpdySessionHandler.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 Object
StringDecoder.decode
(ChannelHandlerContext ctx, Channel channel, Object msg) protected Object
StringEncoder.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.channelCounters
Methods in org.jboss.netty.handler.execution with parameters of type ChannelModifier and TypeMethodDescriptionprivate AtomicLong
MemoryAwareThreadPoolExecutor.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 Object
SslHandler.decode
(ChannelHandlerContext ctx, Channel channel, ChannelBuffer in) private void
SslHandler.setHandshakeFailure
(Channel channel, SSLException cause) private void
SslHandler.setHandshakeSuccess
(Channel channel) private boolean
SslHandler.setHandshakeSuccessIfStillHandshaking
(Channel channel) Works around some AndroidSSLEngine
implementations that skipSSLEngineResult.HandshakeStatus.FINISHED
and go straight intoSSLEngineResult.HandshakeStatus.NOT_HANDSHAKING
when handshake is finished.private ChannelBuffer
SslHandler.unwrap
(ChannelHandlerContext ctx, Channel channel, ByteBuffer nioInNetBuf, int initialNettyOutAppBufCapacity, boolean mightNeedHandshake) Unwraps inbound SSL records.private void
SslHandler.unwrapNonAppData
(ChannelHandlerContext ctx, Channel channel, boolean mightNeedHandshake) CallsSSLEngine.unwrap(ByteBuffer, ByteBuffer)
with an empty buffer to handle handshakes, etc.private void
SslHandler.wrap
(ChannelHandlerContext context, Channel channel) private ChannelFuture
SslHandler.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.