Class DrawCommand

java.lang.Object
org.jgroups.demos.DrawCommand
All Implemented Interfaces:
Streamable

public class DrawCommand extends Object implements Streamable
Encapsulates information about a draw command. Used by the Draw and other demos.
  • Constructor Details

    • DrawCommand

      public DrawCommand()
  • Method Details

    • writeTo

      public void writeTo(DataOutput out) throws IOException
      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 interface Streamable
      Throws:
      IOException
    • readFrom

      public void readFrom(DataInput in) throws IOException
      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 interface Streamable
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object