Package org.jgroups.demos
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 TypeMethodDescriptionvoid
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedtoString()
void
writeTo
(DataOutputStream 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:Streamable
Write the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeTo
in interfaceStreamable
- Throws:
IOException
-
readFrom
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException Description copied from interface:Streamable
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFrom
in interfaceStreamable
- Throws:
IOException
IllegalAccessException
InstantiationException
-
toString
-