guru.jalsar guru
2009-10-20 21:00:52 UTC
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
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