/** Write the booleans that this object uses to a BooleanStream */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut)
      throws IOException {

    ControlCommand info = (ControlCommand) o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getCommand(), dataOut);
  }
Ejemplo n.º 2
0
  /** Write the booleans that this object uses to a BooleanStream */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut)
      throws IOException {

    ReplayCommand info = (ReplayCommand) o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFirstNakNumber());
    dataOut.writeInt(info.getLastNakNumber());
  }
/**