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 openChannel
s 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-sideSocketChannel
and 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-encodedString
orChannelBuffer
into a decodedChannelBuffer
and vice versa.org.jboss.netty.handler.codec.compression Encoder and decoder which compresses and decompressesChannelBuffer
s 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 BuffersMessage
into aChannelBuffer
and vice versa.org.jboss.netty.handler.codec.replay Specialized variation ofFrameDecoder
which 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 aSerializable
object 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 aString
into aChannelBuffer
and 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 onSSLEngine
org.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 Channel
ConnectionlessBootstrap. bind()
Creates a new channel which is bound to the local address which was specified in the current"localAddress"
option.Channel
ConnectionlessBootstrap. bind(java.net.SocketAddress localAddress)
Creates a new channel which is bound to the specified local address.Channel
ServerBootstrap. bind()
Creates a new channel which is bound to the local address which was specified in the current"localAddress"
option.Channel
ServerBootstrap. 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 interface
ServerChannel
Classes in org.jboss.netty.channel that implement Channel Modifier and Type Class Description class
AbstractChannel
A skeletalChannel
implementation.class
AbstractServerChannel
A skeletal server-sideChannel
implementation.Fields in org.jboss.netty.channel declared as Channel Modifier and Type Field Description private Channel
CompleteChannelFuture. channel
private Channel
DefaultChannelFuture. channel
private Channel
DefaultChannelPipeline. channel
private Channel
DefaultExceptionEvent. channel
private Channel
DefaultWriteCompletionEvent. channel
private Channel
DownstreamChannelStateEvent. channel
private Channel
DownstreamMessageEvent. channel
private Channel
UpstreamChannelStateEvent. channel
private Channel
UpstreamMessageEvent. channel
private Channel
DefaultChildChannelStateEvent. childChannel
private Channel
AbstractChannel. parent
private Channel
DefaultChildChannelStateEvent. parentChannel
Fields 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. allChannels
private java.util.concurrent.ConcurrentMap<Channel,T>
ChannelLocal. map
Methods in org.jboss.netty.channel that return Channel Modifier and Type Method Description Channel
ChannelEvent. getChannel()
Returns theChannel
which is associated with this event.Channel
ChannelFuture. getChannel()
Returns a channel where the I/O operation associated with this future takes place.Channel
ChannelHandlerContext. getChannel()
Returns theChannel
that theChannelPipeline
belongs to.Channel
ChannelPipeline. getChannel()
Returns theChannel
that this pipeline is attached to.Channel
ChildChannelStateEvent. getChannel()
Returns the parentChannel
which is associated with this event.Channel
CompleteChannelFuture. getChannel()
Channel
DefaultChannelFuture. getChannel()
Channel
DefaultChannelPipeline.DefaultChannelHandlerContext. getChannel()
Channel
DefaultChannelPipeline. getChannel()
Channel
DefaultChildChannelStateEvent. getChannel()
Channel
DefaultExceptionEvent. getChannel()
Channel
DefaultWriteCompletionEvent. getChannel()
Channel
DownstreamChannelStateEvent. getChannel()
Channel
DownstreamMessageEvent. getChannel()
Channel
UpstreamChannelStateEvent. getChannel()
Channel
UpstreamMessageEvent. getChannel()
Channel
ChildChannelStateEvent. getChildChannel()
Returns the childChannel
whose state has been changed.Channel
DefaultChildChannelStateEvent. getChildChannel()
Channel
AbstractChannel. getParent()
Channel
Channel. getParent()
Returns the parent of this channel.Channel
ChannelFactory. 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-onlyIterator
that 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.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, java.net.SocketAddress localAddress)
Sends a"bind"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels. close(Channel channel)
Sends a"close"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.int
AbstractChannel. compareTo(Channel o)
Compares the ID of the two channels.static ChannelFuture
Channels. connect(Channel channel, java.net.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, java.lang.Throwable cause)
Creates a newChannelFuture
which has failed already for the specifiedChannel
.static void
Channels. fireChannelBound(Channel channel, java.net.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, java.net.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, java.lang.Throwable cause)
Sends a"exceptionCaught"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels. fireExceptionCaughtLater(Channel channel, java.lang.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, java.lang.Object message)
Sends a"messageReceived"
event to the firstChannelUpstreamHandler
in theChannelPipeline
of the specifiedChannel
.static void
Channels. fireMessageReceived(Channel channel, java.lang.Object message, java.net.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
Channels. future(Channel channel)
Creates a new non-cancellableChannelFuture
for the specifiedChannel
.static ChannelFuture
Channels. future(Channel channel, boolean cancellable)
Creates a newChannelFuture
for the specifiedChannel
.T
ChannelLocal. get(Channel channel)
Returns the value of this variable.protected T
ChannelLocal. initialValue(Channel channel)
Returns the initial value of the variable.T
ChannelLocal. remove(Channel channel)
Removes the variable and returns the removed value.T
ChannelLocal. set(Channel channel, T value)
Sets the value of this variable.T
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
Channels. unbind(Channel channel)
Sends a"unbind"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels. write(Channel channel, java.lang.Object message)
Sends a"write"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of the specifiedChannel
.static ChannelFuture
Channels. write(Channel channel, java.lang.Object message, java.net.SocketAddress remoteAddress)
Sends a"write"
request to the lastChannelDownstreamHandler
in theChannelPipeline
of 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. nonServerChannels
private java.util.concurrent.ConcurrentMap<java.lang.Integer,Channel>
DefaultChannelGroup. serverChannels
Methods in org.jboss.netty.channel.group that return Channel Modifier and Type Method Description Channel
ChannelGroup. find(java.lang.Integer id)
Returns theChannel
whose ID matches the specified integer.Channel
DefaultChannelGroup. 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 boolean
DefaultChannelGroup. add(Channel channel)
ChannelFuture
ChannelGroupFuture. find(Channel channel)
Returns theChannelFuture
of the individual I/O operation which is associated with the specifiedChannel
.ChannelFuture
DefaultChannelGroupFuture. 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 interface
LocalChannel
AChannel
for the local transport.interface
LocalServerChannel
AServerChannel
for the local transport.Classes in org.jboss.netty.channel.local that implement Channel Modifier and Type Class Description (package private) class
DefaultLocalChannel
(package private) class
DefaultLocalServerChannel
Fields 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. map
Methods in org.jboss.netty.channel.local that return Channel Modifier and Type Method Description (package private) static Channel
LocalChannelRegistry. getChannel(LocalAddress address)
Methods in org.jboss.netty.channel.local with parameters of type Channel Modifier and Type Method Description (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.socket Modifier and Type Interface Description interface
DatagramChannel
A UDP/IPChannel
which is created byDatagramChannelFactory
.interface
ServerSocketChannel
A TCP/IPServerChannel
which accepts incoming TCP/IP connections.interface
SocketChannel
A TCP/IP socketChannel
which was either accepted byServerSocketChannel
or 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) class
HttpTunnelingClientSocketChannel
-
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) class
AbstractNioChannel<C extends java.nio.channels.SelectableChannel & java.nio.channels.WritableByteChannel>
(package private) class
NioAcceptedSocketChannel
(package private) class
NioClientSocketChannel
class
NioDatagramChannel
Provides an NIO basedDatagramChannel
.(package private) class
NioServerSocketChannel
class
NioSocketChannel
Methods in org.jboss.netty.channel.socket.nio with parameters of type Channel Modifier and Type Method Description protected abstract java.lang.Runnable
AbstractNioSelector. createRegisterTask(Channel channel, ChannelFuture future)
protected java.lang.Runnable
NioClientBoss. createRegisterTask(Channel channel, ChannelFuture future)
protected java.lang.Runnable
NioDatagramWorker. createRegisterTask(Channel channel, ChannelFuture future)
protected java.lang.Runnable
NioServerBoss. createRegisterTask(Channel channel, ChannelFuture future)
protected java.lang.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 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) class
AbstractOioChannel
(package private) class
OioAcceptedSocketChannel
(package private) class
OioClientSocketChannel
(package private) class
OioDatagramChannel
(package private) class
OioServerSocketChannel
(package private) class
OioSocketChannel
Constructors 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.Object
BigIntegerDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
NumberEncoder. 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 Channel
LocalEchoServerRegistration. 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 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 Modifier and Type Field Description private Channel
LocalTimeClientHandler. 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.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 Channel Modifier and Type Field Description private Channel
HexDumpProxyInboundHandler.OutboundHandler. inboundChannel
private Channel
HexDumpProxyInboundHandler. outboundChannel
Methods in org.jboss.netty.example.proxy with parameters of type Channel Modifier and Type Method Description (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 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.Object
Base64Decoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
Base64Encoder. 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.Object
ZlibDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
JdkZlibEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
ZlibEncoder. 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) class
EmbeddedChannel
TODO 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 Channel
AbstractCodecEmbedder. channel
Methods in org.jboss.netty.handler.codec.embedder that return Channel Modifier and Type Method Description protected Channel
AbstractCodecEmbedder. getChannel()
Returns the virtualChannel
which will be used as a mock during encoding and decoding.Channel
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 Channel Modifier and Type Method Description private void
FrameDecoder. callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer cumulation, java.net.SocketAddress remoteAddress)
protected java.lang.Object
DelimiterBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
FixedLengthFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected abstract java.lang.Object
FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
Decodes the received packets so far into a frame.protected java.lang.Object
LengthFieldBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
LineBasedFrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
FrameDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
Decodes the received data so far into a frame when the channel is disconnected.protected java.lang.Object
LengthFieldPrepender. 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.Object
HttpClientCodec.Decoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)
protected java.lang.Object
HttpMessageDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)
protected java.lang.Object
HttpClientCodec.Encoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
HttpMessageEncoder. 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 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 handshakeChannelFuture
WebSocketServerHandshaker00. close(Channel channel, CloseWebSocketFrame frame)
Echo back the closing frameChannelFuture
WebSocketServerHandshaker07. close(Channel channel, CloseWebSocketFrame frame)
Echo back the closing frame and close the connectionChannelFuture
WebSocketServerHandshaker08. close(Channel channel, CloseWebSocketFrame frame)
Echo back the closing frame and close the connectionChannelFuture
WebSocketServerHandshaker13. close(Channel channel, CloseWebSocketFrame frame)
Echo back the closing frame and close the connectionprotected java.lang.Object
WebSocket00FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)
protected java.lang.Object
WebSocket08FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, WebSocket08FrameDecoder.State state)
protected java.lang.Object
WebSocketFrameAggregator. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object message)
protected java.lang.Object
WebSocket00FrameEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
WebSocket08FrameEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.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
WebSocketClientHandshaker. handshake(Channel channel)
Begins the opening handshakeChannelFuture
WebSocketClientHandshaker00. handshake(Channel channel)
Sends the opening request to the server:ChannelFuture
WebSocketClientHandshaker07. handshake(Channel channel)
/**ChannelFuture
WebSocketClientHandshaker08. handshake(Channel channel)
/**ChannelFuture
WebSocketClientHandshaker13. handshake(Channel channel)
/**abstract ChannelFuture
WebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)
Performs the opening handshakeChannelFuture
WebSocketServerHandshaker00. handshake(Channel channel, HttpRequest req)
Handle the web socket handshake for the web socket specification HyBi version 0 and lower.ChannelFuture
WebSocketServerHandshaker07. handshake(Channel channel, HttpRequest req)
Handle the web socket handshake for the web socket specification HyBi version 7.ChannelFuture
WebSocketServerHandshaker08. handshake(Channel channel, HttpRequest req)
Handle the web socket handshake for the web socket specification HyBi version 8 to 10.ChannelFuture
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, java.lang.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.ChannelFuture
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 Channel Modifier and Type Method Description protected java.lang.Object
CompatibleMarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)
protected java.lang.Object
MarshallingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
CompatibleMarshallingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)
protected java.lang.Object
CompatibleMarshallingEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
MarshallingEncoder. 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.Object
OneToOneDecoder. 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.Object
OneToOneEncoder. 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.Object
ProtobufDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
ProtobufVarint32FrameDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
ProtobufEncoder. encode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
ProtobufVarint32LengthFieldPrepender. 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 void
ReplayingDecoder. callDecode(ChannelHandlerContext context, Channel channel, ChannelBuffer input, ChannelBuffer replayableInput, java.net.SocketAddress remoteAddress)
protected java.lang.Object
ReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected abstract java.lang.Object
ReplayingDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)
Decodes the received packets so far into a frame.protected java.lang.Object
ReplayingDecoder. decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.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 Channel Modifier and Type Method Description protected java.lang.Object
RtspMessageDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)
protected java.lang.Object
RtspMessageEncoder. 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.Object
ObjectDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
CompatibleObjectEncoder. encode(ChannelHandlerContext context, Channel channel, java.lang.Object msg)
protected java.lang.Object
ObjectEncoder. 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.Object
SocksAuthRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthRequestDecoder.State state)
protected java.lang.Object
SocksAuthResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksAuthResponseDecoder.State state)
protected java.lang.Object
SocksCmdRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdRequestDecoder.State state)
protected java.lang.Object
SocksCmdResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksCmdResponseDecoder.State state)
protected java.lang.Object
SocksInitRequestDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitRequestDecoder.State state)
protected java.lang.Object
SocksInitResponseDecoder. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, SocksInitResponseDecoder.State state)
protected java.lang.Object
SocksMessageEncoder. 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.Object
SpdyFrameCodec. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
protected java.lang.Object
SpdyHttpDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
private void
SpdySessionHandler. issueSessionError(ChannelHandlerContext ctx, Channel channel, java.net.SocketAddress remoteAddress, SpdySessionStatus status)
private ChannelFuture
SpdySessionHandler. 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.Object
StringDecoder. decode(ChannelHandlerContext ctx, Channel channel, java.lang.Object msg)
protected java.lang.Object
StringEncoder. 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. channelCounters
Methods in org.jboss.netty.handler.execution with parameters of type Channel Modifier and Type Method Description private java.util.concurrent.atomic.AtomicLong
MemoryAwareThreadPoolExecutor. 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 Channel
SslHandler.SSLEngineInboundCloseFuture. getChannel()
Methods in org.jboss.netty.handler.ssl with parameters of type Channel Modifier and Type Method Description protected java.lang.Object
SslHandler. decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer in)
private void
SslHandler. setHandshakeFailure(Channel channel, javax.net.ssl.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, java.nio.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 Channel Modifier and Type Field Description private Channel
DefaultIdleStateEvent. channel
Methods in org.jboss.netty.handler.timeout that return Channel Modifier and Type Method Description Channel
DefaultIdleStateEvent. 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.
-