Home Help Center

confirming expected.

OrNotOrNot Member Bin.LiOrganization: GE HealthcareProject: Enterprise solution
Since a proxy returned by the connection’s createProxy operation can only be used in the server process and cannot be marshaled ,it is impossible to save such a proxy to freeze. The remedy to achive this goal is to save the identity which will be passed to the createPoxy and then read it out later from freeze and recreate the proxy.
From the ice definition :
nonmutating Object* createProxy(Identity id);

this operation is nonmutating( and idempotent). That is to say, I can get the identical proxy as before saving.

Am I right?

Thanks in advance.



  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    "nonmutating" simply means that createProxy() doesn't modify the connection object.

    To create a fixed (bi-directional) proxy that is equivalent to one that you have created before, you must make sure that the same identity is used, and that the connection is from the same client.
Sign In or Register to comment.