Archived
This forum has been archived. Please start a new discussion on GitHub.
The "callback" string in the callback demo
catalin
in Help Center
Hi!
I am looking at the callback demo again, and it executes the following code in the server:
In this code the "callback" string is hardcoded twice. I tried to alter it to the same something else in both calls, and it breaks the demo. Is this string hardcoded in the Ice-core? Because I can not trace it anywhere else in the programmer's code or in the config files. I have the feeling I have just overlooked something....
Thanks,
Catalin
I am looking at the callback demo again, and it executes the following code in the server:
CallbackPrx self = CallbackPrx::uncheckedCast(adapter->createProxy(Ice::stringToIdentity("callback")));
adapter->add(new CallbackI, Ice::stringToIdentity("callback"));
In this code the "callback" string is hardcoded twice. I tried to alter it to the same something else in both calls, and it breaks the demo. Is this string hardcoded in the Ice-core? Because I can not trace it anywhere else in the programmer's code or in the config files. I have the feeling I have just overlooked something....
Thanks,
Catalin
0
