/** * @return a new object instance */ public DataStructure createObject() { return new ReplayCommand(); }
/** * 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()); } }
/** * Un-marshal an object instance from the data input stream * * @param o the object to un-marshal * @param dataIn the data input stream to build the object from * @throws IOException */ public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException { super.looseUnmarshal(wireFormat, o, dataIn); ReplayCommand info = (ReplayCommand)o; info.setFirstNakNumber(dataIn.readInt()); info.setLastNakNumber(dataIn.readInt()); }
public String toString() { return "ReplayCommand {commandId = " + getCommandId() + ", firstNakNumber = " + getFirstNakNumber() + ", lastNakNumber = " + getLastNakNumber() + "}"; }
/** * Requests that a range of commands be replayed */ public void requestReplay(int fromCommandId, int toCommandId) { ReplayCommand replay = new ReplayCommand(); replay.setFirstNakNumber(fromCommandId); replay.setLastNakNumber(toCommandId); try { oneway(replay); } catch (IOException e) { getTransportListener().onException(e); } }
public String toString() { return "ReplayCommand {commandId = " + getCommandId() + ", firstNakNumber = " + getFirstNakNumber() + ", lastNakNumber = " + getLastNakNumber() + "}"; }
/** * Requests that a range of commands be replayed */ public void requestReplay(int fromCommandId, int toCommandId) { ReplayCommand replay = new ReplayCommand(); replay.setFirstNakNumber(fromCommandId); replay.setLastNakNumber(toCommandId); try { oneway(replay); } catch (IOException e) { getTransportListener().onException(e); } }
/** * 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()); } }
/** * Un-marshal an object instance from the data input stream * * @param o the object to un-marshal * @param dataIn the data input stream to build the object from * @throws IOException */ public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException { super.tightUnmarshal(wireFormat, o, dataIn, bs); ReplayCommand info = (ReplayCommand)o; info.setFirstNakNumber(dataIn.readInt()); info.setLastNakNumber(dataIn.readInt()); }
public String toString() { return "ReplayCommand {commandId = " + getCommandId() + ", firstNakNumber = " + getFirstNakNumber() + ", lastNakNumber = " + getLastNakNumber() + "}"; }
/** * @return a new object instance */ public DataStructure createObject() { return new ReplayCommand(); }
/** * 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()); } }
/** * Un-marshal an object instance from the data input stream * * @param o the object to un-marshal * @param dataIn the data input stream to build the object from * @throws IOException */ public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException { super.looseUnmarshal(wireFormat, o, dataIn); ReplayCommand info = (ReplayCommand)o; info.setFirstNakNumber(dataIn.readInt()); info.setLastNakNumber(dataIn.readInt()); }
public String toString() { return "ReplayCommand {commandId = " + getCommandId() + ", firstNakNumber = " + getFirstNakNumber() + ", lastNakNumber = " + getLastNakNumber() + "}"; }
/** * @return a new object instance */ public DataStructure createObject() { return new ReplayCommand(); }
/** * 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()); } }
/** * Un-marshal an object instance from the data input stream * * @param o the object to un-marshal * @param dataIn the data input stream to build the object from * @throws IOException */ public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException { super.tightUnmarshal(wireFormat, o, dataIn, bs); ReplayCommand info = (ReplayCommand)o; info.setFirstNakNumber(dataIn.readInt()); info.setLastNakNumber(dataIn.readInt()); }
public String toString() { return "ReplayCommand {commandId = " + getCommandId() + ", firstNakNumber = " + getFirstNakNumber() + ", lastNakNumber = " + getLastNakNumber() + "}"; }
/** * @return a new object instance */ public DataStructure createObject() { return new ReplayCommand(); }
/** * 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()); } }