BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.wtc.jatmi
Class TuxedoReply

java.lang.Object
  extended byweblogic.wtc.jatmi.TuxedoReply
All Implemented Interfaces:
Reply, Serializable
Direct Known Subclasses:
DequeueReply, TPServiceInformation

public class TuxedoReply
extends Object
implements Reply

This class holds the reply data and meta-data from a service invocation.

See Also:
Reply, Serialized Form
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
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.
 
Method Summary
 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
 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
 String toString()
          toString gives a readable version of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TuxedoReply

public TuxedoReply()
Constructs this object with all objects being null or 0


TuxedoReply

public TuxedoReply(TypedBuffer tb,
                   int tpurcode,
                   CallDescriptor cd)
Constructs a reply return with the given data, tpurcode and server return code.

Method Detail

getCallDescriptor

public CallDescriptor getCallDescriptor()
Returns the service descriptor returned from tpgetrply

Specified by:
getCallDescriptor in interface Reply
Returns:
a service descriptor
See Also:
ApplicationToMonitorInterface.tpgetrply(weblogic.wtc.jatmi.CallDescriptor, int)

getReplyBuffer

public TypedBuffer getReplyBuffer()
Returns the (possibly null) typed buffer returned from a service

Specified by:
getReplyBuffer in interface Reply
Returns:
a possibly null TypedBuffer object that is the response from a service
See Also:
TypedBuffer

gettpurcode

public int gettpurcode()
Returns the tpurcode returned from a service

Specified by:
gettpurcode in interface Reply
Returns:
an integer tpurcode response from a service

setCallDescriptor

public void setCallDescriptor(CallDescriptor cd)
Sets the call descriptor to be returned with this reply

Parameters:
cd - The call descriptor (may be null)

setReplyBuffer

public void setReplyBuffer(TypedBuffer tb)
Sets the (possibly null) typed buffer returned from a service

Parameters:
tb - The reply buffer to be used as returned data
See Also:
TypedBuffer

settpurcode

public void settpurcode(int tpurcode)
Sets the tpurcode returned from a service

Parameters:
tpurcode - The user code to be returned from the service

toString

public String toString()
toString gives a readable version of this object


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.