Class: NonceSequence

NonceSequence(id, authId, nextNonce, maxNonce, status)

Represents a nonce sequence for a specific device.

Constructor

new NonceSequence(id, authId, nextNonce, maxNonce, status)

Instantiate a nonce sequence with the provided authorization id.
Parameters:
Name Type Default Description
id The Id for this sequence.
authId null The authorization id for this device and drive.
nextNonce null The next available nonce to be used.
maxNonce null The maximum nonce.
status null The status of the sequencer.
Source:

Classes

NonceSequence

Members

authId

The authorization id for a specific device.
Source:

maxNonce

The maximum nonce.
Source:

nextNonce

Then next available nonce.
Source:

status

The current status of the sequence.
Source:

Methods

getAuthId()

Get the authorization id for a specific device.
Source:
Returns:

getId()

The id for this sequence.
Source:
Returns:

getMaxNonce()

Get the max nonce.
Source:
Returns:

getNextNonce()

Get the next nonce.
Source:
Returns:

getStatus()

Get the sequence status.
Source:
Returns:

setAuthId(authId)

Set the authorization Id for a specific device.
Parameters:
Name Type Description
authId The authorization id
Source:

setId(id)

Set the id.
Parameters:
Name Type Description
id The sequence id
Source:

setMaxNonce(maxNonce)

Set the max nonce.
Parameters:
Name Type Description
maxNonce The max nonce
Source:

setNextNonce(nextNonce)

Set the next nonce.
Parameters:
Name Type Description
nextNonce The next nonce
Source:

setStatus(status)

Set the sequence status.
Parameters:
Name Type Description
status The status
Source: