Home Help Center

refreshPublishedEndpoints vs -h

gmhgmh Member Greg HughesOrganization: Hewlett-PackardProject: Remote Graphics Software

We've just moved to Ice 3.3.1 and are looking into implementing interface monitoring using refreshPublishedEndpoints(). Our application allows listening on all interfaces, which we will be changing to use -h In the event we had specified an endpoint for a specific interface (thus used -h <ip address>) and want to reconfigure due to a network interface change, is there a recommended solution? If it's complex and disruptive to existing connections so we should only allow monitoring when listening on, that'd be good to know as well.



  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    If you application is listening on a specific host and you want it to listen on a different host then need to stop/restart the application, or at least recreate the object adapter with the new endpoint. refreshPublishedEndpoints cannot be used this as it does not change interface that adapter is listening on, just updates the list of ips that corresponds to that interface for publishing in proxies created using the adapter.
Sign In or Register to comment.