SequenceStart
in package
AbstractYes
Abstract base class for defining a sequence start value in network communication packets.
This class requires that any subclass implement the getValue() method to return a specific sequence start value.
Table of Contents
Methods
- getValue() : int
- A value sent by the server to update the client's sequence start, also known as the 'starting counter ID'.
- zero() : SequenceStart
- Returns an instance of SequenceStart with a value of 0.
Methods
getValue()
A value sent by the server to update the client's sequence start, also known as the 'starting counter ID'.
public
abstract getValue() : int
Return values
int —Returns the sequence start value.
zero()
Returns an instance of SequenceStart with a value of 0.
public
static zero() : SequenceStart
Return values
SequenceStart —An instance of SequenceStart.