Arguments of function as out

Gerhard Häring gh at ghaering.de
Wed Sep 3 05:28:20 EDT 2003


Birgit Rahm wrote:
> Hallo Newsgroup,

Hi Birgit,

> I have the following problem:
> I work with Python 2.2 and invoke functions via CORBA ( I use
> onmiORB/omniORBpy) on a server.
> The server provides me a function, where the 3 arguments are out-arguments
> and the return is void / None.
> How can I get these out arguments? [...]

The out (or inout) parameters will be returned as return parameters of 
the method. In your case there should be a 3-tuple of the out parameters 
returned.

See the Python-IDL Language Mapping for details (search for "out 
parameter" in this document):

http://www.python.org/wiki/pub/CorbaPython/attachments/01-02-66.pdf

-- Gerhard





More information about the Python-list mailing list