Interface StateMachineCommand.Writer<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.Writer<T extends StateMachineCommand>
Write a
StateMachineCommand to a DataOutput.-
Method Summary
Modifier and TypeMethodDescriptionvoidwriteCommand(T command, DataOutput out) Write aStateMachineCommandfrom aDataOutput.
-
Method Details
-
writeCommand
Write aStateMachineCommandfrom aDataOutput.- Parameters:
command- theStateMachineCommandout- theDataOutput- Throws:
IOException- if an I/O error occurs
-