Uses of Interface
org.jboss.netty.channel.Channel

Packages that use Channel
org.jboss.netty.bootstrap IoC/DI friendly helper classes which enable an easy implementation of typical client side and server side channel initialization. 
org.jboss.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel
org.jboss.netty.channel.group A channel registry which helps a user maintain the list of open Channels and perform bulk operations on them. 
org.jboss.netty.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine. 
org.jboss.netty.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API. 
org.jboss.netty.handler.codec.base64 Encoder and decoder which transform a Base64-encoded String or ChannelBuffer into a decoded ChannelBuffer and vice versa. 
org.jboss.netty.handler.codec.compression Encoder and decoder which compresses and decompresses ChannelBuffers in a compression format such as zlib and gzip
org.jboss.netty.handler.codec.frame Extensible decoder and its common implementations which deal with the packet fragmentation and reassembly issue found in a stream-based transport such as TCP/IP. 
org.jboss.netty.handler.codec.http Encoder, decoder and their related message types for HTTP. 
org.jboss.netty.handler.codec.http.websocket Encoder, decoder and their related message types for Web Socket data frames. 
org.jboss.netty.handler.codec.oneone Simplistic abstract classes which help implement encoder and decoder that transform an object into another object and vice versa. 
org.jboss.netty.handler.codec.protobuf Encoder and decoder which transform a Google Protocol Buffers Message into a ChannelBuffer and vice versa. 
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.rtsp An RTSP extension based on the HTTP codec. 
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 Encoder and decoder which transform a String into a ChannelBuffer and vice versa. 
org.jboss.netty.handler.ssl SSL · TLS implementation based on SSLEngine 
org.jboss.netty.handler.timeout Adds support for read and write timeout and idle connection notification using a Timer
 

Uses of Channel in org.jboss.netty.bootstrap
 

Methods in org.jboss.netty.bootstrap that return Channel
 Channel ServerBootstrap.bind()
          Creates a new channel which is bound to the local address which was specified in the current "localAddress" option.
 Channel ConnectionlessBootstrap.bind()
          Creates a new channel which is bound to the local address which was specified in the current "localAddress" option.
 Channel ServerBootstrap.bind(SocketAddress localAddress)
          Creates a new channel which is bound to the specified local address.
 Channel ConnectionlessBootstrap.bind(SocketAddress localAddress)
          Creates a new channel which is bound to the specified local address.
 

Uses of Channel in org.jboss.netty.channel
 

Subinterfaces of Channel in org.jboss.netty.channel
 interface ServerChannel
          A Channel that accepts an incoming connection attempt and creates its child Channels by accepting them.
 

Classes in org.jboss.netty.channel that implement Channel
 class AbstractChannel
          A skeletal Channel implementation.
 class AbstractServerChannel
          A skeletal server-side Channel implementation.
 

Methods in org.jboss.netty.channel that return Channel
 Channel UpstreamMessageEvent.getChannel()
           
 Channel UpstreamChannelStateEvent.getChannel()
           
 Channel StaticChannelPipeline.getChannel()
           
 Channel DownstreamMessageEvent.getChannel()
           
 Channel DownstreamChannelStateEvent.getChannel()
           
 Channel DefaultWriteCompletionEvent.getChannel()
           
 Channel DefaultExceptionEvent.getChannel()
           
 Channel DefaultChildChannelStateEvent.getChannel()
           
 Channel DefaultChannelPipeline.getChannel()
           
 Channel DefaultChannelFuture.getChannel()
           
 Channel CompleteChannelFuture.getChannel()
           
 Channel ChildChannelStateEvent.getChannel()
          Returns the parent Channel which is associated with this event.
 Channel ChannelPipeline.getChannel()
          Returns the Channel that this pipeline is attached to.
 Channel ChannelHandlerContext.getChannel()
          Returns the Channel that the ChannelPipeline belongs to.
 Channel ChannelFuture.getChannel()
          Returns a channel where the I/O operation associated with this future takes place.
 Channel ChannelEvent.getChannel()
          Returns the Channel which is associated with this event.
 Channel DefaultChildChannelStateEvent.getChildChannel()
           
 Channel ChildChannelStateEvent.getChildChannel()
          Returns the child Channel whose state has been changed.
 Channel Channel.getParent()
          Returns the parent of this channel.
 Channel AbstractChannel.getParent()
           
 Channel ChannelFactory.newChannel(ChannelPipeline pipeline)
          Creates and opens a new Channel and attaches the specified ChannelPipeline to the new Channel.
 

Methods in org.jboss.netty.channel with parameters of type Channel
 void StaticChannelPipeline.attach(Channel channel, ChannelSink sink)
           
 void DefaultChannelPipeline.attach(Channel channel, ChannelSink sink)
           
 void ChannelPipeline.attach(Channel channel, ChannelSink sink)
          Attaches this pipeline to the specified Channel and ChannelSink.
