Class: State

State(soc)

base state class

Constructor

new State(soc)

construct a new state from either previous state or the TLS context
Parameters:
Name Type Description
soc State | Context
Source:

Methods

_final()

duplex _final
Source:

_read()

duplex _read
Source:

_write()

duplex _write
Source:

setState(NextState, …args)

go to next state
Parameters:
Name Type Attributes Description
NextState State next state
args * <repeatable>
rest parameters
Source: