[omniORB] Any advice would be most appreciated

Duncan Grisby duncan at grisby.org
Wed Sep 21 15:06:10 BST 2005


On Tuesday 20 September, "Ramkumar Nagabhushanam" wrote:

> The client makes requests to the server and receives objects as return
> values (different interfaces functions return different objects).
> 
> Is there a generic way that I can parse the returned objects and
> prints out the contents of the objects ?

Your terminology is a bit unclear. What are these "objects"?  Objects in
CORBA are things declared with interface in IDL, and inherently have no
"contents", only operations. I guess your operations are returning
various values like structs and sequences?  If so, there's no generic
way to print out the results.

If your operations are returning Anys, you can use DynAny to unpick the
values and print them out, but it's a painful laborious process.

What exactly are you trying to achieve?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list