NodeJS callback implementation
I am trying to prototype a few things before using ZeroC RPC framework. Scheme is pretty straightforward. We are having some ServiceFactory, which returns Service, which is providing some functionality and invoke callback on result competition.
Server side is C++ and client side is NodeJS and Java. Java work pretty well - no question here, but I am stuck with Node JS part.
I am creating a listener in JS code and trying to pass it to service. Please see code snippet below(sorry for formatting):
var r = adapter.addWithUUID(new CoolResultListenerI());
No luck here. Ice is throwing an error with valid ID but strange EP:
proxy: "8d3a083f-5814-40b9-e3f2-a928050e71f9 -t -e 1.1"
When I am trying to create an adapter with local EP(createObjectAdapterWithEndpoints):
unsupportedFeature: "object adapter endpoints not supported"
After reviewing docs/samples (where no Prx was used but Ice::Identity) can I conclude that this current approach doesn't work with ZeroC ICE ? (at least 3.6.*) version.
ps. Overall test is here https://github.com/gkorovkin/zeroc_js_test/