Package | Description |
---|---|
org.firmata4j.firmata.parser | |
org.firmata4j.fsm |
Modifier and Type | Class and Description |
---|---|
class |
ParsingAnalogMappingState
This state parses analog mapping message and fires an event that contains
information about how the analog ports match to the pin indexes.
|
class |
ParsingAnalogMessageState
This state parses the analog message that points an analog input has
changed.
|
class |
ParsingCapabilityResponseState
This state parses capability response and fires an event that contains
information about pins and their supported modes.
|
class |
ParsingDigitalMessageState
This state parses digital message and fires an event that contains
information about the state of each pin of the port where state of at least
one pin has changed.
|
class |
ParsingExtendedAnalogMessageState
This state parses extended analog state message and fires an event that
contains information about the state of an analog input where the state has
changed.
|
class |
ParsingFirmwareMessageState
This state parses firmware message and fires an event that contains the name
and version of firmware.
|
class |
ParsingI2CMessageState
This class parses inbound I2C messages and publishes them when they are
complete.
|
class |
ParsingStringMessageState |
class |
ParsingSysexMessageState
This state parses type of sysex message and transfers FSM to the state which
is able to handle the message.
|
class |
ParsingVersionMessageState
This state parses version report message that contains the version of the
protocol the hardware supports.
|
class |
PinStateParsingState
This state parses the pin state message.
|
class |
WaitingForMessageState
This is initial default state of
FirmataDevice . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractState
This state stores FSM it belongs to.
|
Modifier and Type | Method and Description |
---|---|
State |
FiniteStateMachine.getCurrentState()
Returns current state of the FSM.
|
Modifier and Type | Method and Description |
---|---|
void |
FiniteStateMachine.transitTo(State state)
Transfers the FSM to the new state.
|
protected void |
AbstractState.transitTo(State state)
Transfers the FSM to the specified state.
|
Modifier and Type | Method and Description |
---|---|
void |
FiniteStateMachine.transitTo(Class<? extends State> stateClass)
Transfers the FSM to the new state of the specified class.
|
protected void |
AbstractState.transitTo(Class<? extends State> stateClass)
Transfers the FSM to the state of specified class.
|
Constructor and Description |
---|
FiniteStateMachine(State initialState)
Constructs the finite state machine in the specified state.
|
Constructor and Description |
---|
FiniteStateMachine(Class<? extends State> stateClass)
Constructs the finite state machine in the state of the specified class.
|
Copyright © 2017. All rights reserved.