Archived

This forum has been archived. Please start a new discussion on GitHub.

How to write a client to access icegrid by Glacier2 router, there are examples?

I note that sample in demo / icegrid / secure, the config.client file has the following properties:
Ice.Default.Locator = DemoIceGrid / Locator: tcp-p 4061

Does this mean that the client directly use icegrid endpoint ?
If that is correct,How to write a client to access icegrid by Glacier2 router?

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Yes, in this example the client talks directly to the IceGrid registry. If your client connects to a Glacier2 router, it doesn't need to have the Ice.Default.Locator property set. Instead, this property needs to be set in the Glacier2 router configuration. See here in the Ice manual for more information.

    Cheers,
    Benoit.