|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.wtc.jatmi.StandardTypes | +--weblogic.wtc.jatmi.TypedCArray
This is the jatmi analogue to the CARRAY Tuxedo buffer type
StandardTypes
,
TypedBuffer
, Serialized FormField Summary | |
byte[] |
carray
The binary data to send to the remote TUXEDO domain |
int |
sendSize
The amount of data in #carray to send |
Constructor Summary | |
TypedCArray()
Default constructor. |
|
TypedCArray(int length)
Constructor. |
Method Summary | |
void |
_tmpostrecv(java.io.DataInputStream decoder,
int recv_size)
XDR decodes the given carray. |
void |
_tmpresend(java.io.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 |
Methods inherited from class weblogic.wtc.jatmi.StandardTypes |
getHintIndex,
getSubtype,
getType,
hint_to_type |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public byte[] carray
public int sendSize
Constructor Detail |
public TypedCArray()
public TypedCArray(int length)
length
- the size of the byte array to generate. #sendSize
will be initialized to length
Method Detail |
public int getSendSize()
public void setSendSize(int aSendSize)
aSendSize
- The amount of data in #carray to sendpublic void _tmpresend(java.io.DataOutputStream encoder) throws TPException, java.io.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.
encoder
- The output stream to encode this type to. Should
not be padded.public void _tmpostrecv(java.io.DataInputStream decoder, int recv_size) throws TPException, java.io.IOException
decoder
- 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)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |