Results 1 to 6 of 6

Thread: Maybe one description in Ice Manual is not corrent

  1. #1
    rc_hz is offline Registered User
    Name: Eric RC
    Organization: www.genband.com
    Project: No project yet
    Join Date
    Jul 2004
    Location
    Hangzhou, China
    Posts
    189

    Maybe one description in Ice Manual is not corrent

    Ice 3.1.1 Manual, Page 818:
    Code:
    Method: ice_locatorCacheTimeout
    Description: For indirect proxies, returns a new proxy with the specified timeout. ...
    Eric RC
    www.genband.com (telecommunication)
    I like ICE (Ice for C++/Java/Python)

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    I'm not sure what you mean here. What do you think is wrong?

    Cheers,

    Michi.

  3. #3
    rc_hz is offline Registered User
    Name: Eric RC
    Organization: www.genband.com
    Project: No project yet
    Join Date
    Jul 2004
    Location
    Hangzhou, China
    Posts
    189
    It seems that the description of ice_locatorCacheTimeout(...) is the same with the description of ice_timeout(...):
    Code:
    Ice 3.1.1 Manual, Page 818:
    Method:ice_timeout
    Description: Returns a new proxy with the given timeout value in milliseconds.
    However, I think that ice_locatorCacheTimeout(...) just affects the lifetime of the resolving results of indirect proxies,for example:
    myobject1@myadapter1 ----> myobject1:tcp -h 10.10.10.1 -p 10001 ----> lifetime: 10 minutes
    myobject2@myadapter2 ----> myobject2:tcp -h 10.10.10.1 -p 10002 ----> lifetime: 20 minutes
    That is, ice_locatorCacheTimeout(...) is not an invocation timeout.
    Eric RC
    www.genband.com (telecommunication)
    I like ICE (Ice for C++/Java/Python)

  4. #4
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Thanks for that, we'll look at improving the doc for the next release.

    Cheers,

    Michi.

  5. #5
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    There is a better explanation of what this function does in the "Ice.Default.LocatorCacheTimeout" entry:

    Ice.Default.LocatorCacheTimeout
    Synopsis
    Ice.Default.LocatorCacheTimeout=num
    Description
    Specifies the default locator cache timeout for indirect proxies. If num is set to a value larger than zero, locator cache entries older than num seconds will be ignored. If set to 0, the locator cache won't be used. If set to -1, locator cache entries won't expire.

    Each entry in the client-side "locator cache" has an associated timestamp, and when you invoke on an indirect proxy, Ice checks this timestamp against the "locator cache timeout" of the proxy to see if can use the cached entry or if it needs to resolve the indirect proxy using the (remote) Locator.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  6. #6
    rc_hz is offline Registered User
    Name: Eric RC
    Organization: www.genband.com
    Project: No project yet
    Join Date
    Jul 2004
    Location
    Hangzhou, China
    Posts
    189
    Quote Originally Posted by bernard
    There is a better explanation of what this function does in the "Ice.Default.LocatorCacheTimeout" entry:

    Ice.Default.LocatorCacheTimeout
    Synopsis
    Ice.Default.LocatorCacheTimeout=num
    Description
    Specifies the default locator cache timeout for indirect proxies. If num is set to a value larger than zero, locator cache entries older than num seconds will be ignored. If set to 0, the locator cache won't be used. If set to -1, locator cache entries won't expire.

    Each entry in the client-side "locator cache" has an associated timestamp, and when you invoke on an indirect proxy, Ice checks this timestamp against the "locator cache timeout" of the proxy to see if can use the cached entry or if it needs to resolve the indirect proxy using the (remote) Locator.

    Cheers,
    Bernard
    Yes, this is a very precise explanation. Thank you very much!
    Eric RC
    www.genband.com (telecommunication)
    I like ICE (Ice for C++/Java/Python)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Feature list / description of Ice on website
    By Minthos in forum Comments
    Replies: 4
    Last Post: 09-03-2009, 06:49 AM
  2. One question about Ice 3.1.1 Manual
    By rc_hz in forum Help Center
    Replies: 4
    Last Post: 10-26-2006, 10:21 AM
  3. Getting a description of proxy
    By Nis Baggesen in forum Help Center
    Replies: 2
    Last Post: 06-01-2005, 08:03 AM
  4. Ice 2.1.0 manual
    By andhow in forum Bug Reports
    Replies: 1
    Last Post: 05-09-2005, 03:55 AM
  5. What's new in Ice-1.3.0 manual?
    By shantanu_k06 in forum Comments
    Replies: 1
    Last Post: 03-07-2004, 04:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •