Archived
This forum has been archived. Please start a new discussion on GitHub.
confirming expected.
OrNot
in Help Center
hi,
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.
OrNot
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.
OrNot
0
