Re: corba servants' specific data
- From: Miguel de Icaza <miguel gnu org>
- To: Mlacage aol com
- CC: gnome-devel-list gnome org, recipient list not shown: ;
- Subject: Re: corba servants' specific data
- Date: Thu, 19 Aug 1999 09:27:25 -0500
> 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
GtkObject.
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]