Archived
This forum has been archived. Please start a new discussion on GitHub.
Downcast for servant objects
bks
in Help Center
Hi,
<1> How do I downcast an Object returned by findByProxy to a servant object. For example I am trying the following:
{
Ice::Object object_=adapter_->findByProxy(someproxy);
// now how d i convert this object_ to
// some ServantPtr objectTwo_. In short I am trying to extract a servant given the proxy.
}
<2>On another note, if i have an interface named
iMachine which is implemented by C++ class Machine.
how can iMachinePtr be converted to Machine*.
thanks
bks
<1> How do I downcast an Object returned by findByProxy to a servant object. For example I am trying the following:
{
Ice::Object object_=adapter_->findByProxy(someproxy);
// now how d i convert this object_ to
// some ServantPtr objectTwo_. In short I am trying to extract a servant given the proxy.
}
<2>On another note, if i have an interface named
iMachine which is implemented by C++ class Machine.
how can iMachinePtr be converted to Machine*.
thanks
bks
0
