us.ihmc.mockets
Class StreamMocket.Statistics

java.lang.Object
  extended by us.ihmc.mockets.StreamMocket.Statistics
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
StreamMocket

public class StreamMocket.Statistics
extends java.lang.Object
implements java.io.Serializable

The Statistics class is used to retrieve statistics about the current mocket connection. Obtained by calling getStatistics on an instance of ServerMocket.

See Also:
Serialized Form

Nested Class Summary
 class StreamMocket.Statistics.Discards
           
 class StreamMocket.Statistics.Waits
           
 
Constructor Summary
StreamMocket.Statistics()
           
 
Method Summary
 StreamMocket.Statistics.Discards getDiscardedPacketCounts()
           
 int getReceivedByteCount()
           
 int getReceivedPacketCount()
           
 int getRetransmitCount()
           
 int getSentByteCount()
           
 int getSentPacketCount()
           
 StreamMocket.Statistics.Waits getTransmitterWaitCounts()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamMocket.Statistics

public StreamMocket.Statistics()
Method Detail

getRetransmitCount

public int getRetransmitCount()

getSentPacketCount

public int getSentPacketCount()

getSentByteCount

public int getSentByteCount()

getReceivedPacketCount

public int getReceivedPacketCount()

getReceivedByteCount

public int getReceivedByteCount()

getDiscardedPacketCounts

public StreamMocket.Statistics.Discards getDiscardedPacketCounts()

getTransmitterWaitCounts

public StreamMocket.Statistics.Waits getTransmitterWaitCounts()