static ChannelFuture Channels.bind(Channel channel, SocketAddress localAddress)
          Sends a "bind" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
static ChannelFuture Channels.close(Channel channel)
          Sends a "close" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
 int AbstractChannel.compareTo(Channel o)
          Compares the ID of the two channels.
static ChannelFuture Channels.connect(Channel channel, SocketAddress remoteAddress)
          Sends a "connect" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
static ChannelFuture Channels.disconnect(Channel channel)
          Sends a "disconnect" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
static ChannelFuture Channels.failedFuture(Channel channel, Throwable cause)
          Creates a new ChannelFuture which has failed already for the specified Channel.
static void Channels.fireChannelBound(Channel channel, SocketAddress localAddress)
          Sends a "channelBound" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireChannelClosed(Channel channel)
          Sends a "channelClosed" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireChannelConnected(Channel channel, SocketAddress remoteAddress)
          Sends a "channelConnected" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireChannelDisconnected(Channel channel)
          Sends a "channelDisconnected" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireChannelInterestChanged(Channel channel)
          Sends a "channelInterestChanged" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireChannelOpen(Channel channel)
          Sends a "channelOpen" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireChannelUnbound(Channel channel)
          Sends a "channelUnbound" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireExceptionCaught(Channel channel, Throwable cause)
          Sends a "exceptionCaught" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireMessageReceived(Channel channel, Object message)
          Sends a "messageReceived" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static void Channels.fireMessageReceived(Channel channel, Object message, SocketAddress remoteAddress)
          Sends a "messageReceived" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel belongs.
static void Channels.fireWriteComplete(Channel channel, long amount)
          Sends a "writeComplete" event to the first ChannelUpstreamHandler in the ChannelPipeline of the specified Channel.
static ChannelFuture Channels.future(Channel channel)
          Creates a new non-cancellable ChannelFuture for the specified Channel.
static ChannelFuture Channels.future(Channel channel, boolean cancellable)
          Creates a new ChannelFuture for the specified Channel.
 T ChannelLocal.get(Channel channel)
          Returns the value of this variable.
protected  T ChannelLocal.initialValue(Channel channel)
          Returns the initial value of the variable.
 T ChannelLocal.remove(Channel channel)
          Removes the variable and returns the removed value.
 T ChannelLocal.set(Channel channel, T value)
          Sets the value of this variable.
 T ChannelLocal.setIfAbsent(Channel channel, T value)
          Sets the value of this variable only when no value was set.
static ChannelFuture Channels.setInterestOps(Channel channel, int interestOps)
          Sends a "setInterestOps" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
static ChannelFuture Channels.succeededFuture(Channel channel)
          Creates a new ChannelFuture which is already succeeded for the specified Channel.
static ChannelFuture Channels.unbind(Channel channel)
          Sends a "unbind" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
static ChannelFuture Channels.write(Channel channel, Object message)
          Sends a "write" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
static ChannelFuture Channels.write(Channel channel, Object message, SocketAddress remoteAddress)
          Sends a "write" request to the last ChannelDownstreamHandler in the ChannelPipeline of the specified Channel.
 

Constructors in org.jboss.netty.channel with parameters of type Channel
AbstractChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)
          Creates a new instance.
AbstractChannel(Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)
          (Internal use only) Creates a new temporary instance with the specified ID.
CompleteChannelFuture(Channel channel)
          Creates a new instance.
DefaultChannelFuture(Channel channel, boolean cancellable)
          Creates a new instance.
DefaultChildChannelStateEvent(Channel parentChannel, Channel childChannel)
          Creates a new instance.
DefaultExceptionEvent(Channel channel, Throwable cause)
          Creates a new instance.
DefaultWriteCompletionEvent(Channel channel, long writtenAmount)
          Creates a new instance.
DownstreamChannelStateEvent(Channel channel, ChannelFuture future, ChannelState state, Object value)
          Creates a new instance.
DownstreamMessageEvent(Channel channel, ChannelFuture future, Object message, SocketAddress remoteAddress)
          Creates a new instance.
FailedChannelFuture(Channel channel, Throwable cause)
          Creates a new instance.
SucceededChannelFuture(Channel channel)
          Creates a new instance.
UpstreamChannelStateEvent(Channel channel, ChannelState state, Object value)
          Creates a new instance.
UpstreamMessageEvent(Channel channel, Object message, SocketAddress remoteAddress)
          Creates a new instance.
 

Uses of Channel in org.jboss.netty.channel.group
 

Methods in org.jboss.netty.channel.group that return Channel
 Channel DefaultChannelGroup.find(Integer id)
           
 Channel ChannelGroup.find(Integer id)
          Returns the Channel whose ID matches the specified integer.
 

Methods in org.jboss.netty.channel.group that return types with arguments of type Channel
 Iterator<Channel> DefaultChannelGroup.iterator()
           
 

