|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectus.ihmc.mockets.Mocket.Statistics
public class Mocket.Statistics
The class that contains statistics about an active mocket connection.
Obtained by calling getStatistics on an instance of Mocket.
| Constructor Summary | |
|---|---|
Mocket.Statistics()
|
|
| Method Summary | |
|---|---|
long |
getDuplicatedDiscardedPacketCount()
Returns the number of incoming packets that were discarded because they were duplicates. |
long |
getNoRoomDiscardedPacketCount()
Returns the number of incoming packets that were discarded because there was no room to buffer them. |
long |
getReceivedByteCount()
Returns the number of bytes received during this mocket connection. |
long |
getReceivedPacketCount()
Returns the number of packets received during this mocket connection. |
long |
getRetransmittedPacketCount()
Returns the number of retransmitted packets during this mocket connection |
long |
getSentByteCount()
Returns the number of bytes transmitted during this mocket connection. |
long |
getSentPacketCount()
Returns the number of sent packets during this mocket connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mocket.Statistics()
| Method Detail |
|---|
public long getRetransmittedPacketCount()
throws java.io.IOException,
java.lang.IllegalArgumentException
-1 if it is unable to get a MocketStats object.
java.io.IOException
java.lang.IllegalArgumentExceptionMocket.getStatistics()
public long getSentPacketCount()
throws java.io.IOException,
java.lang.IllegalArgumentException
-1 if it is unable to get a MocketStats object.
java.io.IOException
java.lang.IllegalArgumentExceptionMocket.getStatistics()
public long getSentByteCount()
throws java.io.IOException,
java.lang.IllegalArgumentException
-1 if it is unable to get a MocketStats object.
java.io.IOException
java.lang.IllegalArgumentExceptionMocket.getStatistics()
public long getReceivedPacketCount()
throws java.io.IOException,
java.lang.IllegalArgumentException
-1 if it is unable to get a MocketStats object.
java.io.IOException
java.lang.IllegalArgumentExceptionMocket.getStatistics()
public long getReceivedByteCount()
throws java.io.IOException,
java.lang.IllegalArgumentException
-1 if it is unable to get a MocketStats object.
java.io.IOException
java.lang.IllegalArgumentExceptionMocket.getStatistics()
public long getDuplicatedDiscardedPacketCount()
throws java.io.IOException,
java.lang.IllegalArgumentException
-1 if it is unable to get a MocketStats object.
java.io.IOException
java.lang.IllegalArgumentExceptionMocket.getStatistics()
public long getNoRoomDiscardedPacketCount()
throws java.io.IOException,
java.lang.IllegalArgumentException
-1 if it is unable to get a MocketStats object.
java.io.IOException
java.lang.IllegalArgumentExceptionMocket.getStatistics()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||