[omniORB] [mico-devel] Servant and it's implementation

Venkatesh Prasad Ranganath vranganath at cox.net
Sun Jul 20 18:45:42 BST 2003


Hi,

First of all, this is not a cross post.  Rather it is a mail seeking clarification about the same concept in 2 different ORBS.

I am experimenting with mico, omni, and a couple of Java orbs.  When I compile idl to Java, there is an interfacePOA class 
that is generated.  The servantImpl inherits this class, thus enabling one to store servantImpl in a variable of type 
interfacePOA and then, if needed, cast this variable back to servantImpl type.  However, I could not find a similar mechanism 
when I compiled idl to C++.

In mico, POA_xxx::interface class supports _narrow_helper() method can accomplish the same.  However, why isn't the sort of 
inheritance as in Java supported?  Also, what is the _narrow(char *) used for?  What is the significance of "char *" argument?

In omni, is it at all possible to do such casts?  If so, how does one accomplish it?

In general, I am curious to know why isn't there a interfacePOA class generated while translating to C++?

waiting for reply,

-- 

Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad

_______________________________________________
mico-devel mailing list
mico-devel at mico.org
http://mico.sfsu.edu/mailman/listinfo/mico-devel



More information about the omniORB-list mailing list