Package com.arjuna.ats.arjuna.state
Class InputObjectState
java.lang.Object
com.arjuna.ats.arjuna.state.InputBuffer
com.arjuna.ats.arjuna.state.InputObjectState
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)
-
Field Summary
Fields inherited from class com.arjuna.ats.arjuna.state.InputBuffer
_valid -
Constructor Summary
ConstructorsConstructorDescriptionInputObjectState(Uid newUid, String tName, byte[] buff) InputObjectState(InputObjectState copyFrom) InputObjectState(OutputObjectState copyFrom) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(InputObjectState objstate) voidcopyFrom(OutputObjectState copyFrom) final booleannotempty()voidprint(PrintWriter strm) Print information about this instance.final intsize()final UidstateUid()toString()final Stringtype()voidunpackFrom(InputBuffer buff) Unpack a buffer from the provided buffer, and initialise this instance with it.Methods inherited from class com.arjuna.ats.arjuna.state.InputBuffer
buffer, copy, length, reread, setBuffer, unpackBoolean, unpackByte, unpackBytes, unpackChar, unpackDouble, unpackFloat, unpackInt, unpackLong, unpackShort, unpackString, valid
-
Constructor Details
-
InputObjectState
public InputObjectState() -
InputObjectState
-
InputObjectState
-
InputObjectState
-
-
Method Details
-
notempty
public final boolean notempty() -
size
public final int size() -
stateUid
-
type
-
copyFrom
-
print
Description copied from class:InputBufferPrint information about this instance.- Overrides:
printin classInputBuffer
-
toString
-
copy
-
unpackFrom
Description copied from class:InputBufferUnpack 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:
unpackFromin classInputBuffer- Throws:
IOException
-