Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Return values from CORBA Objects



I'm having some problems understanding return values from CORBA
Objects.

I have an .idl file like this;

,----
| module GNOME {
|   module Bluetooth {
|
|        struct Device {
|                string name;
|                string bdaddr;
|                long   deviceclass;
|        };
|        typedef sequence<Device> DeviceList;
|
|        interface Manager : Bonobo::Unknown {
|           void knownDevices (out DeviceList list);
|           void discoverDevices();
|        };
|   };
| };
`----

Accessing void discoverDevices() is done by this Request:

,----
| Request reqDiscover = remote_obj._create_request(null,
|                       "discoverDevices", null, null);
`----

which works fine, because it doesn't take any parameters and it
doesn't return anything. :-)

But I ran into problems trying to get return values from
void knownDevices(out DeviceList list).
Could anyone tell me a proper way to do this?
Any help is appreciated! Thanks.

--
Morten



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.