Re: corba servants' specific data

> We want to pass our implementation functions some application specific data 
> but as their signature is fixed to be (PortableServant_Servant servant, ..., 
> CORBA_Environment *ev), it is impossible to add data as a new parameter. 
> They use the folowing:
> typedef struct AppServant {
>   POA_Counter base;
>   CORBA_Long value;
> } AppServant;

yes, this is the usual method to achieve this.

For Bonobo, on the other hand, you usually put your information in the


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