|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.channel.SimpleChannelHandler
org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
openr66.protocol.networkhandler.ChannelTrafficHandler
public class ChannelTrafficHandler

| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
|---|
org.jboss.netty.channel.ChannelHandler.Sharable |
| Field Summary |
|---|
| Fields inherited from class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler |
|---|
checkInterval, DEFAULT_CHECK_INTERVAL, timer, trafficCounter |
| Constructor Summary | |
|---|---|
ChannelTrafficHandler(org.jboss.netty.util.ObjectSizeEstimator objectSizeEstimator,
org.jboss.netty.util.Timer timer,
long writeLimit,
long readLimit,
long checkInterval)
|
|
| Method Summary | |
|---|---|
protected void |
doAccounting(org.jboss.netty.handler.traffic.TrafficCounter counter)
|
| Methods inherited from class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler |
|---|
channelClosed, channelConnected |
| Methods inherited from class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler |
|---|
configure, configure, configure, getTrafficCounter, handleDownstream, messageReceived, releaseExternalResources, toString, writeRequested |
| Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler |
|---|
bindRequested, channelBound, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelTrafficHandler(org.jboss.netty.util.ObjectSizeEstimator objectSizeEstimator,
org.jboss.netty.util.Timer timer,
long writeLimit,
long readLimit,
long checkInterval)
objectSizeEstimator - timer - writeLimit - readLimit - checkInterval - | Method Detail |
|---|
protected void doAccounting(org.jboss.netty.handler.traffic.TrafficCounter counter)
doAccounting in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||