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