I want to send a list as a parameter with CORBA. How do I do that? How do I write it in IDL?

Arun Gupta

Use an IDL sequence:

module foo {
        typedef sequence<string> str_sequence;

        interface ex {
                void bar(in str_sequence param1);
        };
};
This would send a list of string in method "bar".
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact