Archived

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

getACMTimeout() equivalent for ICE server (no Glacier2)

Hello,

when connecting through Glacier2, I can query its ACTTimeout (using getACMTimeout() on the router object).

router.getACMTimeout()

What is the equivalent for a direct connection to an ICE server?

Many thanks for you answer.

Tagged:

Comments

  • benoit
    benoit Rennes, France

    Hi,

    Just like Glacier2, you need to provide a slice operation to retrieve the ACM timeout configured for the connection:

    int
    SessionRouterI::getACMTimeout(const Ice::Current& current) const
    {
        return current.con->getACM().timeout;
    }
    

    Cheers,
    Benoit.