A B C D E F G H I J L M N O P R S T U V W

A

AbstractChannel - Class in org.jboss.netty.channel
A skeletal Channel implementation.
AbstractChannel(Channel, ChannelFactory, ChannelPipeline, ChannelSink) - Constructor for class org.jboss.netty.channel.AbstractChannel
Creates a new instance.
AbstractChannelBuffer - Class in org.jboss.netty.buffer
A skeletal implementation of a buffer.
AbstractChannelBuffer() - Constructor for class org.jboss.netty.buffer.AbstractChannelBuffer
 
AbstractChannelSink - Class in org.jboss.netty.channel
A skeletal ChannelSink implementation.
AbstractChannelSink() - Constructor for class org.jboss.netty.channel.AbstractChannelSink
Creates a new instance.
AbstractServerChannel - Class in org.jboss.netty.channel
A skeletal server-side Channel implementation.
AbstractServerChannel(ChannelFactory, ChannelPipeline, ChannelSink) - Constructor for class org.jboss.netty.channel.AbstractServerChannel
Creates a new instance.
addAfter(String, String, ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Inserts a ChannelHandler after an existing handler of this pipeline.
addAfter(String, String, ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
addBefore(String, String, ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Inserts a ChannelHandler before an existing handler of this pipeline.
addBefore(String, String, ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
addFirst(String, ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Inserts a ChannelHandler at the first position of this pipeline.
addFirst(String, ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
addLast(String, ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Appends a ChannelHandler at the last position of this pipeline.
addLast(String, ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
addListener(ChannelFutureListener) - Method in interface org.jboss.netty.channel.ChannelFuture
Adds the specified listener to this future.
addListener(ChannelFutureListener) - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
addListener(ChannelFutureListener) - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
afterExecute(Runnable, Throwable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
 
ALL - Static variable in annotation type org.jboss.netty.channel.ChannelPipelineCoverage
"all"
array - Variable in class org.jboss.netty.buffer.HeapChannelBuffer
The underlying heap byte array that this buffer is wrapping.
attach(Channel, ChannelSink) - Method in interface org.jboss.netty.channel.ChannelPipeline
Attaches this pipeline to the specified Channel and ChannelSink.
attach(Channel, ChannelSink) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
available() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
available() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
await() - Method in interface org.jboss.netty.channel.ChannelFuture
Waits for this future to be completed.
await(long, TimeUnit) - Method in interface org.jboss.netty.channel.ChannelFuture
Waits for this future to be completed within the specified time limit.
await(long) - Method in interface org.jboss.netty.channel.ChannelFuture
Waits for this future to be completed within the specified time limit.
await() - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
await(long, TimeUnit) - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
await(long) - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
await() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
await(long, TimeUnit) - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
await(long) - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
awaitUninterruptibly() - Method in interface org.jboss.netty.channel.ChannelFuture
Waits for this future to be completed without interruption.
awaitUninterruptibly(long, TimeUnit) - Method in interface org.jboss.netty.channel.ChannelFuture
Waits for this future to be completed within the specified time limit without interruption.
awaitUninterruptibly(long) - Method in interface org.jboss.netty.channel.ChannelFuture
Waits for this future to be completed within the specified time limit without interruption.
awaitUninterruptibly() - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
awaitUninterruptibly(long, TimeUnit) - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
awaitUninterruptibly(long) - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
awaitUninterruptibly() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
awaitUninterruptibly(long, TimeUnit) - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
awaitUninterruptibly(long) - Method in class org.jboss.netty.channel.DefaultChannelFuture
 

B

beforeExecute(Thread, Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
 
BIG_ENDIAN - Static variable in class org.jboss.netty.buffer.ChannelBuffers
Big endian byte order.
BigEndianHeapChannelBuffer - Class in org.jboss.netty.buffer
A big-endian Java heap buffer.
BigEndianHeapChannelBuffer(int) - Constructor for class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
Creates a new big-endian heap buffer with a newly allocated byte array.
BigEndianHeapChannelBuffer(byte[]) - Constructor for class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
Creates a new big-endian heap buffer with an existing byte array.
bind() - Method in class org.jboss.netty.bootstrap.ServerBootstrap
Creates a new channel which is bound to the local address which was specified in the current "localAddress" option.
bind(SocketAddress) - Method in class org.jboss.netty.bootstrap.ServerBootstrap
Creates a new channel which is bound to the specified local address.
bind(SocketAddress) - Method in class org.jboss.netty.channel.AbstractChannel
 
bind(SocketAddress) - Method in interface org.jboss.netty.channel.Channel
Binds this channel to the specified local address asynchronously.
bind(Channel, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "bind" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
bind(ChannelHandlerContext, Channel, ChannelFuture, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "bind" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
bindRequested(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when Channel.bind(SocketAddress) was called.
Bootstrap - Class in org.jboss.netty.bootstrap
A helper class which initializes a Channel.
Bootstrap() - Constructor for class org.jboss.netty.bootstrap.Bootstrap
Creates a new instance with no ChannelFactory set.
Bootstrap(ChannelFactory) - Constructor for class org.jboss.netty.bootstrap.Bootstrap
Creates a new instance with the specified initial ChannelFactory.
buffer() - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
Returns the buffer where this stream is writing data.
buffer(int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian Java heap buffer with the specified capacity.
buffer(ByteOrder, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new Java heap buffer with the specified endianness and capacity.
ByteBufferBackedChannelBuffer - Class in org.jboss.netty.buffer
A NIO ByteBuffer based buffer.
ByteBufferBackedChannelBuffer(ByteBuffer) - Constructor for class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
Creates a new buffer which wraps the specified buffer's slice.

C

cancel() - Method in interface org.jboss.netty.channel.ChannelFuture
Cancels the I/O operation associated with this future and notifies all listeners if canceled successfully.
cancel() - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
cancel() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
canHandleDownstream() - Method in interface org.jboss.netty.channel.ChannelHandlerContext
Returns true if and only if the ChannelHandler is an instance of ChannelDownstreamHandler.
canHandleUpstream() - Method in interface org.jboss.netty.channel.ChannelHandlerContext
Returns true if and only if the ChannelHandler is an instance of ChannelUpstreamHandler.
capacity() - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
capacity() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns the number of bytes (octets) this buffer can contain.
capacity() - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
capacity() - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
capacity() - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
capacity() - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
capacity() - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
capacity() - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
capacity() - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
Channel - Interface in org.jboss.netty.channel
A nexus to a network socket or a component which is capable of I/O operations such as read, write, connect, and bind.
channelBound(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a Channel is open and bound to a local address, but not connected.
ChannelBuffer - Interface in org.jboss.netty.buffer
A random and sequential accessible sequence of zero or more bytes (octets).
ChannelBufferIndexFinder - Interface in org.jboss.netty.buffer
Locates an index of data in ChannelBuffer.
ChannelBufferInputStream - Class in org.jboss.netty.buffer
An InputStream which reads data from a ChannelBuffer.
ChannelBufferInputStream(ChannelBuffer) - Constructor for class org.jboss.netty.buffer.ChannelBufferInputStream
Creates a new stream which reads data from the specified buffer starting at the current readerIndex and ending at the current writerIndex.
ChannelBufferInputStream(ChannelBuffer, int) - Constructor for class org.jboss.netty.buffer.ChannelBufferInputStream
Creates a new stream which reads data from the specified buffer starting at the current readerIndex and ending at readerIndex + length.
ChannelBufferOutputStream - Class in org.jboss.netty.buffer
An OutputStream which writes data to a ChannelBuffer.
ChannelBufferOutputStream(ChannelBuffer) - Constructor for class org.jboss.netty.buffer.ChannelBufferOutputStream
Creates a new stream which writes data to the specified buffer.
ChannelBuffers - Class in org.jboss.netty.buffer
Creates a new ChannelBuffer by allocating new space or by wrapping or copying existing byte arrays, byte buffers and a string.
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a Channel was closed and all its related resources were released.
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.handler.codec.frame.FrameDecoder
 
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
 
ChannelConfig - Interface in org.jboss.netty.channel
A set of configuration properties of a Channel.
channelConnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a Channel is open, bound to a local address, and connected to a remote address.
channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a Channel was disconnected from its remote peer.
channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.handler.codec.frame.FrameDecoder
 
channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
 
channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.handler.ssl.SslHandler
 
ChannelDownstreamHandler - Interface in org.jboss.netty.channel
Handles or intercepts a downstream ChannelEvent, and sends a ChannelEvent to the previous or next handler in a ChannelPipeline.
ChannelEvent - Interface in org.jboss.netty.channel
An I/O event or I/O request associated with a Channel.
ChannelEventRunnable - Class in org.jboss.netty.handler.execution
a Runnable which sends the specified ChannelEvent upstream.
ChannelEventRunnable(ChannelHandlerContext, ChannelEvent) - Constructor for class org.jboss.netty.handler.execution.ChannelEventRunnable
Creates a Runnable which sends the specified ChannelEvent upstream via the specified ChannelHandlerContext.
ChannelException - Exception in org.jboss.netty.channel
A RuntimeException which is thrown when an I/O operation fails.
ChannelException() - Constructor for exception org.jboss.netty.channel.ChannelException
Creates a new exception.
ChannelException(String, Throwable) - Constructor for exception org.jboss.netty.channel.ChannelException
Creates a new exception.
ChannelException(String) - Constructor for exception org.jboss.netty.channel.ChannelException
Creates a new exception.
ChannelException(Throwable) - Constructor for exception org.jboss.netty.channel.ChannelException
Creates a new exception.
ChannelFactory - Interface in org.jboss.netty.channel
The main interface to a transport that creates a Channel associated with a certain communication entity such as a network socket.
ChannelFuture - Interface in org.jboss.netty.channel
The result of an asynchronous Channel I/O operation.
ChannelFutureListener - Interface in org.jboss.netty.channel
Listens to the result of a ChannelFuture.
ChannelHandler - Interface in org.jboss.netty.channel
Handles or intercepts a ChannelEvent, and sends a ChannelEvent to the next or previous handler in a ChannelPipeline.
ChannelHandlerContext - Interface in org.jboss.netty.channel
Provides the properties and operations which are specific to the ChannelHandler and the ChannelPipeline it belongs to.
channelInterestChanged(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a Channel's interestOps was changed.
channelOpen(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a Channel is open, but not bound nor connected.
ChannelPipeline - Interface in org.jboss.netty.channel
A list of ChannelHandlers which handles or intercepts ChannelEvents of a Channel.
ChannelPipelineCoverage - Annotation Type in org.jboss.netty.channel
Specifies if the same instance of the annotated ChannelHandler type can be added to more than one ChannelPipeline.
ChannelPipelineException - Exception in org.jboss.netty.channel
A ChannelException which is thrown when a ChannelPipeline failed to process a ChannelEvent or when a ChannelPipelineFactory failed to initialize a ChannelPipeline.
ChannelPipelineException() - Constructor for exception org.jboss.netty.channel.ChannelPipelineException
Creates a new instance.
ChannelPipelineException(String, Throwable) - Constructor for exception org.jboss.netty.channel.ChannelPipelineException
Creates a new instance.
ChannelPipelineException(String) - Constructor for exception org.jboss.netty.channel.ChannelPipelineException
Creates a new instance.
ChannelPipelineException(Throwable) - Constructor for exception org.jboss.netty.channel.ChannelPipelineException
Creates a new instance.
ChannelPipelineFactory - Interface in org.jboss.netty.channel
Creates a new ChannelPipeline for a new Channel.
Channels - Class in org.jboss.netty.channel
A helper class which provides various convenience methods related with Channel, ChannelHandler, and ChannelPipeline.
ChannelSink - Interface in org.jboss.netty.channel
Receives and processes the terminal downstream ChannelEvents.
ChannelState - Enum in org.jboss.netty.channel
Represents the current or future state of a Channel.
ChannelStateEvent - Interface in org.jboss.netty.channel
A ChannelEvent which represents the change of the Channel state.
channelUnbound(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a Channel was unbound from the current local address.
ChannelUpstreamHandler - Interface in org.jboss.netty.channel
Handles or intercepts an upstream ChannelEvent, and sends a ChannelEvent to the next or previous handler in a ChannelPipeline.
checkpoint() - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
Stores the internal cumulative buffer's reader position.
checkpoint(T) - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
Stores the internal cumulative buffer's reader position and updates the current decoder state.
checkReadableBytes(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
Throws an IndexOutOfBoundsException if the current readable bytes of this buffer is less than the specified value.
childChannelClosed(ChannelHandlerContext, ChildChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a child Channel was closed.
childChannelOpen(ChannelHandlerContext, ChildChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a child Channel was open.
ChildChannelStateEvent - Interface in org.jboss.netty.channel
A ChannelEvent which represents the notification of the state of a child Channel.
clear() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
clear() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the readerIndex and writerIndex of this buffer to 0.
ClientBootstrap - Class in org.jboss.netty.bootstrap
A helper class which creates a new client-side Channel and makes a connection attempt.
ClientBootstrap() - Constructor for class org.jboss.netty.bootstrap.ClientBootstrap
Creates a new instance with no ChannelFactory set.
ClientBootstrap(ChannelFactory) - Constructor for class org.jboss.netty.bootstrap.ClientBootstrap
Creates a new instance with the specified initial ChannelFactory.
ClientSocketChannelFactory - Interface in org.jboss.netty.channel.socket
A ChannelFactory which creates a client-side SocketChannel.
close() - Method in class org.jboss.netty.channel.AbstractChannel
 
close() - Method in interface org.jboss.netty.channel.Channel
Closes this channel asynchronously.
CLOSE - Static variable in interface org.jboss.netty.channel.ChannelFutureListener
A ChannelFutureListener that closes the Channel which is associated with the specified ChannelFuture.
close(Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "close" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
close(ChannelHandlerContext, Channel, ChannelFuture) - Static method in class org.jboss.netty.channel.Channels
Sends a "close" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
close() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
close() - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
close(Channel) - Method in class org.jboss.netty.handler.ssl.SslHandler
Sends an SSL close_notify message to the specified channel and destroys the underlying SSLEngine.
closeRequested(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when Channel.close() was called.
CommonsLoggerFactory - Class in org.jboss.netty.logging
Logger factory which creates an Apache Commons Logging logger.
CommonsLoggerFactory() - Constructor for class org.jboss.netty.logging.CommonsLoggerFactory
 
compare(ChannelBuffer, ChannelBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Compares the two specified buffers as described in ChannelBuffer.compareTo(ChannelBuffer).
compareTo(ChannelBuffer) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
compareTo(ChannelBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Compares the content of the specified buffer to the content of this buffer.
compareTo(Channel) - Method in class org.jboss.netty.channel.AbstractChannel
Compares the ID of the two channels.
CompatibleObjectDecoder - Class in org.jboss.netty.handler.codec.serialization
A decoder which deserializes the received ChannelBuffers into Java objects (interoperability version).
CompatibleObjectDecoder() - Constructor for class org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoder
Creates a new decoder.
CompatibleObjectEncoder - Class in org.jboss.netty.handler.codec.serialization
An encoder which serializes a Java object into a ChannelBuffer (interoperability version).
CompatibleObjectEncoder() - Constructor for class org.jboss.netty.handler.codec.serialization.CompatibleObjectEncoder
Creates a new instance with the reset interval of 16.
CompatibleObjectEncoder(int) - Constructor for class org.jboss.netty.handler.codec.serialization.CompatibleObjectEncoder
Creates a new instance.
CompleteChannelFuture - Class in org.jboss.netty.channel
A skeletal ChannelFuture implementation which represents a ChannelFuture which has been completed already.
CompleteChannelFuture(Channel) - Constructor for class org.jboss.netty.channel.CompleteChannelFuture
Creates a new instance.
CompositeChannelBuffer - Class in org.jboss.netty.buffer
A virtual buffer which shows multiple buffers as a single merged buffer.
CompositeChannelBuffer(ChannelBuffer...) - Constructor for class org.jboss.netty.buffer.CompositeChannelBuffer
 
connect() - Method in class org.jboss.netty.bootstrap.ClientBootstrap
Attempts a new connection with the current "remoteAddress" and "localAddress" option.
connect(SocketAddress) - Method in class org.jboss.netty.bootstrap.ClientBootstrap
Attempts a new connection with the specified remoteAddress and the current "localAddress" option.
connect(SocketAddress, SocketAddress) - Method in class org.jboss.netty.bootstrap.ClientBootstrap
Attempts a new connection with the specified remoteAddress and the specified localAddress.
connect(SocketAddress) - Method in class org.jboss.netty.channel.AbstractChannel
 
connect(SocketAddress) - Method in class org.jboss.netty.channel.AbstractServerChannel
 
connect(SocketAddress) - Method in interface org.jboss.netty.channel.Channel
Connects this channel to the specified remote address asynchronously.
connect(Channel, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "connect" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
connect(ChannelHandlerContext, Channel, ChannelFuture, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "connect" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
connectRequested(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when Channel.connect(SocketAddress) was called.
copiedBuffer(byte[]) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian buffer whose content is a copy of the specified array.
copiedBuffer(ByteOrder, byte[]) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer with the specified endianness whose content is a copy of the specified array.
copiedBuffer(byte[], int, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian buffer whose content is a copy of the specified array's sub-region.
copiedBuffer(ByteOrder, byte[], int, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer with the specified endianness whose content is a copy of the specified array's sub-region.
copiedBuffer(ByteBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer whose content is a copy of the specified buffer's current slice.
copiedBuffer(ChannelBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer whose content is a copy of the specified buffer's readable bytes.
copiedBuffer(byte[]...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian buffer whose content is a merged copy of the specified arrays.
copiedBuffer(ByteOrder, byte[]...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer with the specified endianness whose content is a merged copy of the specified arrays.
copiedBuffer(ChannelBuffer...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer whose content is a merged copy of the specified buffers' readable bytes.
copiedBuffer(ByteBuffer...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer whose content is a merged copy of the specified buffers' slices.
copiedBuffer(String, String) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian buffer whose content is the specified string encoded by the specified charsetName.
copiedBuffer(ByteOrder, String, String) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer with the specified endianness whose content is the specified string encoded by the specified charsetName.
copy() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
copy() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a copy of this buffer's readable bytes.
copy(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a copy of this buffer's sub-region.
copy(int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
copy(int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
CR - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a CR ('\r') byte.
CRLF - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a CR ('\r') or LF ('\n').

D

debug(String) - Method in interface org.jboss.netty.logging.InternalLogger
Logs a DEBUG level message.
debug(String, Throwable) - Method in interface org.jboss.netty.logging.InternalLogger
Logs a DEBUG level message.
decode(ChannelHandlerContext, Channel, ChannelBuffer) - Method in class org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder
 
decode(ChannelHandlerContext, Channel, ChannelBuffer) - Method in class org.jboss.netty.handler.codec.frame.FixedLengthFrameDecoder
 
decode(ChannelHandlerContext, Channel, ChannelBuffer) - Method in class org.jboss.netty.handler.codec.frame.FrameDecoder
Decodes the received packets so far into a frame.
decode(ChannelHandlerContext, Channel, ChannelBuffer, T) - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
Decodes the received packets so far into a frame.
decode(ChannelHandlerContext, Channel, ChannelBuffer, CompatibleObjectDecoderState) - Method in class org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoder
 
decode(ChannelHandlerContext, Channel, ChannelBuffer) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoder
 
decode(ChannelHandlerContext, Channel, ChannelBuffer) - Method in class org.jboss.netty.handler.ssl.SslHandler
 
decodeLast(ChannelHandlerContext, Channel, ChannelBuffer) - Method in class org.jboss.netty.handler.codec.frame.FrameDecoder
Decodes the received data so far into a frame when the channel is disconnected.
decodeLast(ChannelHandlerContext, Channel, ChannelBuffer, T) - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
Decodes the received data so far into a frame when the channel is disconnected.
decodeLast(ChannelHandlerContext, Channel, ChannelBuffer, CompatibleObjectDecoderState) - Method in class org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoder
 
decreaseCounter(Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
 
DefaultChannelEvent - Class in org.jboss.netty.channel
The default ChannelEvent implementation.
DefaultChannelEvent(Channel, ChannelFuture) - Constructor for class org.jboss.netty.channel.DefaultChannelEvent
Creates a new instance.
DefaultChannelFuture - Class in org.jboss.netty.channel
The default ChannelFuture implementation.
DefaultChannelFuture(Channel, boolean) - Constructor for class org.jboss.netty.channel.DefaultChannelFuture
Creates a new instance.
DefaultChannelPipeline - Class in org.jboss.netty.channel
The default ChannelPipeline implementation.
DefaultChannelPipeline() - Constructor for class org.jboss.netty.channel.DefaultChannelPipeline
Creates a new empty pipeline.
DefaultChannelStateEvent - Class in org.jboss.netty.channel
The default ChannelStateEvent implementation.
DefaultChannelStateEvent(Channel, ChannelFuture, ChannelState, Object) - Constructor for class org.jboss.netty.channel.DefaultChannelStateEvent
Creates a new instance.
DefaultChildChannelStateEvent - Class in org.jboss.netty.channel
The default ChildChannelStateEvent implementation.
DefaultChildChannelStateEvent(Channel, ChannelFuture, Channel) - Constructor for class org.jboss.netty.channel.DefaultChildChannelStateEvent
Creates a new instance.
DefaultExceptionEvent - Class in org.jboss.netty.channel
The default ExceptionEvent implementation.
DefaultExceptionEvent(Channel, ChannelFuture, Throwable) - Constructor for class org.jboss.netty.channel.DefaultExceptionEvent
Creates a new instance.
DefaultMessageEvent - Class in org.jboss.netty.channel
The default MessageEvent implementation.
DefaultMessageEvent(Channel, ChannelFuture, Object, SocketAddress) - Constructor for class org.jboss.netty.channel.DefaultMessageEvent
Creates a new instance.
DefaultObjectSizeEstimator - Class in org.jboss.netty.handler.execution
The default ObjectSizeEstimator implementation for general purpose.
DefaultObjectSizeEstimator() - Constructor for class org.jboss.netty.handler.execution.DefaultObjectSizeEstimator
Creates a new instance.
DefaultReceiveBufferSizePredictor - Class in org.jboss.netty.channel.socket.nio
The default ReceiveBufferSizePredictor implementation.
DefaultReceiveBufferSizePredictor() - Constructor for class org.jboss.netty.channel.socket.nio.DefaultReceiveBufferSizePredictor
Creates a new predictor with the default parameters.
DefaultReceiveBufferSizePredictor(int, int, int) - Constructor for class org.jboss.netty.channel.socket.nio.DefaultReceiveBufferSizePredictor
Creates a new predictor with the specified parameters.
DefaultServerSocketChannelConfig - Class in org.jboss.netty.channel.socket
The default ServerSocketChannelConfig implementation.
DefaultServerSocketChannelConfig(ServerSocket) - Constructor for class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
Creates a new instance.
DefaultSocketChannelConfig - Class in org.jboss.netty.channel.socket
The default SocketChannelConfig implementation.
DefaultSocketChannelConfig(Socket) - Constructor for class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
Creates a new instance.
DelimiterBasedFrameDecoder - Class in org.jboss.netty.handler.codec.frame
A FrameDecoder which decodes the received ChannelBuffers into the ChannelBuffers split by one or more delimiters.
DelimiterBasedFrameDecoder(int, ChannelBuffer) - Constructor for class org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder
Creates a new instance.
DelimiterBasedFrameDecoder(int, ChannelBuffer...) - Constructor for class org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder
Creates a new instance.
Delimiters - Class in org.jboss.netty.handler.codec.frame
A set of delimiters for DelimiterBasedFrameDecoder for common use.
directBuffer(int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian direct buffer with the specified capacity.
directBuffer(ByteOrder, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new direct buffer with the specified endianness and capacity.
discardReadBytes() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
discardReadBytes() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Discards the bytes between the 0th index and readerIndex.
discardReadBytes() - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
disconnect() - Method in class org.jboss.netty.channel.AbstractChannel
 
disconnect() - Method in class org.jboss.netty.channel.AbstractServerChannel
 
disconnect() - Method in interface org.jboss.netty.channel.Channel
Disconnects this channel from the current remote address asynchronously.
disconnect(Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "disconnect" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
disconnect(ChannelHandlerContext, Channel, ChannelFuture) - Static method in class org.jboss.netty.channel.Channels
Sends a "disconnect" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
disconnectRequested(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when Channel.disconnect() was called.
doExecute(Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Put the actual execution logic here.
doExecute(Runnable) - Method in class org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor
Executes the specified task concurrently while maintaining the event order.
doUnorderedExecute(Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Executes the specified task without maintaining the event order.
duplicate() - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
duplicate() - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
duplicate() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a buffer which shares the whole region of this buffer.
duplicate() - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
duplicate() - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
duplicate() - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
duplicate() - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
duplicate() - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
duplicate() - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
duplicate() - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
DuplicatedChannelBuffer - Class in org.jboss.netty.buffer
A derived buffer which simply forwards all data access requests to its parent.
DuplicatedChannelBuffer(ChannelBuffer) - Constructor for class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
dynamicBuffer() - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian dynamic buffer whose estimated data length is 256 bytes.
dynamicBuffer(int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian dynamic buffer with the specified estimated data length.
dynamicBuffer(ByteOrder, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new dynamic buffer with the specified endianness and the specified estimated data length.
DynamicChannelBuffer - Class in org.jboss.netty.buffer
A dynamic capacity buffer which increases its capacity as needed.
DynamicChannelBuffer(int) - Constructor for class org.jboss.netty.buffer.DynamicChannelBuffer
 
DynamicChannelBuffer(ByteOrder, int) - Constructor for class org.jboss.netty.buffer.DynamicChannelBuffer
 

E

EMPTY_BUFFER - Static variable in class org.jboss.netty.buffer.ChannelBuffers
A buffer whose capacity is 0.
equals(Object) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
equals(Object) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Determines if the content of the specified buffer is identical to the content of this array.
equals(ChannelBuffer, ChannelBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Returns true if and only if the two specified buffers are identical to each other as described in ChannelBuffer#equals(Object).
equals(Object) - Method in class org.jboss.netty.channel.AbstractChannel
Returns true if and only if the specified object is identical with this channel (i.e: this == o).
error(String) - Method in interface org.jboss.netty.logging.InternalLogger
Logs an ERROR level message.
error(String, Throwable) - Method in interface org.jboss.netty.logging.InternalLogger
Logs an ERROR level message.
estimateSize(Object) - Method in class org.jboss.netty.handler.execution.DefaultObjectSizeEstimator
 
estimateSize(Object) - Method in interface org.jboss.netty.handler.execution.ObjectSizeEstimator
Returns the estimated size of the specified object in bytes.
eventSunk(ChannelPipeline, ChannelEvent) - Method in interface org.jboss.netty.channel.ChannelSink
Invoked by ChannelPipeline when a downstream ChannelEvent has reached its terminal (the head of the pipeline).
exceptionCaught(ChannelPipeline, ChannelEvent, ChannelPipelineException) - Method in class org.jboss.netty.channel.AbstractChannelSink
Sends an ExceptionEvent upstream with the specified cause.
exceptionCaught(ChannelPipeline, ChannelEvent, ChannelPipelineException) - Method in interface org.jboss.netty.channel.ChannelSink
Invoked by ChannelPipeline when an exception was raised while one of its ChannelHandlers process a ChannelEvent.
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when an exception was raised by an I/O thread or a ChannelHandler.
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class org.jboss.netty.handler.codec.frame.FrameDecoder
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
 
ExceptionEvent - Interface in org.jboss.netty.channel
A ChannelEvent which represents the notification of an exception raised by a ChannelHandler or an I/O thread.
execute(Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
 
ExecutionHandler - Class in org.jboss.netty.handler.execution
Forwards an upstream ChannelEvent to an Executor.
ExecutionHandler(Executor) - Constructor for class org.jboss.netty.handler.execution.ExecutionHandler
Creates a new instance with the specified Executor.

F

FailedChannelFuture - Class in org.jboss.netty.channel
The CompleteChannelFuture which is failed already.
FailedChannelFuture(Channel, Throwable) - Constructor for class org.jboss.netty.channel.FailedChannelFuture
Creates a new instance.
failedFuture(Channel, Throwable) - Static method in class org.jboss.netty.channel.Channels
Creates a new ChannelFuture which has failed already for the specified Channel.
find(ChannelBuffer, int) - Method in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Returns true if and only if the data is found at the specified guessedIndex of the specified buffer.
fireChannelBound(Channel, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelBound" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireChannelBound(ChannelHandlerContext, Channel, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelBound" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireChannelClosed(Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelClosed" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireChannelClosed(ChannelHandlerContext, Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelClosed" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireChannelConnected(Channel, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelConnected" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireChannelConnected(ChannelHandlerContext, Channel, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelConnected" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireChannelDisconnected(Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelDisconnected" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireChannelDisconnected(ChannelHandlerContext, Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelDisconnected" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireChannelInterestChanged(Channel, int) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelInterestChanged" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireChannelInterestChanged(ChannelHandlerContext, Channel, int) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelInterestChanged" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireChannelOpen(Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelOpen" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireChannelOpen(ChannelHandlerContext, Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelOpen" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireChannelUnbound(Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelUnbound" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireChannelUnbound(ChannelHandlerContext, Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "channelUnbound" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireExceptionCaught(Channel, Throwable) - Static method in class org.jboss.netty.channel.Channels
Sends a "exceptionCaught" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireExceptionCaught(ChannelHandlerContext, Channel, Throwable) - Static method in class org.jboss.netty.channel.Channels
Sends a "exceptionCaught" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireMessageReceived(Channel, Object) - Static method in class org.jboss.netty.channel.Channels
Sends a "messageReceived" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
fireMessageReceived(Channel, Object, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "messageReceived" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel belongs.
fireMessageReceived(ChannelHandlerContext, Channel, Object) - Static method in class org.jboss.netty.channel.Channels
Sends a "messageReceived" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
fireMessageReceived(ChannelHandlerContext, Channel, Object, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "messageReceived" event to the next ChannelUpstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
FixedLengthFrameDecoder - Class in org.jboss.netty.handler.codec.frame
A FrameDecoder which decodes the received ChannelBuffers into the ChannelBuffers of the fixed length.
FixedLengthFrameDecoder(int) - Constructor for class org.jboss.netty.handler.codec.frame.FixedLengthFrameDecoder
Creates a new instance.
flush() - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
FrameDecoder - Class in org.jboss.netty.handler.codec.frame
Decodes the received ChannelBuffers into a meaningful frame object.
FrameDecoder() - Constructor for class org.jboss.netty.handler.codec.frame.FrameDecoder
 
future(Channel) - Static method in class org.jboss.netty.channel.Channels
Creates a new non-cancellable ChannelFuture for the specified Channel.
future(Channel, boolean) - Static method in class org.jboss.netty.channel.Channels
Creates a new ChannelFuture for the specified Channel.

G

get(String) - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the ChannelHandler with the specified name in this pipeline.
get(Class<T>) - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the ChannelHandler of the specified type in this pipeline.
get(String) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
get(Class<T>) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getBacklog() - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
getBacklog() - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelConfig
Gets the backlog value to specify when the channel binds to a local address.
getByte(int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getByte(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a byte at the specified absolute index in this buffer.
getByte(int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getByte(int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getByte(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getByte(int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
getByte(int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getByte(int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getByte(int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getBytes(int, byte[]) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
getBytes(int, ChannelBuffer) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
getBytes(int, ChannelBuffer, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getBytes(int, ChannelBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index until the destination becomes non-writable.
getBytes(int, ChannelBuffer, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, ChannelBuffer, int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, byte[]) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, byte[], int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(int, ByteBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index until the destination's position reaches its limit.
getBytes(int, OutputStream, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified stream starting at the specified absolute index.
getBytes(int, GatheringByteChannel, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified channel starting at the specified absolute index.
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getBytes(int, OutputStream, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getBytes(int, GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getCause() - Method in interface org.jboss.netty.channel.ChannelFuture
Returns the cause of the failed I/O operation if the I/O operation has failed.
getCause() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
getCause() - Method in class org.jboss.netty.channel.DefaultExceptionEvent
 
getCause() - Method in interface org.jboss.netty.channel.ExceptionEvent
Returns the raised exception.
getCause() - Method in class org.jboss.netty.channel.FailedChannelFuture
 
getCause() - Method in class org.jboss.netty.channel.SucceededChannelFuture
 
getChannel() - Method in interface org.jboss.netty.channel.ChannelEvent
Returns the Channel which is associated with this event.
getChannel() - Method in interface org.jboss.netty.channel.ChannelFuture
Returns a channel where the I/O operation associated with this future takes place.
getChannel() - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the Channel that this pipeline is attached to.
getChannel() - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
getChannel() - Method in class org.jboss.netty.channel.DefaultChannelEvent
 
getChannel() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
getChannel() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getChildChannel() - Method in interface org.jboss.netty.channel.ChildChannelStateEvent
Returns the child Channel whose state has been changed.
getChildChannel() - Method in class org.jboss.netty.channel.DefaultChildChannelStateEvent
 
getConfig() - Method in interface org.jboss.netty.channel.Channel
Returns the configuration of this channel.
getConfig() - Method in interface org.jboss.netty.channel.socket.ServerSocketChannel
 
getConfig() - Method in interface org.jboss.netty.channel.socket.SocketChannel
 
getConnectTimeoutMillis() - Method in interface org.jboss.netty.channel.ChannelConfig
Returns the connect timeout of the channel in milliseconds.
getConnectTimeoutMillis() - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
getConnectTimeoutMillis() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
getContext(ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the context object of the specified ChannelHandler in this pipeline.
getContext(String) - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the context object of the ChannelHandler with the specified name in this pipeline.
getContext(Class<? extends ChannelHandler>) - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the context object of the ChannelHandler of the specified type in this pipeline.
getContext(String) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getContext(ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getContext(Class<? extends ChannelHandler>) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getContext() - Method in class org.jboss.netty.handler.execution.ChannelEventRunnable
Returns the ChannelHandlerContext which will be used to send the ChannelEvent upstream.
getDefaultBufferPool() - Static method in class org.jboss.netty.handler.ssl.SslHandler
Returns the default SslBufferPool used when no pool is specified in the constructor.
getDefaultFactory() - Static method in class org.jboss.netty.logging.InternalLoggerFactory
Returns the default factory.
getEngine() - Method in class org.jboss.netty.handler.ssl.SslHandler
Returns the SSLEngine which is used by this handler.
getEvent() - Method in class org.jboss.netty.handler.execution.ChannelEventRunnable
Returns the ChannelEvent which will be sent upstream.
getExecutor() - Method in class org.jboss.netty.handler.execution.ExecutionHandler
Returns the Executor which was specified with the constructor.
getFactory() - Method in class org.jboss.netty.bootstrap.Bootstrap
Returns the ChannelFactory that will be used to perform an I/O operation.
getFactory() - Method in class org.jboss.netty.channel.AbstractChannel
 
getFactory() - Method in interface org.jboss.netty.channel.Channel
Returns the ChannelFactory which created this channel.
getFirst() - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the first ChannelHandler in this pipeline.
getFirst() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getFuture() - Method in interface org.jboss.netty.channel.ChannelEvent
Returns the ChannelFuture which is associated with this event.
getFuture() - Method in class org.jboss.netty.channel.DefaultChannelEvent
 
getHandler() - Method in interface org.jboss.netty.channel.ChannelHandlerContext
Returns the ChannelHandler that this context object is serving.
getId() - Method in class org.jboss.netty.channel.AbstractChannel
 
getId() - Method in interface org.jboss.netty.channel.Channel
Returns the UUID of this channel.
getInstance(Class<?>) - Static method in class org.jboss.netty.logging.InternalLoggerFactory
Creates a new logger instance with the name of the specified class.
getInstance(String) - Static method in class org.jboss.netty.logging.InternalLoggerFactory
Creates a new logger instance with the specified name.
getInt(int) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
getInt(int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getInt(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 32-bit integer at the specified absolute index in this buffer.
getInt(int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getInt(int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getInt(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getInt(int) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
getInt(int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getInt(int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getInt(int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getInterestOps() - Method in class org.jboss.netty.channel.AbstractChannel
 
getInterestOps() - Method in class org.jboss.netty.channel.AbstractServerChannel
 
getInterestOps() - Method in interface org.jboss.netty.channel.Channel
Returns the current interestOps of this channel.
getLast() - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the last ChannelHandler in this pipeline.
getLast() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getLocalAddress() - Method in interface org.jboss.netty.channel.Channel
Returns the local address where this channel is bound to.
getLocalAddress() - Method in interface org.jboss.netty.channel.socket.ServerSocketChannel
 
getLocalAddress() - Method in interface org.jboss.netty.channel.socket.SocketChannel
 
getLong(int) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
getLong(int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getLong(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 64-bit long integer at the specified absolute index in this buffer.
getLong(int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getLong(int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getLong(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getLong(int) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
getLong(int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getLong(int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getLong(int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getMaxChannelMemorySize() - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Returns the maximum total size of the queued events per channel.
getMaxPoolSize() - Method in class org.jboss.netty.handler.ssl.SslBufferPool
Returns the maximum size of this pool in byte unit.
getMaxTotalMemorySize() - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Returns the maximum total size of the queued events for this pool.
getMedium(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
getMedium(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 24-bit medium integer at the specified absolute index in this buffer.
getMessage() - Method in class org.jboss.netty.channel.DefaultMessageEvent
 
getMessage() - Method in interface org.jboss.netty.channel.MessageEvent
Returns the message.
getName() - Method in interface org.jboss.netty.channel.ChannelHandlerContext
Returns the name of the ChannelHandler in the ChannelPipeline.
getObjectSizeEstimator() - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Returns the ObjectSizeEstimator of this pool.
getOption(String) - Method in class org.jboss.netty.bootstrap.Bootstrap
Returns the value of the option with the specified key.
getOptions() - Method in class org.jboss.netty.bootstrap.Bootstrap
Returns the options which configures a new Channel.
getParent() - Method in class org.jboss.netty.channel.AbstractChannel
 
getParent() - Method in interface org.jboss.netty.channel.Channel
Returns the parent of this channel.
getParentHandler() - Method in class org.jboss.netty.bootstrap.ServerBootstrap
Returns an optional ChannelHandler which intercepts an event of a new bound server-side channel which accepts incoming connections.
getPipeline() - Method in class org.jboss.netty.bootstrap.Bootstrap
Returns the default ChannelPipeline which is cloned when a new Channel is created.
getPipeline() - Method in class org.jboss.netty.channel.AbstractChannel
 
getPipeline() - Method in interface org.jboss.netty.channel.Channel
Returns the ChannelPipeline which handles ChannelEvents associated with this channel.
getPipeline() - Method in interface org.jboss.netty.channel.ChannelHandlerContext
Returns the ChannelPipeline that the ChannelHandler belongs to.
getPipeline() - Method in interface org.jboss.netty.channel.ChannelPipelineFactory
Returns a newly created ChannelPipeline.
getPipelineAsMap() - Method in class org.jboss.netty.bootstrap.Bootstrap
Convenience method for Bootstrap.getPipeline() which returns the default pipeline of this bootstrap as an ordered map.
getPipelineFactory() - Method in class org.jboss.netty.bootstrap.Bootstrap
Returns the ChannelPipelineFactory which creates a new ChannelPipeline for a new Channel.
getPipelineFactory() - Method in interface org.jboss.netty.channel.ChannelConfig
Returns the ChannelPipelineFactory which will be used when a child channel is created.
getPipelineFactory() - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
getPipelineFactory() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
getReceiveBufferSize() - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
getReceiveBufferSize() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
getReceiveBufferSize() - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelConfig
Gets the SO_RCVBUF option.
getReceiveBufferSize() - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the SO_RCVBUF option.
getReceiveBufferSizePredictor() - Method in interface org.jboss.netty.channel.socket.nio.NioSocketChannelConfig
Returns the ReceiveBufferSizePredictor which predicts the number of readable bytes in the socket receive buffer.
getRemoteAddress() - Method in interface org.jboss.netty.channel.Channel
Returns the remote address where this channel is connected to.
getRemoteAddress() - Method in class org.jboss.netty.channel.DefaultMessageEvent
 
getRemoteAddress() - Method in interface org.jboss.netty.channel.MessageEvent
Returns the remote address.
getRemoteAddress() - Method in interface org.jboss.netty.channel.socket.ServerSocketChannel
 
getRemoteAddress() - Method in interface org.jboss.netty.channel.socket.SocketChannel
 
getSendBufferSize() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
getSendBufferSize() - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the SO_SNDBUF option.
getShort(int) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
getShort(int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getShort(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 16-bit short integer at the specified absolute index in this buffer.
getShort(int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getShort(int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getShort(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getShort(int) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
getShort(int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getShort(int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getShort(int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getSink() - Method in interface org.jboss.netty.channel.ChannelPipeline
Returns the ChannelSink that this pipeline is attached to.
getSink() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
getSoLinger() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
getSoLinger() - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the SO_LINGER option.
getState() - Method in interface org.jboss.netty.channel.ChannelStateEvent
Returns the changed property of the Channel.
getState() - Method in class org.jboss.netty.channel.DefaultChannelStateEvent
 
getSucceededFuture() - Method in class org.jboss.netty.channel.AbstractChannel
Returns the cached SucceededChannelFuture instance.
getTrafficClass() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
getTrafficClass() - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the traffic class.
getUnacquiredPoolSize() - Method in class org.jboss.netty.handler.ssl.SslBufferPool
Returns the number of bytes which were allocated but have not been acquired yet.
getUnsignedByte(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
getUnsignedByte(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned byte at the specified absolute index in this buffer.
getUnsignedInt(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
getUnsignedInt(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned 32-bit integer at the specified absolute index in this buffer.
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
getUnsignedMedium(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned 24-bit medium integer at the specified absolute index in this buffer.
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
getUnsignedMedium(int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
getUnsignedShort(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
getUnsignedShort(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned 16-bit short integer at the specified absolute index in this buffer.
getUnsupportedOperationFuture() - Method in class org.jboss.netty.channel.AbstractChannel
Returns the FailedChannelFuture whose cause is an UnsupportedOperationException.
getValue() - Method in interface org.jboss.netty.channel.ChannelStateEvent
Returns the value of the changed property of the Channel.
getValue() - Method in class org.jboss.netty.channel.DefaultChannelStateEvent
 
getWriteSpinCount() - Method in interface org.jboss.netty.channel.socket.nio.NioSocketChannelConfig
Returns the maximum loop count for a write operation until WritableByteChannel.write(ByteBuffer) returns a non-zero value.
getWriteTimeoutMillis() - Method in interface org.jboss.netty.channel.ChannelConfig
Returns the write timeout of the channel in milliseconds.
getWriteTimeoutMillis() - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
getWriteTimeoutMillis() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 

H

handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in interface org.jboss.netty.channel.ChannelDownstreamHandler
Handles the specified downstream event.
handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Handles the specified downstream event.
handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.handler.codec.serialization.CompatibleObjectEncoder
 
handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoder
 
handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.handler.codec.string.StringEncoder
 
handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.handler.ssl.SslHandler
 
handleUpstream(ChannelHandlerContext, ChannelEvent) - Method in interface org.jboss.netty.channel.ChannelUpstreamHandler
Handles the specified upstream event.
handleUpstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Handles the specified upstream event.
handleUpstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.handler.codec.string.StringDecoder
 
handleUpstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.handler.execution.ExecutionHandler
 
handshake(Channel) - Method in class org.jboss.netty.handler.ssl.SslHandler
Starts an SSL / TLS handshake for the specified channel.
hashCode() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
hashCode() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a hash code which was calculated from the content of this buffer.
hashCode(ChannelBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Calculates the hash code of the specified buffer.
hashCode() - Method in class org.jboss.netty.channel.AbstractChannel
Returns the identity hash code of this channel.
HeapChannelBuffer - Class in org.jboss.netty.buffer
A skeletal implementation for Java heap buffers.
HeapChannelBuffer(int) - Constructor for class org.jboss.netty.buffer.HeapChannelBuffer
Creates a new heap buffer with a newly allocated byte array.
HeapChannelBuffer(byte[]) - Constructor for class org.jboss.netty.buffer.HeapChannelBuffer
Creates a new heap buffer with an existing byte array.
HeapChannelBuffer(byte[], int, int) - Constructor for class org.jboss.netty.buffer.HeapChannelBuffer
Creates a new heap buffer with an existing byte array.
hexDump(ChannelBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Returns a hex dump of the specified buffer's readable bytes.
hexDump(ChannelBuffer, int, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Returns a hex dump of the specified buffer's sub-region.

I

increaseCounter(Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
 
indexOf(int, int, byte) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
indexOf(int, int, ChannelBufferIndexFinder) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
indexOf(int, int, byte) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Locates the first occurrence of the specified value in this buffer.
indexOf(int, int, ChannelBufferIndexFinder) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Locates the first index where the specified indexFinder returns true.
indexOf(ChannelBuffer, int, int, byte) - Static method in class org.jboss.netty.buffer.ChannelBuffers
The default implementation of ChannelBuffer.indexOf(int, int, byte).
indexOf(ChannelBuffer, int, int, ChannelBufferIndexFinder) - Static method in class org.jboss.netty.buffer.ChannelBuffers
The default implementation of ChannelBuffer.indexOf(int, int, ChannelBufferIndexFinder).
info(String) - Method in interface org.jboss.netty.logging.InternalLogger
Logs an INFO level message.
info(String, Throwable) - Method in interface org.jboss.netty.logging.InternalLogger
Logs an INFO level message.
InternalLogger - Interface in org.jboss.netty.logging
Internal-use-only logger used by Netty.
InternalLoggerFactory - Class in org.jboss.netty.logging
Creates an InternalLogger or changes the default factory implementation.
InternalLoggerFactory() - Constructor for class org.jboss.netty.logging.InternalLoggerFactory
 
isBound() - Method in interface org.jboss.netty.channel.Channel
Returns true if and only if this channel is bound to a local address.
isCancelled() - Method in interface org.jboss.netty.channel.ChannelFuture
Returns true if and only if this future was canceled by a ChannelFuture.cancel() method.
isCancelled() - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
isCancelled() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
isConnected() - Method in interface org.jboss.netty.channel.Channel
Returns true if and only if this channel is connected to a remote address.
isDebugEnabled() - Method in interface org.jboss.netty.logging.InternalLogger
Returns true if a DEBUG level message is logged.
isDone() - Method in interface org.jboss.netty.channel.ChannelFuture
Returns true if and only if this future is complete, regardless of whether the operation was successful, failed, or canceled.
isDone() - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
isDone() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
isErrorEnabled() - Method in interface org.jboss.netty.logging.InternalLogger
Returns true if an ERROR level message is logged.
isInfoEnabled() - Method in interface org.jboss.netty.logging.InternalLogger
Returns true if an INFO level message is logged.
isKeepAlive() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
isKeepAlive() - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the SO_KEEPALIVE option.
isOpen() - Method in class org.jboss.netty.channel.AbstractChannel
 
isOpen() - Method in interface org.jboss.netty.channel.Channel
Returns true if and only if this channel is open.
isReadable() - Method in class org.jboss.netty.channel.AbstractChannel
 
isReadable() - Method in interface org.jboss.netty.channel.Channel
Returns true if and only if the I/O thread will read a message from this channel.
isReadWriteFair() - Method in interface org.jboss.netty.channel.socket.nio.NioSocketChannelConfig
Returns true if and only if an I/O thread should do its effort to balance the ratio of read and write operations.
isReuseAddress() - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
isReuseAddress() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
isReuseAddress() - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelConfig
Gets the SO_REUSEADDR option.
isReuseAddress() - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the SO_REUSEADDR option.
isSuccess() - Method in interface org.jboss.netty.channel.ChannelFuture
Returns true if and only if the I/O operation was completed successfully.
isSuccess() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
isSuccess() - Method in class org.jboss.netty.channel.FailedChannelFuture
 
isSuccess() - Method in class org.jboss.netty.channel.SucceededChannelFuture
 
isTcpNoDelay() - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
isTcpNoDelay() - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the SO_TCPNODELAY option.
isWarnEnabled() - Method in interface org.jboss.netty.logging.InternalLogger
Returns true if a WARN level message is logged.
isWritable() - Method in class org.jboss.netty.channel.AbstractChannel
 
isWritable() - Method in interface org.jboss.netty.channel.Channel
Returns true if and only if the I/O thread will perform the requested write operation immediately.

J

JBossLoggerFactory - Class in org.jboss.netty.logging
Logger factory which creates a JBoss Logging logger.
JBossLoggerFactory() - Constructor for class org.jboss.netty.logging.JBossLoggerFactory
 
JdkLoggerFactory - Class in org.jboss.netty.logging
Logger factory which creates a java.util.logging logger.
JdkLoggerFactory() - Constructor for class org.jboss.netty.logging.JdkLoggerFactory
 

L

LF - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a LF ('\n') byte.
LINEAR_WHITESPACE - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a linear whitespace (' ' and '\t').
lineDelimiter() - Static method in class org.jboss.netty.handler.codec.frame.Delimiters
Returns CR ('\r') and LF ('\n') delimiters, which could be used for text-based line protocols.
LITTLE_ENDIAN - Static variable in class org.jboss.netty.buffer.ChannelBuffers
Little endian byte order.
LittleEndianHeapChannelBuffer - Class in org.jboss.netty.buffer
A little-endian Java heap buffer.
LittleEndianHeapChannelBuffer(int) - Constructor for class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
Creates a new little-endian heap buffer with a newly allocated byte array.
LittleEndianHeapChannelBuffer(byte[]) - Constructor for class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
Creates a new little-endian heap buffer with an existing byte array.
Log4JLoggerFactory - Class in org.jboss.netty.logging
Logger factory which creates an Apache Log4J logger.
Log4JLoggerFactory() - Constructor for class org.jboss.netty.logging.Log4JLoggerFactory
 

M

mark(int) - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
mark(int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
markReaderIndex() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
markReaderIndex() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Marks the current readerIndex in this buffer.
markSupported() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
markSupported() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
markWriterIndex() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
markWriterIndex() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Marks the current writerIndex in this buffer.
MemoryAwareThreadPoolExecutor - Class in org.jboss.netty.handler.execution
A ThreadPoolExecutor which blocks the task submission when there's too many tasks in the queue.
MemoryAwareThreadPoolExecutor(int, long, long) - Constructor for class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Creates a new instance.
MemoryAwareThreadPoolExecutor(int, long, long, long, TimeUnit) - Constructor for class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Creates a new instance.
MemoryAwareThreadPoolExecutor(int, long, long, long, TimeUnit, ThreadFactory) - Constructor for class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Creates a new instance.
MemoryAwareThreadPoolExecutor(int, long, long, long, TimeUnit, ObjectSizeEstimator, ThreadFactory) - Constructor for class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Creates a new instance.
messageEvent(Channel, ChannelFuture, Object) - Static method in class org.jboss.netty.channel.Channels
Creates a new MessageEvent
messageEvent(Channel, ChannelFuture, Object, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Creates a new MessageEvent
MessageEvent - Interface in org.jboss.netty.channel
A ChannelEvent which represents the transmission or reception of a message.
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when a message object (e.g: ChannelBuffer) was received from a remote peer.
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class org.jboss.netty.handler.codec.frame.FrameDecoder
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class org.jboss.netty.handler.codec.replay.ReplayingDecoder
 

N

newChannel(ChannelPipeline) - Method in interface org.jboss.netty.channel.ChannelFactory
Creates and opens a new Channel and attaches the specified ChannelPipeline to the new Channel.
newChannel(ChannelPipeline) - Method in interface org.jboss.netty.channel.socket.ClientSocketChannelFactory
 
newChannel(ChannelPipeline) - Method in class org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory
 
newChannel(ChannelPipeline) - Method in class org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory
 
newChannel(ChannelPipeline) - Method in class org.jboss.netty.channel.socket.oio.OioClientSocketChannelFactory
 
newChannel(ChannelPipeline) - Method in class org.jboss.netty.channel.socket.oio.OioServerSocketChannelFactory
 
newChannel(ChannelPipeline) - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelFactory
 
newInstance(String) - Method in class org.jboss.netty.logging.CommonsLoggerFactory
 
newInstance(String) - Method in class org.jboss.netty.logging.InternalLoggerFactory
Creates a new logger instance with the specified name.
newInstance(String) - Method in class org.jboss.netty.logging.JBossLoggerFactory
 
newInstance(String) - Method in class org.jboss.netty.logging.JdkLoggerFactory
 
newInstance(String) - Method in class org.jboss.netty.logging.Log4JLoggerFactory
 
newInstance(String) - Method in class org.jboss.netty.logging.Slf4JLoggerFactory
 
newObjectInputStream(InputStream) - Method in class org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoder
Creates a new ObjectInputStream which wraps the specified InputStream.
newObjectOutputStream(OutputStream) - Method in class org.jboss.netty.handler.codec.serialization.CompatibleObjectEncoder
Creates a new ObjectOutputStream which wraps the specified OutputStream.
nextReceiveBufferSize() - Method in class org.jboss.netty.channel.socket.nio.DefaultReceiveBufferSizePredictor
 
nextReceiveBufferSize() - Method in interface org.jboss.netty.channel.socket.nio.ReceiveBufferSizePredictor
Predicts the capacity of the ChannelBuffer for the next read operation depending on the actual number of read bytes in the previous read operation.
NioClientSocketChannelFactory - Class in org.jboss.netty.channel.socket.nio
A ClientSocketChannelFactory which creates a client-side NIO-based SocketChannel.
NioClientSocketChannelFactory(Executor, Executor) - Constructor for class org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory
Creates a new instance.
NioClientSocketChannelFactory(Executor, Executor, int) - Constructor for class org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory
Creates a new instance.
NioServerSocketChannelFactory - Class in org.jboss.netty.channel.socket.nio
A ServerSocketChannelFactory which creates a server-side NIO-based ServerSocketChannel.
NioServerSocketChannelFactory(Executor, Executor) - Constructor for class org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory
Creates a new instance.
NioServerSocketChannelFactory(Executor, Executor, int) - Constructor for class org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory
Creates a new instance.
NioSocketChannelConfig - Interface in org.jboss.netty.channel.socket.nio
A SocketChannelConfig for a NIO TCP/IP SocketChannel.
NOT_CR - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a non-CR ('\r') byte.
NOT_CRLF - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a byte which is neither a CR ('\r') nor a LF ('\n').
NOT_LF - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a non-LF ('\n') byte.
NOT_LINEAR_WHITESPACE - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a byte which is not a linear whitespace (neither ' ' nor '\t').
NOT_NUL - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a non-NUL (0x00) byte.
NUL - Static variable in interface org.jboss.netty.buffer.ChannelBufferIndexFinder
Index finder which locates a NUL (0x00) byte.
nulDelimiter() - Static method in class org.jboss.netty.handler.codec.frame.Delimiters
Returns a NUL (0x00) delimiter, which could be used for Flash XML socket or any similar protocols.

O

ObjectDecoder - Class in org.jboss.netty.handler.codec.serialization
A decoder which deserializes the received ChannelBuffers into Java objects.
ObjectDecoder() - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectDecoder
Creates a new decoder whose maximum object size is 1048576 bytes.
ObjectDecoder(int) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectDecoder
Creates a new decoder with the specified maximum object size.
ObjectDecoder(int, ClassLoader) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectDecoder
Creates a new decoder with the specified maximum object size.
ObjectDecoderInputStream - Class in org.jboss.netty.handler.codec.serialization
An ObjectInput which is interoperable with ObjectEncoder and ObjectEncoderOutputStream.
ObjectDecoderInputStream(InputStream) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
Creates a new ObjectInput.
ObjectDecoderInputStream(InputStream, ClassLoader) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
Creates a new ObjectInput.
ObjectDecoderInputStream(InputStream, int) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
Creates a new ObjectInput.
ObjectDecoderInputStream(InputStream, ClassLoader, int) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
Creates a new ObjectInput.
ObjectEncoder - Class in org.jboss.netty.handler.codec.serialization
An encoder which serializes a Java object into a ChannelBuffer.
ObjectEncoder() - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectEncoder
Creates a new encoder with the estimated length of 512 bytes.
ObjectEncoder(int) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectEncoder
Creates a new encoder.
ObjectEncoderOutputStream - Class in org.jboss.netty.handler.codec.serialization
An ObjectOutput which is interoperable with ObjectDecoder and ObjectDecoderInputStream.
ObjectEncoderOutputStream(OutputStream) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
Creates a new ObjectOutput with the estimated length of 512 bytes.
ObjectEncoderOutputStream(OutputStream, int) - Constructor for class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
Creates a new ObjectOutput.
ObjectSizeEstimator - Interface in org.jboss.netty.handler.execution
Estimates the size of an object in bytes.
OioClientSocketChannelFactory - Class in org.jboss.netty.channel.socket.oio
A ClientSocketChannelFactory which creates a client-side blocking I/O based SocketChannel.
OioClientSocketChannelFactory(Executor) - Constructor for class org.jboss.netty.channel.socket.oio.OioClientSocketChannelFactory
Creates a new instance.
OioServerSocketChannelFactory - Class in org.jboss.netty.channel.socket.oio
A ServerSocketChannelFactory which creates a server-side blocking I/O based ServerSocketChannel.
OioServerSocketChannelFactory(Executor, Executor) - Constructor for class org.jboss.netty.channel.socket.oio.OioServerSocketChannelFactory
Creates a new instance.
ONE - Static variable in annotation type org.jboss.netty.channel.ChannelPipelineCoverage
"one"
OP_NONE - Static variable in interface org.jboss.netty.channel.Channel
The interestOps value which tells that the I/O thread will not read a message from the channel but will perform the requested write operation immediately.
OP_READ - Static variable in interface org.jboss.netty.channel.Channel
The interestOps value which tells that the I/O thread will read a message from the channel and will perform the requested write operation immediately.
OP_READ_WRITE - Static variable in interface org.jboss.netty.channel.Channel
The interestOps value which tells that the I/O thread will read a message from the channel but will not perform the requested write operation immediately.
OP_WRITE - Static variable in interface org.jboss.netty.channel.Channel
The interestOps value which tells that the I/O thread will not read a message from the channel and will not perform the requested write operation immediately.
operationComplete(ChannelFuture) - Method in interface org.jboss.netty.channel.ChannelFutureListener
Invoked when the I/O operation associated with the ChannelFuture has been completed.
order() - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
order() - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
order() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns the endianness of this buffer.
order() - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
order() - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
order() - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
order() - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
order() - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
order() - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
order() - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
OrderedMemoryAwareThreadPoolExecutor - Class in org.jboss.netty.handler.execution
A MemoryAwareThreadPoolExecutor which maintains the ChannelEvent order for the same Channel.
OrderedMemoryAwareThreadPoolExecutor(int, long, long) - Constructor for class org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor
Creates a new instance.
OrderedMemoryAwareThreadPoolExecutor(int, long, long, long, TimeUnit) - Constructor for class org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor
Creates a new instance.
OrderedMemoryAwareThreadPoolExecutor(int, long, long, long, TimeUnit, ThreadFactory) - Constructor for class org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor
Creates a new instance.
OrderedMemoryAwareThreadPoolExecutor(int, long, long, long, TimeUnit, ObjectSizeEstimator, ThreadFactory) - Constructor for class org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor
Creates a new instance.
org.jboss.netty.bootstrap - package org.jboss.netty.bootstrap
Helper classes which enable an easy implementation of typical client side and server side channel initialization.
org.jboss.netty.buffer - package org.jboss.netty.buffer
Abstraction of a byte-level buffer - the fundamental data structure to represent low-level binary and text messages.
org.jboss.netty.channel - package 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.socket - package org.jboss.netty.channel.socket
Abstract TCP and UDP socket interfaces which extend the core channel API.
org.jboss.netty.channel.socket.nio - package 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 - package 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.handler.codec.frame - package 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.replay - package org.jboss.netty.handler.codec.replay
Specialized variation of FrameDecoder which enables implementation of a non-blocking decoder in the blocking I/O paradigm.
org.jboss.netty.handler.codec.serialization - package org.jboss.netty.handler.codec.serialization
Encoder, decoder and their compatibility stream implementations which transform a Serializable object into a byte buffer and vice versa.
org.jboss.netty.handler.codec.string - package org.jboss.netty.handler.codec.string
Encoder and decoder which transform a String into a ChannelBuffer and vice versa.
org.jboss.netty.handler.execution - package org.jboss.netty.handler.execution
Executor-based implementation of various thread models and memory overload prevention mechanisms.
org.jboss.netty.handler.ssl - package org.jboss.netty.handler.ssl
SSL · TLS implementation based on SSLEngine
org.jboss.netty.logging - package org.jboss.netty.logging
Simplistic internal-use-only logging layer which allows a user to decide what logging framework Netty should use.

P

pipeline() - Static method in class org.jboss.netty.channel.Channels
Creates a new ChannelPipeline.
pipeline(ChannelPipeline) - Static method in class org.jboss.netty.channel.Channels
Creates a new ChannelPipeline which contains the same entries with the specified pipeline.
pipelineFactory(ChannelPipeline) - Static method in class org.jboss.netty.channel.Channels
Creates a new ChannelPipelineFactory which creates a new ChannelPipeline which contains the same entries with the specified pipeline.
previousReceiveBufferSize(int) - Method in class org.jboss.netty.channel.socket.nio.DefaultReceiveBufferSizePredictor
 
previousReceiveBufferSize(int) - Method in interface org.jboss.netty.channel.socket.nio.ReceiveBufferSizePredictor
Updates this predictor by specifying the actual number of read bytes in the previous read operation.

R

read() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
read(byte[], int, int) - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
read() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
read(byte[], int, int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
read(byte[]) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readable() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readable() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns true if and only if (this.writerIndex - this.readerIndex) is greater than 0.
readableBytes() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readableBytes() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns the number of readable bytes which is equal to (this.writerIndex - this.readerIndex).
readBoolean() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readBoolean() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readByte() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readByte() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a byte at the current readerIndex and increases the readerIndex by 1 in this buffer.
readByte() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readByte() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readBytes(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(ChannelBufferIndexFinder) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(byte[], int, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(byte[]) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(ChannelBuffer) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(ChannelBuffer, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(ByteBuffer) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(GatheringByteChannel, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(OutputStream, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readBytes(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to a newly created buffer starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readBytes(ChannelBufferIndexFinder) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to a newly created buffer starting at the current readerIndex until the specified indexFinder returns true and increases the readerIndex by the number of the transferred bytes.
readBytes(ChannelBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex until the destination becomes non-writable, and increases the readerIndex by the number of the transferred bytes.
readBytes(ChannelBuffer, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readBytes(ChannelBuffer, int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readBytes(byte[]) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= dst.length).
readBytes(byte[], int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readBytes(ByteBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex until the destination's position reaches its limit, and increases the readerIndex by the number of the transferred bytes.
readBytes(OutputStream, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified stream starting at the current readerIndex.
readBytes(GatheringByteChannel, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers this buffer's data to the specified stream starting at the current readerIndex.
readBytes() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
Returns the number of read bytes by this stream so far.
readChar() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readChar() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readDouble() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readDouble() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readerIndex() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readerIndex(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readerIndex() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns the readerIndex of this buffer.
readerIndex(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the readerIndex of this buffer.
readFloat() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readFloat() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readFully(byte[]) - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readFully(byte[], int, int) - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readFully(byte[], int, int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readFully(byte[]) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readInt() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readInt() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readInt() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readInt() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readLine() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readLine() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
Deprecated. 
readLong() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readLong() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 64-bit integer at the current readerIndex and increases the readerIndex by 8 in this buffer.
readLong() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readLong() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readMedium() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readMedium() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 24-bit medium integer at the current readerIndex and increases the readerIndex by 3 in this buffer.
readObject() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
ReadOnlyChannelBuffer - Class in org.jboss.netty.buffer
A derived buffer which forbids any write requests to its parent.
ReadOnlyChannelBuffer(ChannelBuffer) - Constructor for class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
readShort() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readShort() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets a 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readShort() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readShort() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readSlice(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readSlice(ChannelBufferIndexFinder) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readSlice(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a new slice of this buffer's sub-region starting at the current readerIndex and increases the readerIndex by the size of the new slice (= length).
readSlice(ChannelBufferIndexFinder) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a new slice of this buffer's sub-region starting at the current readerIndex and increases the readerIndex by the size of the new slice (determined by indexFinder).
readUnsignedByte() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readUnsignedByte() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned byte at the current readerIndex and increases the readerIndex by 1 in this buffer.
readUnsignedByte() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readUnsignedByte() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readUnsignedInt() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readUnsignedInt() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readUnsignedMedium() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readUnsignedMedium() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned 24-bit medium integer at the current readerIndex and increases the readerIndex by 3 in this buffer.
readUnsignedShort() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
readUnsignedShort() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Gets an unsigned 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readUnsignedShort() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readUnsignedShort() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
readUTF() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
readUTF() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
ReceiveBufferSizePredictor - Interface in org.jboss.netty.channel.socket.nio
Predicts the number of readable bytes in the socket receive buffer.
rejectModification() - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
remove(ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Removes the specified ChannelHandler from this pipeline.
remove(String) - Method in interface org.jboss.netty.channel.ChannelPipeline
Removes the ChannelHandler with the specified name from this pipeline.
remove(Class<T>) - Method in interface org.jboss.netty.channel.ChannelPipeline
Removes the ChannelHandler of the specified type from this pipeline
remove(ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
remove(String) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
remove(Class<T>) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
remove(Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
 
removeFirst() - Method in interface org.jboss.netty.channel.ChannelPipeline
Removes the first ChannelHandler in this pipeline.
removeFirst() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
removeLast() - Method in interface org.jboss.netty.channel.ChannelPipeline
Removes the last ChannelHandler in this pipeline.
removeLast() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
removeListener(ChannelFutureListener) - Method in interface org.jboss.netty.channel.ChannelFuture
Removes the specified listener from this future.
removeListener(ChannelFutureListener) - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
removeListener(ChannelFutureListener) - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
replace(ChannelHandler, String, ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Replaces the specified ChannelHandler with a new handler in this pipeline.
replace(String, String, ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Replaces the ChannelHandler of the specified name with a new handler in this pipeline.
replace(Class<T>, String, ChannelHandler) - Method in interface org.jboss.netty.channel.ChannelPipeline
Replaces the ChannelHandler of the specified type with a new handler in this pipeline.
replace(ChannelHandler, String, ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
replace(String, String, ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
replace(Class<T>, String, ChannelHandler) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
ReplayingDecoder<T extends Enum<T>> - Class in org.jboss.netty.handler.codec.replay
A specialized variation of FrameDecoder which enables implementation of a non-blocking decoder in the blocking I/O paradigm.
ReplayingDecoder() - Constructor for class org.jboss.netty.handler.codec.replay.ReplayingDecoder
Creates a new instance with no initial state (i.e: null).
ReplayingDecoder(T) - Constructor for class org.jboss.netty.handler.codec.replay.ReplayingDecoder
Creates a new instance with the specified initial state.
reset() - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
reset() - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
resetReaderIndex() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
resetReaderIndex() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Repositions the current readerIndex to the marked readerIndex in this buffer.
resetWriterIndex() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
resetWriterIndex() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Repositions the current writerIndex to the marked writerIndex in this buffer.
run() - Method in class org.jboss.netty.handler.execution.ChannelEventRunnable
Sends the event upstream.

S

sendDownstream(ChannelEvent) - Method in interface org.jboss.netty.channel.ChannelHandlerContext
Sends the specified ChannelEvent to the previous ChannelDownstreamHandler in the ChannelPipeline.
sendDownstream(ChannelEvent) - Method in interface org.jboss.netty.channel.ChannelPipeline
Sends the specified ChannelEvent to the last ChannelDownstreamHandler in this pipeline.
sendDownstream(ChannelEvent) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
sendUpstream(ChannelEvent) - Method in interface org.jboss.netty.channel.ChannelHandlerContext
Sends the specified ChannelEvent to the next ChannelUpstreamHandler in the ChannelPipeline.
sendUpstream(ChannelEvent) - Method in interface org.jboss.netty.channel.ChannelPipeline
Sends the specified ChannelEvent to the first ChannelUpstreamHandler in this pipeline.
sendUpstream(ChannelEvent) - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
ServerBootstrap - Class in org.jboss.netty.bootstrap
A helper class which creates a new server-side Channel and accepts incoming connections.
ServerBootstrap() - Constructor for class org.jboss.netty.bootstrap.ServerBootstrap
Creates a new instance with no ChannelFactory set.
ServerBootstrap(ChannelFactory) - Constructor for class org.jboss.netty.bootstrap.ServerBootstrap
Creates a new instance with the specified initial ChannelFactory.
ServerSocketChannel - Interface in org.jboss.netty.channel.socket
A server-side TCP/IP socket Channel which accepts incoming TCP/IP connections.
ServerSocketChannelConfig - Interface in org.jboss.netty.channel.socket
A ChannelConfig for a ServerSocketChannel.
ServerSocketChannelFactory - Interface in org.jboss.netty.channel.socket
A ChannelFactory which creates a ServerSocketChannel.
setBacklog(int) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setBacklog(int) - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelConfig
Sets the backlog value to specify when the channel binds to a local address.
setByte(int, byte) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setByte(int, byte) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified byte at the specified absolute index in this buffer.
setByte(int, byte) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setByte(int, byte) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setByte(int, byte) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setByte(int, byte) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
setByte(int, byte) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setByte(int, byte) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setByte(int, byte) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setBytes(int, byte[]) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
setBytes(int, ChannelBuffer) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
setBytes(int, ChannelBuffer, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setBytes(int, ChannelBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index until the destination becomes unreadable.
setBytes(int, ChannelBuffer, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
setBytes(int, ChannelBuffer, int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
setBytes(int, byte[]) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source array's data to this buffer starting at the specified absolute index.
setBytes(int, byte[], int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source array's data to this buffer starting at the specified absolute index.
setBytes(int, ByteBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index until the source buffer's position reaches its limit.
setBytes(int, InputStream, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the content of the specified source stream to this buffer starting at the specified absolute index.
setBytes(int, ScatteringByteChannel, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the content of the specified source channel to this buffer starting at the specified absolute index.
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setBytes(int, byte[], int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setBytes(int, ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setBytes(int, ByteBuffer) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setBytes(int, InputStream, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setBytes(int, ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setClosed() - Method in class org.jboss.netty.channel.AbstractChannel
Marks this channel as closed.
setConnectTimeoutMillis(int) - Method in interface org.jboss.netty.channel.ChannelConfig
Sets the connect timeout of the channel in milliseconds.
setConnectTimeoutMillis(int) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setConnectTimeoutMillis(int) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setDefaultFactory(InternalLoggerFactory) - Static method in class org.jboss.netty.logging.InternalLoggerFactory
Changes the default factory.
setFactory(ChannelFactory) - Method in class org.jboss.netty.bootstrap.Bootstrap
Sets the ChannelFactory that will be used to perform an I/O operation.
setFailure(Throwable) - Method in interface org.jboss.netty.channel.ChannelFuture
Marks this future as a failure and notifies all listeners.
setFailure(Throwable) - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
setFailure(Throwable) - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
setIndex(int, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
setIndex(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the readerIndex and writerIndex of this buffer in one shot.
setInt(int, int) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
setInt(int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setInt(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 32-bit integer at the specified absolute index in this buffer.
setInt(int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setInt(int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setInt(int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setInt(int, int) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
setInt(int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setInt(int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setInt(int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setInterestOps(int) - Method in class org.jboss.netty.channel.AbstractChannel
 
setInterestOps(int) - Method in class org.jboss.netty.channel.AbstractServerChannel
 
setInterestOps(int) - Method in interface org.jboss.netty.channel.Channel
Changes the interestOps of this channel asynchronously.
setInterestOps(Channel, int) - Static method in class org.jboss.netty.channel.Channels
Sends a "setInterestOps" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
setInterestOps(ChannelHandlerContext, Channel, ChannelFuture, int) - Static method in class org.jboss.netty.channel.Channels
Sends a "setInterestOps" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
setInterestOpsNow(int) - Method in class org.jboss.netty.channel.AbstractChannel
Sets the interestOps property of this channel immediately.
setInterestOpsNow(int) - Method in class org.jboss.netty.channel.AbstractServerChannel
 
setInterestOpsRequested(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when Channel.setInterestOps(int) was called.
setKeepAlive(boolean) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setKeepAlive(boolean) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Sets the SO_KEEPALIVE option.
setLong(int, long) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
setLong(int, long) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setLong(int, long) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 64-bit long integer at the specified absolute index in this buffer.
setLong(int, long) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setLong(int, long) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setLong(int, long) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setLong(int, long) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
setLong(int, long) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setLong(int, long) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setLong(int, long) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setMaxChannelMemorySize(long) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Sets the maximum total size of the queued events per channel.
setMaxTotalMemorySize(long) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Sets the maximum total size of the queued events for this pool.
setMedium(int, int) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
setMedium(int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setMedium(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 24-bit medium integer at the specified absolute index in this buffer.
setMedium(int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setMedium(int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setMedium(int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setMedium(int, int) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
setMedium(int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setMedium(int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setMedium(int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setOption(String, Object) - Method in class org.jboss.netty.bootstrap.Bootstrap
Sets an option with the specified key and value.
setOption(String, Object) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
Sets an individual option.
setOption(String, Object) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
Sets an individual option.
setOptions(Map<String, Object>) - Method in class org.jboss.netty.bootstrap.Bootstrap
Sets the options which configures a new Channel.
setOptions(Map<String, Object>) - Method in interface org.jboss.netty.channel.ChannelConfig
Sets the configuration properties from the specified Map.
setOptions(Map<String, Object>) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setOptions(Map<String, Object>) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setParentHandler(ChannelHandler) - Method in class org.jboss.netty.bootstrap.ServerBootstrap
Sets an optional ChannelHandler which intercepts an event of a new bound server-side channel which accepts incoming connections.
setPerformancePreferences(int, int, int) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setPerformancePreferences(int, int, int) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setPerformancePreferences(int, int, int) - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelConfig
Sets the performance preferences as specified in ServerSocket.setPerformancePreferences(int, int, int).
setPerformancePreferences(int, int, int) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Sets the performance preferences as specified in Socket.setPerformancePreferences(int, int, int).
setPipeline(ChannelPipeline) - Method in class org.jboss.netty.bootstrap.Bootstrap
Sets the default ChannelPipeline which is cloned when a new Channel is created.
setPipelineAsMap(Map<String, ChannelHandler>) - Method in class org.jboss.netty.bootstrap.Bootstrap
Convenience method for Bootstrap.setPipeline(org.jboss.netty.channel.ChannelPipeline) which sets the default pipeline of this bootstrap from an ordered map.
setPipelineFactory(ChannelPipelineFactory) - Method in class org.jboss.netty.bootstrap.Bootstrap
Sets the ChannelPipelineFactory which creates a new ChannelPipeline for a new Channel.
setPipelineFactory(ChannelPipelineFactory) - Method in interface org.jboss.netty.channel.ChannelConfig
Sets the ChannelPipelineFactory which will be used when a child channel is created.
setPipelineFactory(ChannelPipelineFactory) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setPipelineFactory(ChannelPipelineFactory) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setReadable(boolean) - Method in class org.jboss.netty.channel.AbstractChannel
 
setReadable(boolean) - Method in interface org.jboss.netty.channel.Channel
Suspends or resumes the read operation of the I/O thread asynchronously.
setReadWriteFair(boolean) - Method in interface org.jboss.netty.channel.socket.nio.NioSocketChannelConfig
Sets if an I/O thread should balance the ratio of read and write operations.
setReceiveBufferSize(int) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setReceiveBufferSize(int) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setReceiveBufferSize(int) - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelConfig
Sets the SO_RCVBUF option.
setReceiveBufferSize(int) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Gets the SO_RCVBUF option.
setReceiveBufferSizePredictor(ReceiveBufferSizePredictor) - Method in interface org.jboss.netty.channel.socket.nio.NioSocketChannelConfig
Sets the ReceiveBufferSizePredictor which predicts the number of readable bytes in the socket receive buffer.
setReuseAddress(boolean) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setReuseAddress(boolean) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setReuseAddress(boolean) - Method in interface org.jboss.netty.channel.socket.ServerSocketChannelConfig
Sets the SO_REUSEADDR option.
setReuseAddress(boolean) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Sets the SO_REUSEADDR option.
setSendBufferSize(int) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setSendBufferSize(int) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Sets the SO_SNDBUF option.
setShort(int, short) - Method in class org.jboss.netty.buffer.BigEndianHeapChannelBuffer
 
setShort(int, short) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
setShort(int, short) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 16-bit short integer at the specified absolute index in this buffer.
setShort(int, short) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
setShort(int, short) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
setShort(int, short) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
setShort(int, short) - Method in class org.jboss.netty.buffer.LittleEndianHeapChannelBuffer
 
setShort(int, short) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
setShort(int, short) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
setShort(int, short) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
setSoLinger(int) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setSoLinger(int) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Sets the SO_LINGER option.
setSuccess() - Method in interface org.jboss.netty.channel.ChannelFuture
Marks this future as a success and notifies all listeners.
setSuccess() - Method in class org.jboss.netty.channel.CompleteChannelFuture
 
setSuccess() - Method in class org.jboss.netty.channel.DefaultChannelFuture
 
setTcpNoDelay(boolean) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setTcpNoDelay(boolean) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Sets the SO_TCPNODELAY option.
setTrafficClass(int) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setTrafficClass(int) - Method in interface org.jboss.netty.channel.socket.SocketChannelConfig
Sets the traffic class as specified in Socket.setTrafficClass(int).
setWriteSpinCount(int) - Method in interface org.jboss.netty.channel.socket.nio.NioSocketChannelConfig
Sets the maximum loop count for a write operation until WritableByteChannel.write(ByteBuffer) returns a non-zero value.
setWriteTimeoutMillis(int) - Method in interface org.jboss.netty.channel.ChannelConfig
Sets the write timeout of the channel in milliseconds.
setWriteTimeoutMillis(int) - Method in class org.jboss.netty.channel.socket.DefaultServerSocketChannelConfig
 
setWriteTimeoutMillis(int) - Method in class org.jboss.netty.channel.socket.DefaultSocketChannelConfig
 
setZero(int, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
setZero(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Fills this buffer with NUL (0x00) starting at the specified absolute index.
shouldCount(Runnable) - Method in class org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor
Returns true if and only if the specified task should be counted to limit the global and per-channel memory consumption.
shouldCount(Runnable) - Method in class org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor
 
SimpleChannelHandler - Class in org.jboss.netty.channel
A ChannelHandler which provides an individual handler method for each event type.
SimpleChannelHandler() - Constructor for class org.jboss.netty.channel.SimpleChannelHandler
Creates a new instance.
size() - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
skip(long) - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
skip(long) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
skipBytes(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
skipBytes(ChannelBufferIndexFinder) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
skipBytes(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Increases the current readerIndex by the specified length in this buffer.
skipBytes(ChannelBufferIndexFinder) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Increases the current readerIndex until the specified indexFinder returns true in this buffer.
skipBytes(int) - Method in class org.jboss.netty.buffer.ChannelBufferInputStream
 
skipBytes(int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectDecoderInputStream
 
Slf4JLoggerFactory - Class in org.jboss.netty.logging
Logger factory which creates a SLF4J logger.
Slf4JLoggerFactory() - Constructor for class org.jboss.netty.logging.Slf4JLoggerFactory
 
slice() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
slice(int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
slice() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a slice of this buffer's readable bytes.
slice(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns a slice of this buffer's sub-region.
slice(int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
slice(int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
slice(int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
slice(int, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
slice(int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
slice(int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
slice(int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
SlicedChannelBuffer - Class in org.jboss.netty.buffer
A derived buffer which exposes its parent's sub-region only.
SlicedChannelBuffer(ChannelBuffer, int, int) - Constructor for class org.jboss.netty.buffer.SlicedChannelBuffer
 
SocketChannel - Interface in org.jboss.netty.channel.socket
A TCP/IP socket Channel which was either accepted by ServerSocketChannel or created by ClientSocketChannelFactory.
SocketChannelConfig - Interface in org.jboss.netty.channel.socket
A ChannelConfig for a SocketChannel.
SslBufferPool - Class in org.jboss.netty.handler.ssl
A ByteBuffer pool dedicated for SslHandler performance improvement.
SslBufferPool() - Constructor for class org.jboss.netty.handler.ssl.SslBufferPool
Creates a new buffer pool whose size is 18113536, which can hold 1024 buffers.
SslBufferPool(int) - Constructor for class org.jboss.netty.handler.ssl.SslBufferPool
Creates a new buffer pool.
SslHandler - Class in org.jboss.netty.handler.ssl
Adds SSL · TLS and StartTLS support to a Channel.
SslHandler(SSLEngine) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
SslHandler(SSLEngine, SslBufferPool) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
SslHandler(SSLEngine, boolean) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
SslHandler(SSLEngine, SslBufferPool, boolean) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
SslHandler(SSLEngine, Executor) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
SslHandler(SSLEngine, SslBufferPool, Executor) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
SslHandler(SSLEngine, boolean, Executor) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
SslHandler(SSLEngine, SslBufferPool, boolean, Executor) - Constructor for class org.jboss.netty.handler.ssl.SslHandler
Creates a new instance.
StringDecoder - Class in org.jboss.netty.handler.codec.string
Decodes a received ChannelBuffer into a String.
StringDecoder() - Constructor for class org.jboss.netty.handler.codec.string.StringDecoder
Creates a new instance with the current system character set.
StringDecoder(String) - Constructor for class org.jboss.netty.handler.codec.string.StringDecoder
Creates a new instance.
StringDecoder(Charset) - Constructor for class org.jboss.netty.handler.codec.string.StringDecoder
Creates a new instance.
StringEncoder - Class in org.jboss.netty.handler.codec.string
Encodes the requested String into a ChannelBuffer.
StringEncoder() - Constructor for class org.jboss.netty.handler.codec.string.StringEncoder
 
StringEncoder(String) - Constructor for class org.jboss.netty.handler.codec.string.StringEncoder
 
StringEncoder(Charset) - Constructor for class org.jboss.netty.handler.codec.string.StringEncoder
 
SucceededChannelFuture - Class in org.jboss.netty.channel
The CompleteChannelFuture which is succeeded already.
SucceededChannelFuture(Channel) - Constructor for class org.jboss.netty.channel.SucceededChannelFuture
Creates a new instance.
succeededFuture(Channel) - Static method in class org.jboss.netty.channel.Channels
Creates a new ChannelFuture which is already succeeded for the specified Channel.
swapInt(int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Toggles the endianness of the specified 32-bit integer.
swapLong(long) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Toggles the endianness of the specified 64-bit long integer.
swapMedium(int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Toggles the endianness of the specified 24-bit medium integer.
swapShort(short) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Toggles the endianness of the specified 16-bit short integer.

T

toByteBuffer() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
toByteBuffer() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Converts this buffer's readable bytes into a NIO buffer.
toByteBuffer(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Converts this buffer's sub-region into a NIO buffer.
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
toByteBuffer(int, int) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
toByteBuffers() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
toByteBuffers(int, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
toByteBuffers() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Converts this buffer's readable bytes into an array of NIO buffers.
toByteBuffers(int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Converts this buffer's sub-region into an array of NIO buffers.
toByteBuffers(int, int) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
toByteBuffers(int, int) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
toMap() - Method in interface org.jboss.netty.channel.ChannelPipeline
Converts this pipeline into an ordered Map whose keys are handler names and whose values are handlers.
toMap() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
 
TooLongFrameException - Exception in org.jboss.netty.handler.codec.frame
An Exception which is thrown when the length of the frame decoded by DelimiterBasedFrameDecoder is greater than the maximum.
TooLongFrameException() - Constructor for exception org.jboss.netty.handler.codec.frame.TooLongFrameException
Creates a new instance.
TooLongFrameException(String, Throwable) - Constructor for exception org.jboss.netty.handler.codec.frame.TooLongFrameException
Creates a new instance.
TooLongFrameException(String) - Constructor for exception org.jboss.netty.handler.codec.frame.TooLongFrameException
Creates a new instance.
TooLongFrameException(Throwable) - Constructor for exception org.jboss.netty.handler.codec.frame.TooLongFrameException
Creates a new instance.
toString(String) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
toString(String, ChannelBufferIndexFinder) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
toString(int, int, String, ChannelBufferIndexFinder) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
toString() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
toString(int, int, String) - Method in class org.jboss.netty.buffer.ByteBufferBackedChannelBuffer
 
toString(String) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Decodes this buffer's readable bytes into a string with the specified character set name.
toString(String, ChannelBufferIndexFinder) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Decodes this buffer's readable bytes into a string until the specified terminatorFinder returns true with the specified character set name.
toString(int, int, String) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Decodes this buffer's sub-region into a string with the specified character set name.
toString(int, int, String, ChannelBufferIndexFinder) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Decodes this buffer's readable bytes into a string until the specified terminatorFinder returns true with the specified character set name.
toString() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns the string representation of this buffer.
toString(int, int, String) - Method in class org.jboss.netty.buffer.CompositeChannelBuffer
 
toString(int, int, String) - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
toString(int, int, String) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
toString(int, int, String) - Method in class org.jboss.netty.buffer.HeapChannelBuffer
 
toString(int, int, String) - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
toString(int, int, String) - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
toString(int, int, String) - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
toString() - Method in class org.jboss.netty.channel.AbstractChannel
Returns the String representation of this channel.
toString() - Method in class org.jboss.netty.channel.DefaultChannelEvent
Returns the String representation of this event.
toString() - Method in class org.jboss.netty.channel.DefaultChannelPipeline
Returns the String representation of this pipeline.
toString() - Method in class org.jboss.netty.channel.DefaultChannelStateEvent
 
toString() - Method in class org.jboss.netty.channel.DefaultChildChannelStateEvent
 
toString() - Method in class org.jboss.netty.channel.DefaultExceptionEvent
 
toString() - Method in class org.jboss.netty.channel.DefaultMessageEvent
 
TruncatedChannelBuffer - Class in org.jboss.netty.buffer
A derived buffer which hides its parent's tail data beyond a certain index.
TruncatedChannelBuffer(ChannelBuffer, int) - Constructor for class org.jboss.netty.buffer.TruncatedChannelBuffer
 

U

unbind() - Method in class org.jboss.netty.channel.AbstractChannel
 
unbind() - Method in interface org.jboss.netty.channel.Channel
Unbinds this channel from the current local address asynchronously.
unbind(ChannelHandlerContext, Channel, ChannelFuture) - Static method in class org.jboss.netty.channel.Channels
Sends a "unbind" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
unbind(Channel) - Static method in class org.jboss.netty.channel.Channels
Sends a "unbind" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
unbindRequested(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when Channel.unbind() was called.
unmodifiableBuffer(ChannelBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a read-only buffer which disallows any modification operations on the specified buffer.
unwrap() - Method in class org.jboss.netty.buffer.DuplicatedChannelBuffer
 
unwrap() - Method in class org.jboss.netty.buffer.ReadOnlyChannelBuffer
 
unwrap() - Method in class org.jboss.netty.buffer.SlicedChannelBuffer
 
unwrap() - Method in class org.jboss.netty.buffer.TruncatedChannelBuffer
 
unwrap() - Method in interface org.jboss.netty.buffer.WrappedChannelBuffer
Returns this buffer's parent that this buffer is wrapping.

V

valueOf(String) - Static method in enum org.jboss.netty.channel.ChannelState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.netty.handler.codec.replay.VoidEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jboss.netty.channel.ChannelState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jboss.netty.handler.codec.replay.VoidEnum
Returns an array containing the constants of this enum type, in the order they are declared.
VoidEnum - Enum in org.jboss.netty.handler.codec.replay
A placeholder Enum which could be specified as a type parameter of ReplayingDecoder when a user wants to manage the decoder state or there's no state to manage.

W

warn(String) - Method in interface org.jboss.netty.logging.InternalLogger
Logs a WARN level message.
warn(String, Throwable) - Method in interface org.jboss.netty.logging.InternalLogger
Logs a WARN level message.
wrappedBuffer(byte[]) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian buffer which wraps the specified array.
wrappedBuffer(ByteOrder, byte[]) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer which wraps the specified array with the specified endianness.
wrappedBuffer(byte[], int, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian buffer which wraps the sub-region of the specified array.
wrappedBuffer(ByteOrder, byte[], int, int) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer which wraps the sub-region of the specified array with the specified endianness.
wrappedBuffer(ByteBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer which wraps the specified NIO buffer's current slice.
wrappedBuffer(ChannelBuffer) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new buffer which wraps the specified buffer's readable bytes.
wrappedBuffer(byte[]...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new big-endian composite buffer which wraps the specified arrays without copying them.
wrappedBuffer(ByteOrder, byte[]...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new composite buffer which wraps the specified arrays without copying them.
wrappedBuffer(ChannelBuffer...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new composite buffer which wraps the specified buffers without copying them.
wrappedBuffer(ByteBuffer...) - Static method in class org.jboss.netty.buffer.ChannelBuffers
Creates a new composite buffer which wraps the specified NIO buffers without copying them.
WrappedChannelBuffer - Interface in org.jboss.netty.buffer
The common interface for buffer wrappers and derived buffers.
writable() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writable() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns true if and only if (this.capacity - this.writerIndex) is greater than 0.
writableBytes() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writableBytes() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns the number of writable bytes which is equal to (this.capacity - this.writerIndex).
write(byte[], int, int) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
write(byte[]) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
write(int) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
write(Object) - Method in class org.jboss.netty.channel.AbstractChannel
 
write(Object, SocketAddress) - Method in class org.jboss.netty.channel.AbstractChannel
 
write(Object) - Method in class org.jboss.netty.channel.AbstractServerChannel
 
write(Object, SocketAddress) - Method in class org.jboss.netty.channel.AbstractServerChannel
 
write(Object) - Method in interface org.jboss.netty.channel.Channel
Sends a message to this channel asynchronously.
write(Object, SocketAddress) - Method in interface org.jboss.netty.channel.Channel
Sends a message to this channel asynchronously.
write(Channel, Object) - Static method in class org.jboss.netty.channel.Channels
Sends a "write" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
write(ChannelHandlerContext, Channel, ChannelFuture, Object) - Static method in class org.jboss.netty.channel.Channels
Sends a "write" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
write(Channel, Object, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "write" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
write(ChannelHandlerContext, Channel, ChannelFuture, Object, SocketAddress) - Static method in class org.jboss.netty.channel.Channels
Sends a "write" request to the previous ChannelDownstreamHandler in the ChannelPipeline where the specified ChannelHandlerContext belongs.
write(int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
write(byte[], int, int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
write(byte[]) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeBoolean(boolean) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeBoolean(boolean) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeByte(byte) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeByte(byte) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified byte at the current writerIndex and increases the writerIndex by 1 in this buffer.
writeByte(int) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeByte(byte) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeByte(int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeBytes(byte[], int, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(byte[]) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(ChannelBuffer) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(ChannelBuffer, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(ByteBuffer) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(InputStream, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(ScatteringByteChannel, int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeBytes(ChannelBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the current writerIndex until the source buffer becomes unreadable, and increases the writerIndex by the number of the transferred bytes.
writeBytes(ChannelBuffer, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeBytes(ChannelBuffer, int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeBytes(byte[]) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source array's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= src.length).
writeBytes(byte[], int, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source array's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeBytes(ByteBuffer) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the specified source buffer's data to this buffer starting at the current writerIndex until the source buffer's position reaches its limit, and increases the writerIndex by the number of the transferred bytes.
writeBytes(InputStream, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the content of the specified stream to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes.
writeBytes(ScatteringByteChannel, int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Transfers the content of the specified channel to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes.
writeBytes(String) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeBytes(byte[], int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeBytes(ChannelBuffer, int, int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeBytes(ByteBuffer) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeBytes(String) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeChar(int) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeChar(int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeChars(String) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeChars(String) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeDouble(double) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeDouble(double) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeFloat(float) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeFloat(float) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeInt(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeInt(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 32-bit integer at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeInt(int) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeInt(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeInt(int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeLong(long) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeLong(long) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 64-bit long integer at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeLong(long) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeLong(long) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeLong(long) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeMedium(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeMedium(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 24-bit medium integer at the current writerIndex and increases the writerIndex by 3 in this buffer.
writeMedium(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeObject(Object) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeRequested(ChannelHandlerContext, MessageEvent) - Method in class org.jboss.netty.channel.SimpleChannelHandler
Invoked when Channel.write(Object) is called.
writerIndex() - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writerIndex(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writerIndex() - Method in interface org.jboss.netty.buffer.ChannelBuffer
Returns the writerIndex of this buffer.
writerIndex(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the writerIndex of this buffer.
writeShort(short) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeShort(short) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Sets the specified 16-bit short integer at the current writerIndex and increases the writerIndex by 2 in this buffer.
writeShort(int) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeShort(short) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 
writeShort(int) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeUTF(String) - Method in class org.jboss.netty.buffer.ChannelBufferOutputStream
 
writeUTF(String) - Method in class org.jboss.netty.handler.codec.serialization.ObjectEncoderOutputStream
 
writeZero(int) - Method in class org.jboss.netty.buffer.AbstractChannelBuffer
 
writeZero(int) - Method in interface org.jboss.netty.buffer.ChannelBuffer
Fills this buffer with NUL (0x00) starting at the current writerIndex and increases the writerIndex by the specified length.
writeZero(int) - Method in class org.jboss.netty.buffer.DynamicChannelBuffer
 

A B C D E F G H I J L M N O P R S T U V W

Copyright © 2008-Present JBoss - a division of Red Hat. All Rights Reserved.