Home Help Center

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?

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    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.
Sign In or Register to comment.