Home Help Center

Puzzled by IcePack/Locator and IcePack/Query

rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
I am learning IcePack in the book "Distributed Programming with Ice" and i am puzzled by the two concepts: IcePack/LocatorAIcePack/Query.

My problem is: They are all located in the adapter with endpoints of "IcePack.Registry.Client.Endpoints". I think IcePack/Locator is enough to provide all the functionality of IcePack/Query. What's difference between them ?

Thanks in advance!

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    The Ice::Locator interface is used by the Ice run time to resolve indirect proxies. The IcePack registry implements this interface, but clients do not need to be aware of IcePack (they do not need to use any IcePack-specific interfaces).

    The IcePack registry also implements the IcePack::Query interface. This is an IcePack-specific interface for applications that are aware of IcePack and need additional lookup functionality.

    Take care,
    - Mark
  • rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
    Thx, but i am still puzzled! Maybe i should read this chapter 3 times to master IcePack!:)
Sign In or Register to comment.