Constructor
new State(soc)
construct a new state from either previous state or the TLS context
Parameters:
Name | Type | Description |
---|---|---|
soc |
State | Context |
Methods
_final()
duplex _final
_read()
duplex _read
_write()
duplex _write
setState(NextState, …args)
go to next state
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
NextState |
State | next state | |
args |
* |
<repeatable> |
rest parameters |