public final class TypedXOctet extends StandardTypes implements TypedBuffer
TypedCArray, 
StandardTypes, 
TypedBuffer, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
byte[] | 
carray
The binary data to send to the remote TUXEDO domain. 
 | 
int | 
sendSize
The amount of data in carray to send. 
 | 
CALLOUT_HINT, CARRAY_HINT, CMPS_HDR_HINT, COMPOS_HINT, FML_HINT, FML32_HINT, MBSTRING_HINT, MTTYP_HINT, PROP_HINT, ROUTE_HINT, RPCRP_HINT, RPCRQ_HINT, STRING_HINT, TDOM_VALS_HINT, TGIOP_HINT, TM_HINT, TPINITTYPE_HINT, TRAN_HINT, UNSOL_HINT, VIEW_HINT, VIEW32_HINT, WS_HINT, WSRPCRQ_HINT, X_C_TYPE_HINT, X_COMMON_HINT, X_OCTET_HINT, XML_HINT| Modifier and Type | Method and Description | 
|---|---|
void | 
_tmpostrecv(DataInputStream decoder,
           int recv_size)
XDR decodes the given carray. 
 | 
void | 
_tmpresend(DataOutputStream encoder)
This function presends and encodes the given TypedBuffer
 object. 
 | 
int | 
getSendSize()
Gets the amount of data to send in carray. 
 | 
void | 
setSendSize(int aSendSize)
Sets the amount of data to send in carray. 
 | 
getHintIndex, getSubtype, getType, hint_to_typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHintIndex, getSubtype, getTypepublic byte[] carray
public int sendSize
public int getSendSize()
public void setSendSize(int aSendSize)
aSendSize - The amount of data in carray to send.public void _tmpresend(DataOutputStream encoder) throws TPException, IOException
XDR encodes the given carray. XDR encoding of a carray is simply the carray itself. The returned byte array will be exactly sendSize bytes.
_tmpresend in interface TypedBufferencoder - The output stream to encode this type to.  Should
 not be padded.TPException - IOException - If there was an error writing to the
 DataOutputStream.public void _tmpostrecv(DataInputStream decoder, int recv_size) throws TPException, IOException
_tmpostrecv in interface TypedBufferdecoder - A stream that starts with the encoded data
 for this buffer type.  Only recv_size bytes should
 be read from the stream (though at the time this function
 is called all bytes necessary to decode this type should
 be available).recv_size - The total size of encoded data from the
 start position (note that encoded may be larger than
 the actual recieved size).TPException - TPEINVAL if this stream could not be
 decoded for any reason.IOException - if there was an error reading from the stream