ServiceReply is used as the base class for classes generated by the C++ Expert that are used to encapsulate data returned by a call to a service.
BEATuxBldr · ServiceReply
The member functions of this class provide default behavior for Operation1Reply (Generated Service Reply) sub-classes that the C++ Expert creates for your application.
Note: Most of the member functions of this class are used by the framework. Very few need to be used in your applications.
This section lists the member functions of ServiceReply
GetFlags
GetFlags returns the value of the flag used by the underlying BEA TUXEDO ATMI call.
Synopsis
Long GetFlags()
GetReply
GetReply returns the result of the service request.
Synopsis
Boolean GetReply(FBFR*
replyBuffer)
throw(AtmiException*, AppException*)Boolean GetReply(FBFR32*
replyBuffer)
throw(AtmiException*, AppException*)
Parameters
replyBuffer
AtmiException*
AppException*
GetReply has two distinct signatures; one is used when code generated by the C++ Expert uses FML buffers and the other code generated by the C++ Expert uses FML32 buffers. Both member functions are identical in all other ways.
Note: This member function is for the exclusive use of the framework.
For more information about FML and FML32 buffers, refer to the BEA TUXEDO Reference Manual (see Where to Find Related Information).
GetTpqctl returns a reference to the TPQCTL structure.
TPQCTL* GetTPqctl()
The TPQCTL structure is used to pass and retrieve parameters associated with queuing a message. There is no unique "Get" or "Set" operation for each data member of the TPQCTL structure. If you wish to examine or modify the TPQCTL structure, use GetTpqctl to get a pointer to the structure, and SetTpqctl save your changes. You can make changes directly to the TPQCTL structure, or copy the TPQCTL structure to a temporary structure, make your changes to the temporary structure and use SetTpqctl to save the temporary structure to the ServiceReply object.
For more information about the BEA TUXEDO TPQCTL structure, refer to the BEA TUXEDO Reference Manual (see Where to Find Related Information).
GetTpurcode returns a C++ ATMI framework specific error code.
Int constGetTpurcode()
Note: This member function is used exclusively by the framework.
ServiceReply(int cd)
This is the constructor for this class.
Note: This constructor is used exclusively by the framework.
SetFlags specifies the value of the flag used by the underlying BEA TUXEDO ATMI call.
void SetFlags(flags: Long)
For more information about the BEA TUXEDO flags variable, refer to the BEA TUXEDO Reference Manual (see Where to Find Related Information).
void SetQoptions(const char* qspace, const char* qname,
const char* replyQue, const char* failureQue)
qspace
qspace parameter identifies a specific queue space.
qname
qspace.
replyQue
qspace.
failureQue
qspace.
SetQoptions is used by the generated code to identify the pending reply to BEA TUXEDO.
SetTpqctl specifies the value of the TPQCTL structure.
void SetTpqctl(TPQCTL*)
There is no unique "Get" or "Set" operation for each data member of the TPQCTL structure. If you wish to examine or modify the TPQCTL structure, use GetTpqctl to get a reference to the structure, and SetTpqctl specify changes.