public CommandSerializer
Responsible for serialization of interface Command
.
It is the caller responsibility to provide the valid interface CommandSerializer
for serialization of interface Command
to the
stream.
Modifier and Type | Method and Description |
---|---|
void |
serialize(java.io.OutputStream stream,
Command command)
Serialize the
interface Command object into the stream. |
void serialize(java.io.OutputStream stream, Command command)
Serialize the interface Command
object into the stream.
stream
- Stream to which interface Command
object has to be serialized.command
- interface Command
object to be serialized.interface Command