|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.ssh.util.Sequence
public class Sequence
SSH packet sequence number represented as uint32. The sequence number is initialized to zero for the first packet, and is incremented after every packet. It is never reset and wraps around to zero after every 2^32 packets.
Field Summary | |
---|---|
static long |
MAX_VALUE
A constant holding the maximum value a SSH packet sequence can have, 232. |
static long |
MIN_VALUE
A constant holding the minimum value a SSH packet sequence can have, 0. |
Constructor Summary | |
---|---|
Sequence()
|
Method Summary | |
---|---|
long |
nextValue()
Obtains next sequence value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long MIN_VALUE
public static final long MAX_VALUE
Constructor Detail |
---|
public Sequence()
Method Detail |
---|
public long nextValue()
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |