com.aelitis.net.udp.uc.impl
Class PRUDPPacketHandlerStatsImpl

java.lang.Object
  extended by com.aelitis.net.udp.uc.impl.PRUDPPacketHandlerStatsImpl
All Implemented Interfaces:
PRUDPPacketHandlerStats, java.lang.Cloneable

public class PRUDPPacketHandlerStatsImpl
extends java.lang.Object
implements PRUDPPacketHandlerStats, java.lang.Cloneable

Author:
parg

Constructor Summary
protected PRUDPPacketHandlerStatsImpl(PRUDPPacketHandlerImpl _packet_handler)
           
 
Method Summary
 long getBytesReceived()
           
 long getBytesSent()
           
 long getPacketsReceived()
           
 long getPacketsSent()
           
 long getReceiveQueueLength()
           
 long getRequestsTimedOut()
           
 long getSendQueueLength()
           
protected  void packetReceived(int len)
           
protected  void packetSent(int len)
           
protected  void primordialPacketReceived(int len)
           
protected  void primordialPacketSent(int len)
           
protected  void requestTimedOut()
           
 PRUDPPacketHandlerStats snapshot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PRUDPPacketHandlerStatsImpl

protected PRUDPPacketHandlerStatsImpl(PRUDPPacketHandlerImpl _packet_handler)
Method Detail

getPacketsSent

public long getPacketsSent()
Specified by:
getPacketsSent in interface PRUDPPacketHandlerStats

packetSent

protected void packetSent(int len)

getPacketsReceived

public long getPacketsReceived()
Specified by:
getPacketsReceived in interface PRUDPPacketHandlerStats

packetReceived

protected void packetReceived(int len)

primordialPacketSent

protected void primordialPacketSent(int len)

primordialPacketReceived

protected void primordialPacketReceived(int len)

getRequestsTimedOut

public long getRequestsTimedOut()
Specified by:
getRequestsTimedOut in interface PRUDPPacketHandlerStats

requestTimedOut

protected void requestTimedOut()

getBytesSent

public long getBytesSent()
Specified by:
getBytesSent in interface PRUDPPacketHandlerStats

getBytesReceived

public long getBytesReceived()
Specified by:
getBytesReceived in interface PRUDPPacketHandlerStats

getSendQueueLength

public long getSendQueueLength()
Specified by:
getSendQueueLength in interface PRUDPPacketHandlerStats

getReceiveQueueLength

public long getReceiveQueueLength()
Specified by:
getReceiveQueueLength in interface PRUDPPacketHandlerStats

snapshot

public PRUDPPacketHandlerStats snapshot()
Specified by:
snapshot in interface PRUDPPacketHandlerStats