Methods in org.jboss.netty.channel.group with parameters of type Channel
 boolean DefaultChannelGroup.add(Channel channel)
           
 ChannelFuture DefaultChannelGroupFuture.find(Channel channel)
           
 ChannelFuture ChannelGroupFuture.find(Channel channel)
          Returns the ChannelFuture of the individual I/O operation which is associated with the specified Channel.
 

Uses of Channel in org.jboss.netty.channel.local
 

Subinterfaces of Channel in org.jboss.netty.channel.local
 interface LocalChannel
          A Channel for the local transport.
 interface LocalServerChannel
          A ServerChannel for the local transport.
 

Uses of Channel in org.jboss.netty.channel.socket
 

Subinterfaces of Channel in org.jboss.netty.channel.socket
 interface DatagramChannel
          A UDP/IP Channel which is created by DatagramChannelFactory.
 interface ServerSocketChannel
          A TCP/IP ServerChannel which accepts incoming TCP/IP connections.
 interface SocketChannel
          A TCP/IP socket Channel which was either accepted by ServerSocketChannel or created by ClientSocketChannelFactory.
 

Uses of Channel in org.jboss.netty.handler.codec.base64
 

Methods in org.jboss.netty.handler.codec.base64 with parameters of type Channel
protected  Object Base64Decoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
protected  Object Base64Encoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.compression
 

Methods in org.jboss.netty.handler.codec.compression with parameters of type Channel
protected  Object ZlibDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
protected  Object ZlibEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.frame
 

Methods in org.jboss.netty.handler.codec.frame with parameters of type Channel
protected  Object LengthFieldBasedFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
           
protected abstract  Object FrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
          Decodes the received packets so far into a frame.
protected  Object FixedLengthFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
           
protected  Object DelimiterBasedFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
           
protected  Object FrameDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
          Decodes the received data so far into a frame when the channel is disconnected.
protected  Object LengthFieldPrepender.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.http
 

Methods in org.jboss.netty.handler.codec.http with parameters of type Channel
protected  Object HttpMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)
           
protected  Object HttpMessageEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.http.websocket
 

Methods in org.jboss.netty.handler.codec.http.websocket with parameters of type Channel
protected  Object WebSocketFrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)
           
protected  Object WebSocketFrameEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.oneone
 

Methods in org.jboss.netty.handler.codec.oneone with parameters of type Channel
protected abstract  Object OneToOneDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg)
          Transforms the specified received message into another message and return the transformed message.
protected abstract  Object OneToOneEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
          Transforms the specified message into another message and return the transformed message.
 

Uses of Channel in org.jboss.netty.handler.codec.protobuf
 

Methods in org.jboss.netty.handler.codec.protobuf with parameters of type Channel
protected  Object ProtobufVarint32FrameDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
           
protected  Object ProtobufDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
protected  Object ProtobufVarint32LengthFieldPrepender.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
protected  Object ProtobufEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.replay
 

Methods in org.jboss.netty.handler.codec.replay with parameters of type Channel
protected abstract  Object ReplayingDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)
          Decodes the received packets so far into a frame.
protected  Object ReplayingDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)
          Decodes the received data so far into a frame when the channel is disconnected.
 

Uses of Channel in org.jboss.netty.handler.codec.rtsp
 

Methods in org.jboss.netty.handler.codec.rtsp with parameters of type Channel
protected  Object RtspMessageDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)
           
protected  Object RtspMessageEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.serialization
 

Methods in org.jboss.netty.handler.codec.serialization with parameters of type Channel
protected  Object ObjectDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
           
protected  Object CompatibleObjectDecoder.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoderState state)
          Deprecated.  
protected  Object CompatibleObjectDecoder.decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoderState state)
          Deprecated.  
protected  Object ObjectEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
protected  Object CompatibleObjectEncoder.encode(ChannelHandlerContext context, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.codec.string
 

Methods in org.jboss.netty.handler.codec.string with parameters of type Channel
protected  Object StringDecoder.decode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
protected  Object StringEncoder.encode(ChannelHandlerContext ctx, Channel channel, Object msg)
           
 

Uses of Channel in org.jboss.netty.handler.ssl
 

Methods in org.jboss.netty.handler.ssl with parameters of type Channel
 ChannelFuture SslHandler.close(Channel channel)
          Deprecated. Use SslHandler.close() instead.
protected  Object SslHandler.decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
           
 ChannelFuture SslHandler.handshake(Channel channel)
          Deprecated. Use SslHandler.handshake() instead.
 

Uses of Channel in org.jboss.netty.handler.timeout
 

Methods in org.jboss.netty.handler.timeout that return Channel
 Channel DefaultIdleStateEvent.getChannel()
           
 

Constructors in org.jboss.netty.handler.timeout with parameters of type Channel
DefaultIdleStateEvent(Channel channel, IdleState state, long lastActivityTimeMillis)
          Creates a new instance.
 



Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.