[omniORB] Problem Passing Adding reference to the STL set

guru.jalsar guru guru.jalsar at gmail.com
Tue Oct 20 12:00:18 BST 2009


Hi,

Servant implementation:

In Method

CORBA::Object_ptr GetReference(const char *name)
{
     //resolve naming service with given name as input parameter
       return ns->resolve(name);
}

Client side implementation:

I am getting reference to above method and accessing it through that
reference

CORBA::Object_var obj = server->GetReference("name");

I am trying to send this "obj" as input parameter to other server side
method as

void AddReference(CORBA::Object_ptr obj)
{

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20091020/ef6ca85f/attachment.htm


More information about the omniORB-list mailing list