Home Help Center

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

jyqjyq Member jiangyueqingOrganization: sunway co.Project: lotto manager
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

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
Sign In or Register to comment.