Class InputObjectState

java.lang.Object
com.arjuna.ats.arjuna.state.InputBuffer
com.arjuna.ats.arjuna.state.InputObjectState

public class InputObjectState extends InputBuffer
InputObjectState provides some additional methods to a basic InputBuffer.
Since:
JTS 1.0.
Version:
$Id: InputObjectState.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark@arjuna.com)
  • Constructor Details

    • InputObjectState

      public InputObjectState()
    • InputObjectState

      public InputObjectState(InputObjectState copyFrom)
    • InputObjectState

      public InputObjectState(OutputObjectState copyFrom)
    • InputObjectState

      public InputObjectState(Uid newUid, String tName, byte[] buff)
  • Method Details

    • notempty

      public final boolean notempty()
    • size

      public final int size()
    • stateUid

      public final Uid stateUid()
    • type

      public final String type()
    • copyFrom

      public void copyFrom(OutputObjectState copyFrom)
    • print

      public void print(PrintWriter strm)
      Description copied from class: InputBuffer
      Print information about this instance.
      Overrides:
      print in class InputBuffer
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • copy

      public void copy(InputObjectState objstate)
    • unpackFrom

      public void unpackFrom(InputBuffer buff) throws IOException
      Description copied from class: InputBuffer
      Unpack a buffer from the provided buffer, and initialise this instance with it. If the next item in the buffer is not of the right type then an IOException is thrown.
      Overrides:
      unpackFrom in class InputBuffer
      Throws:
      IOException