Class DrawCommand
java.lang.Object
org.jgroups.demos.DrawCommand
- All Implemented Interfaces:
Streamable
Encapsulates information about a draw command.
Used by the
Draw and other demos.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedtoString()voidwriteTo(DataOutput out) Write the entire state of the current object (including superclasses) to outstream.
-
Constructor Details
-
DrawCommand
public DrawCommand()
-
-
Method Details
-
writeTo
Description copied from interface:StreamableWrite the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeToin interfaceStreamable- Throws:
IOException
-
readFrom
Description copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFromin interfaceStreamable- Throws:
IOException
-
toString
-