[omniORB] Distinguishing COMM_FAILURE - timeout

Ivanov, Roumen Roumen.Ivanov@drkw.com
Tue, 16 Oct 2001 16:49:18 +0200


Thank you, Duncan. I looked at you minor codes but I did not found anything
about timeout. Where could I read about the standardized minor codes? 
Regards,
Roumen

-----Original Message-----
From:	Duncan Grisby [SMTP:dgrisby@uk.research.att.com]
Sent:	Tuesday, October 16, 2001 11:49
To:	Ivanov, Roumen
Cc:	omniorb-list@uk.research.att.com
Subject:	Re: [omniORB] Distinguishing COMM_FAILURE - timeout 

On Monday 15 October, "Ivanov, Roumen" wrote:

> 	Is there any (even omniORB or network protocol specific) way to
> recognize what kind of COMM_FAILURE is causing the CORBA::COMM_FAILURE?
> 	Specifically I need to handle the network communication (TCP/IP)
> timeouts in a different way.

I'm afraid that with omniORB 3 there is no way to tell the difference.
In omniORB 4, we use different exception minor codes to represent
different errors, so there you can tell the difference. Some minor
codes are standardised; many are not.

> 	Has CORBA:: NO_RESPONSE anything to do with the issue?

No, that's used by the asynchronous message interface spec (which
omniORB doesn't support yet).

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --