|
BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectweblogic.wtc.jatmi.StandardTypes
weblogic.wtc.jatmi.TypedXML
This is the jatmi analogue to the XML Tuxedo buffer type
StandardTypes,
TypedBuffer,
Serialized Form| Field Summary | |
int |
sendSize
The amount of data in #xmlarray to send |
byte[] |
xmlarray
The binary data to send to the remote TUXEDO domain |
| Constructor Summary | |
TypedXML()
Default constructor. |
|
TypedXML(int length)
Constructor. |
|
| Method Summary | |
void |
_tmpostrecv(DataInputStream decoder,
int recv_size)
XDR decodes the given xmlarray. |
void |
_tmpresend(DataOutputStream encoder)
This function presends and encodes the given TypedBuffer object. |
int |
getSendSize()
gets the amount of data to send in #xmlarray |
void |
setSendSize(int aSendSize)
sets the amount of data to send in #xmlarray |
| 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 |
| Methods inherited from interface weblogic.wtc.jatmi.TypedBuffer |
getHintIndex, getSubtype, getType |
| Field Detail |
public int sendSize
public byte[] xmlarray
| Constructor Detail |
public TypedXML()
public TypedXML(int length)
| Method Detail |
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
public void _tmpresend(DataOutputStream encoder)
throws TPException,
IOException
XDR encodes the given xmlarray. XDR encoding of a xmlarray is simply the xmlarray 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
DataOutputStreampublic int getSendSize()
public void setSendSize(int aSendSize)
aSendSize - The amount of data in #xmlarray to send
|
Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||