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
ConstructorDescriptionInputObjectState
(Uid newUid, String tName, byte[] buff) InputObjectState
(InputObjectState copyFrom) InputObjectState
(OutputObjectState copyFrom) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(InputObjectState objstate) void
copyFrom
(OutputObjectState copyFrom) final boolean
notempty()
void
print
(PrintWriter strm) Print information about this instance.final int
size()
final Uid
stateUid()
toString()
final String
type()
void
unpackFrom
(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:InputBuffer
Print information about this instance.- Overrides:
print
in classInputBuffer
-
toString
-
copy
-
unpackFrom
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 classInputBuffer
- Throws:
IOException
-