Interface StateMachineCommand.Reader<T extends StateMachineCommand>
- Type Parameters:
T
- theStateMachineCommand
type
- 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 aStateMachineCommand
from aDataInput
.
-
Method Details
-
readCommand
Read aStateMachineCommand
from aDataInput
.- Parameters:
in
- theDataInput
- Returns:
- the
StateMachineCommand
- Throws:
IOException
- if an I/O error occurs
-