Archived
This forum has been archived. Please start a new discussion on GitHub.
Using ICE without an endpoint
jgaa
in Help Center
Hi,
In one of my projects, I've used ICE to make it easy to split the application into a server/client model in the future. At the moment however, It's all in the same application, and I don't need any socket endpoint. How is the preferred way to disable this?
I have tried to use createObjectAdapter() to create an adapter with no endpoints, and use the same communicator to create the proxies later on. However, when I start the application with no endpoints, it bombs out with the error below as soon as it tries to access a proxy:
.\Reference.cpp:1124: Ice::NoEndpointException:
no suitable endpoint available for proxy `whid -t' {MainFrame::ReloadNodes()}
In one of my projects, I've used ICE to make it easy to split the application into a server/client model in the future. At the moment however, It's all in the same application, and I don't need any socket endpoint. How is the preferred way to disable this?
I have tried to use createObjectAdapter() to create an adapter with no endpoints, and use the same communicator to create the proxies later on. However, when I start the application with no endpoints, it bombs out with the error below as soon as it tries to access a proxy:
.\Reference.cpp:1124: Ice::NoEndpointException:
no suitable endpoint available for proxy `whid -t' {MainFrame::ReloadNodes()}
0
