public class TuxedoReply extends java.lang.Object implements Reply
Reply
,
Serialized FormModifier and Type | Field and Description |
---|---|
private int |
myTpurcode |
private TypedBuffer |
myTypedBuffer |
private java.lang.String |
myTypedBuffer_key |
private CallDescriptor |
reply_cd |
private static long |
serialVersionUID |
Constructor and Description |
---|
TuxedoReply()
Constructs this object with all objects being null or 0
|
TuxedoReply(TypedBuffer tb,
int tpurcode,
CallDescriptor cd)
Constructs a reply return with the given data, tpurcode and server
return code.
|
Modifier and Type | Method and Description |
---|---|
CallDescriptor |
getCallDescriptor()
Returns the service descriptor returned from tpgetrply
|
TypedBuffer |
getReplyBuffer()
Returns the (possibly null) typed buffer returned from a service
|
int |
gettpurcode()
Returns the tpurcode returned from a service
|
private void |
readObject(java.io.ObjectInputStream in)
Read the class status from the input stream.
|
void |
setCallDescriptor(CallDescriptor cd)
Sets the call descriptor to be returned with this reply
|
void |
setReplyBuffer(TypedBuffer tb)
Sets the (possibly null) typed buffer returned from a service
|
void |
settpurcode(int tpurcode)
Sets the tpurcode returned from a service
|
java.lang.String |
toString()
toString gives a readable version of this object
|
private void |
writeObject(java.io.ObjectOutputStream out)
Write the class status into the output stream.
|
private static final long serialVersionUID
private TypedBuffer myTypedBuffer
private int myTpurcode
private CallDescriptor reply_cd
private java.lang.String myTypedBuffer_key
public TuxedoReply()
public TuxedoReply(TypedBuffer tb, int tpurcode, CallDescriptor cd)
tb
- The typed buffer reply data. May be NULLtpurcode
- The tpurcode returned from the servicecd
- The call descriptor to be returned with this reply (may be null)private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The output streamjava.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The input streamjava.io.IOException
java.lang.ClassNotFoundException
public TypedBuffer getReplyBuffer()
getReplyBuffer
in interface Reply
TypedBuffer
object that is the
response from a serviceTypedBuffer
public int gettpurcode()
gettpurcode
in interface Reply
integer
tpurcode response from a servicepublic CallDescriptor getCallDescriptor()
getCallDescriptor
in interface Reply
ApplicationToMonitorInterface.tpgetrply(weblogic.wtc.jatmi.CallDescriptor, int)
public void setReplyBuffer(TypedBuffer tb)
tb
- The reply buffer to be used as returned dataTypedBuffer
public void settpurcode(int tpurcode)
tpurcode
- The user code to be returned from the servicepublic void setCallDescriptor(CallDescriptor cd)
cd
- The call descriptor (may be null)public java.lang.String toString()
toString
in class java.lang.Object