[omniORB] Server-side question.
Maxim Krylov
cyberz@garant.ru
Fri, 11 May 2001 13:41:14 +0400
Hello!
I've small but conceptual (for me :) ) question.
I can't find answer for that question not in omniORB manual
nor in CRBA specification (on the first look).
Can i get a referense (on the server side) to object-implementation from
object's ptr, while using tie-implementation?
There are some example:
IDL:
interface B;
...
interface A {
void sendB (in B the_b);
...
};
Server-side C++:
...
// B-server implementation class
class B_i;
...
// creation of B-server
POA_B_tie<B_i>* b_impl = new POA_B_tie<B_i> (new B_i);
...
// resiver class
class A_i {
public:
void sendB (B_ptr the_b) {
B_i* impl = ???
!!! How can get from B_ptr corresponding B_i?
!!! Or, that too the most POA_B_tie, or _impl_B
Thanks before!!!