Archived
This forum has been archived. Please start a new discussion on GitHub.
Classes - __Ptr and __Prx
My server has a collection of classes (say Block).
Block has datamembers and an interface.
Inside my server, I have BlockPtr which work just fine.
However, I want to give clients a BlockPrx.
How can I get a proxy from a smart pointer?
Block has datamembers and an interface.
Inside my server, I have BlockPtr which work just fine.
However, I want to give clients a BlockPrx.
How can I get a proxy from a smart pointer?
0
Comments
-
Simply add the class as a servant to the object adapter and return the proxy that is returned by add or addWithUUID to the client.
Cheers,
Michi.0