Interface StateMachineCommand.Reader<T extends StateMachineCommand>
- Type Parameters:
T- theStateMachineCommandtype
- Enclosing interface:
StateMachineCommand
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface StateMachineCommand.Reader<T extends StateMachineCommand>
Read a
StateMachineCommand from a DataInput.-
Method Summary
Modifier and TypeMethodDescriptionreadCommand(DataInput in) Read aStateMachineCommandfrom aDataInput.
-
Method Details
-
readCommand
Read aStateMachineCommandfrom aDataInput.- Parameters:
in- theDataInput- Returns:
- the
StateMachineCommand - Throws:
IOException- if an I/O error occurs
-