Uses of Annotation Type
org.jboss.netty.channel.ChannelHandler.Sharable
Packages that use ChannelHandler.Sharable
Package
Description
Encoder and decoder which transform a
Base64-encoded
String
or ChannelBuffer
into a decoded ChannelBuffer
and vice versa.Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Decoder and Encoder which uses JBoss Marshalling.
Encoder and decoder which transform a
Google Protocol Buffers
Message
into a ChannelBuffer
and vice versa.An RTSP
extension based on the HTTP codec.
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable
object into a byte buffer and
vice versa.Encoder, decoder and their related message types for Socks.
Encoder and decoder which transform a
String
into a
ChannelBuffer
and vice versa.Executor
-based implementation of various
thread models that separate business logic from I/O threadsImplementation of a Ip based Filter handlers.
Logs a
ChannelEvent
for debugging purpose
using an InternalLogger
.Adds support for read and write timeout and idle connection notification
using a
Timer
.Implementation of a Traffic Shaping Handler and Dynamic Statistics.
-
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.base64
Classes in org.jboss.netty.handler.codec.base64 with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
class
Encodes aChannelBuffer
into a Base64-encodedChannelBuffer
. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.frame
Classes in org.jboss.netty.handler.codec.frame with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
An encoder that prepends the length of the message. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.http.websocketx
Classes in org.jboss.netty.handler.codec.http.websocketx with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.marshalling
Classes in org.jboss.netty.handler.codec.marshalling with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
OneToOneEncoder
implementation which uses JBoss Marshalling to marshal an Object.class
OneToOneEncoder
implementation which uses JBoss Marshalling to marshal an Object. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.protobuf
Classes in org.jboss.netty.handler.codec.protobuf with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
class
class
An encoder that prepends the the Google Protocol Buffers Base 128 Varints integer length field. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.rtsp
Classes in org.jboss.netty.handler.codec.rtsp with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
Encodes an RTSP message represented inHttpMessage
into aChannelBuffer
. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.serialization
Classes in org.jboss.netty.handler.codec.serialization with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
An encoder which serializes a Java object into aChannelBuffer
. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.socks
Classes in org.jboss.netty.handler.codec.socks with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.string
Classes in org.jboss.netty.handler.codec.string with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
Decodes a receivedChannelBuffer
into aString
.class
Encodes the requestedString
into aChannelBuffer
. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.execution
Classes in org.jboss.netty.handler.execution with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.ipfilter
Classes in org.jboss.netty.handler.ipfilter with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
Implementation of Filter of IP based on ALLOW and DENY rules.
This implementation could be changed by implementing a newIpFilterRule
than defaultIpV4SubnetFilterRule
(IPV4 support only),IpSubnetFilterRule
(IPV4 and IPV6 support) orIpFilterRule
(IP and host name string pattern support) .
The check is done by going from step to step in the underlying array of IpFilterRule.
EachIpFilterRule
answers to the method accept if theInetAddress
is accepted or not, according to its implementation.class
Handler that block any new connection if there are already a currently active channel connected with the same InetAddress (IP).
-
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.logging
Classes in org.jboss.netty.handler.logging with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.timeout
Classes in org.jboss.netty.handler.timeout with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
Triggers anIdleStateEvent
when aChannel
has not performed read, write, or both operation for a while.class
Raises aReadTimeoutException
when no data was read within a certain period of time.class
Raises aWriteTimeoutException
when no data was written within a certain period of time. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.traffic
Classes in org.jboss.netty.handler.traffic with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
This implementation of theAbstractTrafficShapingHandler
is for global and per channel traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels and a per channel limitation of the bandwidth.
This version shall not be in the same pipeline than other TrafficShapingHandler.
The general use should be as follow:
Create your unique GlobalChannelTrafficShapingHandler like:
GlobalChannelTrafficShapingHandler myHandler = new GlobalChannelTrafficShapingHandler(executor);
The executor could be the underlying IO worker pool
pipeline.addLast(myHandler);
Note that this handler has a Pipeline Coverage of "all" which means only one such handler must be created and shared among all channels as the counter must be shared among all channels.
Other arguments can be passed like write or read limitation (in bytes/s where 0 means no limitation) or the check interval (in millisecond) that represents the delay between two computations of the bandwidth and so the call back of the doAccounting method (0 means no accounting at all).
Note that as this is a fusion of both Global and Channel Traffic Shaping, limits are in 2 sets, respectively Global and Channel.
A value of 0 means no accounting for checkInterval.class
This implementation of theAbstractTrafficShapingHandler
is for global traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels.