java.net
Class AckException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.net.AckException
- All Implemented Interfaces:
- java.io.Serializable
- public class AckException
- extends java.lang.Exception
This exception is used to vehiculate the sequence number that originated the ack.
The communication protocol is based on a send-ack scheme to acquire statistical
data to model the channel.
When a ack is received by the Connector thread, this exception
is thrown.
- Version:
- 1.0
| Nested classes inherited from class java.lang.Throwable |
|
|
Field Summary |
protected long |
seqnum
The sequence number to carry |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
|
Constructor Summary |
AckException(long seqnum)
A simple constructor used to build the object storing the sequence number. |
|
Method Summary |
long |
getSeqNum()
This method can be used to retrieve the carried sequence number |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
seqnum
protected long seqnum
- The sequence number to carry
AckException
public AckException(long seqnum)
- A simple constructor used to build the object storing the sequence number.
getSeqNum
public long getSeqNum()
- This method can be used to retrieve the carried sequence number