Search code examples
c++tcpcorba

Corba request timeout


I am working on a Corba client for some time. One problem that I run in is that I am not really able to define a timeout configuration.

I am using a Mico C++ orb but it seems to be a global problem because I found noone who could describe if there is a Corba defined method to configure a request timeout.

Does anyone know of such an interface or orb initialization?


Solution

  • The Messaging section of the CORBA spec defines RelativeRequestTimeoutPolicy and RelativeRoundtripTimeoutPolicy for that. You may look at the section named "Programming client timeouts" in http://www.cs.wustl.edu/~schmidt/PDF/C++-report-col19.pdf for more information.

    I don't have experience with MICO, but it seems that it is supported since version 2.3.13