krb5.lib
Interface SeqNumber

All Known Implementing Classes:
GlobalSeqNumber, LocalSeqNumber

public interface SeqNumber

Class Description : Sequence number class. A modified version of the code obtained from the Open Group Research Institute.

Version:
1.1
Author:
Bojan Pajkovski

Method Summary
 int current()
          Returns the current value
 int next()
          Returns the next value
 void randInit()
          Random initialization
 int step()
          Increments by 1 and returns the value
 

Method Detail

randInit

void randInit()
Random initialization


current

int current()
Returns the current value

Returns:
int

next

int next()
Returns the next value

Returns:
int

step

int step()
Increments by 1 and returns the value

Returns:
int