Retrieve the value of a background CORBA operation invocation.

Usage

getRequestValue(requestName, requestIndex=1)

Description

This provides access to the return ``value'' of a background request invoked via the .Corba function. The actual return value and the textit{out} and textit{inout} arguments are all returned in a list.

Details

If the identified request has not completed when this function is invoked, the call blocks waiting for it to complete. Use getRequestStatus to avoid this.

Value

A list containing the returned value from the operation and also each of the textit{out} and textit{inout} arguments in the operation definition.

Note

Calling this more than once for the same request causes the operation to block. In the future, we might cache the result to avoid this.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/CORBA

See Also

getRequestStatus, .Corba, deferredRequestList, sendRequests, removeRequest

Examples


   # 
 .Corba("sleeper1", "sleep", 20, .deferred="sleeping")
  # do something else
  #  ...

  # now get the result of the operation.
  getRequestValue("sleeping", 1)


[Package Contents]