Previous Table of Contents Next


7.2.7 get_response


   //PIDL

   void get_response () raises (WrongTransaction);

   get_response returns the result of a request. If get_response is called before the request has completed, it blocks until the request has completed. Upon return, the out parameters and return values defined in the Request are set appropriately and they may be treated as if the Request invoke operation had been used to perform the request.

   A request has an associated transaction context if the thread originating the request had a non-null transaction context and the target object is a transactional object. The get_response operation may raise the WrongTransaction exception if the request has an associated transaction context, and the thread invoking get_response either has a null transaction context or a non-null transaction context that differs from that of the request.