Home Help Center

Objects and Proxies

ganzuoniganzuoni Member Guido AnzuoniOrganization: IndividualProject: No specific project ✭✭
I am an old, very happy, Orbacus user.....
It's very nice to see you again, together...
I come to my question.
Having an interface such as:

interface Y {
X getX();
X *getXProxy();

I generate java class with the possibility to get returned on the client
side a X and XPrx.
The use of XPrx on the client is quite normal, but what confuses me
is the signature of X that includes a Current object.
What is the sense of allowing the access of such an interface on
the client side ?

Thanks in advance,


  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Every class derived from Ice::Object can also be used as a servant, and therefore it needs the Current parameter. If you don't use X as a servant, then I'm afraid you have to pass null as Current parameter in Java. For C++, there is a null default argument.
Sign In or Register to comment.