openr66.protocol.networkhandler.packet
Class NetworkPacketSizeEstimator

java.lang.Object
  extended by openr66.protocol.networkhandler.packet.NetworkPacketSizeEstimator
All Implemented Interfaces:
org.jboss.netty.util.ObjectSizeEstimator

public class NetworkPacketSizeEstimator
extends Object
implements org.jboss.netty.util.ObjectSizeEstimator

Network Packet size estimator

Author:
Frederic Bregier

Constructor Summary
NetworkPacketSizeEstimator()
           
 
Method Summary
 int estimateSize(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkPacketSizeEstimator

public NetworkPacketSizeEstimator()
Method Detail

estimateSize

public int estimateSize(Object o)
Specified by:
estimateSize in interface org.jboss.netty.util.ObjectSizeEstimator


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.