Previous | Table of Contents | Next |
prepare is called to associate an initialized CORBA::Request with a previous operation that was initiated via sendp. The Request
must be created and associated with the operation’s out arguments and return value prior to calling prepare. Once prepare
has been called, it is as if that prepared Request was the one that actually had sendp used. Each Request is subject only
to one of these operations, which puts it in a valid state for an invocation of get_response: send, sendp, sendc, or prepare.
Invoking prepare on a Request that had previously been used for a send (or one of its variants) raises the standard system
exception BAD_INV_ORDER. Invoking prepare with an object reference that was not previously returned from an invocation of
sendp raises the standard system exception BAD_PARAM.