Uses of Class
org.jboss.netty.channel.ChannelHandler.Sharable
-
Packages that use ChannelHandler.Sharable Package Description org.jboss.netty.handler.codec.base64 Encoder and decoder which transform a Base64-encodedStringorChannelBufferinto a decodedChannelBufferand vice versa.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.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.org.jboss.netty.handler.codec.marshalling Decoder and Encoder which uses JBoss Marshalling.org.jboss.netty.handler.codec.protobuf Encoder and decoder which transform a Google Protocol BuffersMessageinto aChannelBufferand vice versa.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 aSerializableobject into a byte buffer and vice versa.org.jboss.netty.handler.codec.socks Encoder, decoder and their related message types for Socks.org.jboss.netty.handler.codec.string Encoder and decoder which transform aStringinto aChannelBufferand vice versa.org.jboss.netty.handler.execution Executor-based implementation of various thread models that separate business logic from I/O threadsorg.jboss.netty.handler.ipfilter Implementation of a Ip based Filter handlers.
org.jboss.netty.handler.logging Logs aChannelEventfor debugging purpose using anInternalLogger.org.jboss.netty.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer.org.jboss.netty.handler.traffic 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.Sharable Modifier and Type Class Description classBase64DecoderclassBase64EncoderEncodes aChannelBufferinto 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.Sharable Modifier and Type Class Description classLengthFieldPrependerAn 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 Modifier and Type Class Description classWebSocket00FrameEncoderEncodes aWebSocketFrameinto aChannelBuffer. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.marshalling
Classes in org.jboss.netty.handler.codec.marshalling with annotations of type ChannelHandler.Sharable Modifier and Type Class Description classCompatibleMarshallingEncoderOneToOneEncoderimplementation which uses JBoss Marshalling to marshal an Object.classMarshallingEncoderOneToOneEncoderimplementation 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.Sharable Modifier and Type Class Description classProtobufDecoderclassProtobufEncoderclassProtobufVarint32LengthFieldPrependerAn 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.Sharable Modifier and Type Class Description classRtspMessageEncoderEncodes an RTSP message represented inHttpMessageinto 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.Sharable Modifier and Type Class Description classObjectEncoderAn 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 Modifier and Type Class Description classSocksMessageEncoderEncodes anSocksMessageinto aChannelBuffer. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.codec.string
Classes in org.jboss.netty.handler.codec.string with annotations of type ChannelHandler.Sharable Modifier and Type Class Description classStringDecoderDecodes a receivedChannelBufferinto aString.classStringEncoderEncodes the requestedStringinto aChannelBuffer. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.execution
Classes in org.jboss.netty.handler.execution with annotations of type ChannelHandler.Sharable Modifier and Type Class Description classExecutionHandlerForwards an upstreamChannelEventto anExecutor. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.ipfilter
Classes in org.jboss.netty.handler.ipfilter with annotations of type ChannelHandler.Sharable Modifier and Type Class Description classIpFilterRuleHandlerImplementation of Filter of IP based on ALLOW and DENY rules.
This implementation could be changed by implementing a newIpFilterRulethan 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.
EachIpFilterRuleanswers to the method accept if theInetAddressis accepted or not, according to its implementation.classOneIpFilterHandlerHandler 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 Modifier and Type Class Description classLoggingHandlerAChannelHandlerthat logs all events viaInternalLogger. -
Uses of ChannelHandler.Sharable in org.jboss.netty.handler.timeout
Classes in org.jboss.netty.handler.timeout with annotations of type ChannelHandler.Sharable Modifier and Type Class Description classIdleStateHandlerTriggers anIdleStateEventwhen aChannelhas not performed read, write, or both operation for a while.classReadTimeoutHandlerRaises aReadTimeoutExceptionwhen no data was read within a certain period of time.classWriteTimeoutHandlerRaises aWriteTimeoutExceptionwhen 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.Sharable Modifier and Type Class Description classGlobalChannelTrafficShapingHandlerThis implementation of theAbstractTrafficShapingHandleris 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.classGlobalTrafficShapingHandlerThis implementation of theAbstractTrafficShapingHandleris for global traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels.
-