BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   Programming   |   Topic List   |   Previous   |   Next   |   Contents

   Programming a BEA Tuxedo Application Using TxRPC

Using Stub Support Functions

There are a large number of run-time support functions (over 100) defined in the X/OPEN RPC specification. These functions need not all be supported in an X/OPEN TxRPC IDL-only environment. Most of these functions relate to binding and management which are done transparently for BEA Tuxedo clients and servers.

One area that affects application portability is the management of memory allocated for stub input and output parameters and return values. The Stub Memory Management routines are supported in TxRPC runtime with the exception of the two routines to handle threads. The status-returning functions include:

The equivalent exception-returning functions include:

Refer to BEA Tuxedo C Function Reference for more information on these functions.

The runtime functions are contained in libtrpc; building RPC clients and servers is discussed in the next topic.

Here are a few tips regarding memory management.