us.ihmc.mockets
Class StreamMocket.Statistics
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamMocket.Statistics
public StreamMocket.Statistics()
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()