Re: oaf async patch.



Elliot Lee <sopwith redhat com> writes:

> On Fri, 6 Oct 2000, Dirk-Jan C . Binnema wrote:
> 
> > ->  
> > -> +        interface ActivationCallback {
> > -> +                oneway void report_activation_failed (in string reason);
> > 
> > Maybe a numeric errcode as well? That enables nice&fast
> > switch logic to deal with error conditions. Oh, by the way, I've
> > already fixed this in cvs ;-)
> 
> 1. oneway operations can't return values.
> 2. Exceptions are the way to report errors in CORBA.
> 

3. You can't throw an exception for a oneway method, or pass one when
   calling the response callback (AFAIK).

 - Maciej





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]