Home Help Center

Setting RetryIntervals below application level

ctennisctennis Member Caleb TennisOrganization: AEIProject: Project GINA ✭✭✭
Is it possible to set the concept of Ice.RetryIntervals at a more fine-grained level than just for the application? That is, can I somehow specify them on a particular proxy or connection?

Thanks,
Caleb

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    You create a new proxy with a given timeout by calling ice_timeout on an existing proxy. See the Ice manual for details.
  • ctennisctennis Member Caleb TennisOrganization: AEIProject: Project GINA ✭✭✭
    Right, but timeouts and retrys are different things, no? For example, if I set Ice.RetryIntervals to "0 500 1500" then I get three retry attempts, whereas with ice_timeout() I'm only explicitly setting a timeout for one attempt.

    I guess what I'm wondering is if I can do a "AdapterName.RetryIntervals=xxx" so I can set it at a more fine grained level, or if there's a hidden ice_retryIntervals() method for proxies somewhere I'm missing?

    Thanks.
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Sorry, you are right -- that's what I get for answering a question before my first coffee :) There is no way to set the retry intervals except on a per-communicator basis.
  • rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
    Is there any plan to add this feature ? If so, it seems to be another great feature.
Sign In or Register to comment.