Re: Mango comments ...



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, Mathieu and all:

Mathieu Lacage wrote:

[snip]

> > @@ -542,6 +548,10 @@
> >      first place. MICO takes a different tack - the _narrow operation
> >      generated in the stubs actually constructs a fresh proxy class
> >      from the superclass reference when downcasting.
> > +
> > +    ? downcasting; it sounds like someone is getting upset :-), is this
> > +      standard terminology ?
>
> I know the C++ mapping uses narrow as a name for this concept but it really is
> a downcast and I think that this terminology is used only for the C++ mapping.
>
> Am I wrong ?
>

No, You're right.

>
> > +
> >      </para>
> >
>

> > @@ -885,7 +924,10 @@
> >    GObjectClass parent_class;
> >
> >    /* virtual method */
> > -  gboolean (*MPOA_Foo_bar) (MFoo_bar *self, gint32 baz, GError *error);
> > +  gboolean (*MPOA_Foo_bar) (MFoo_bar *self, gint32 baz, GError **error);
> > +
> > +  ? Why mangle the full name here, not even the OMG do that ?
> > +
> >  };
>
> hrm, really ?
>
> I did not knew: you are right it is not really necessary but it might make it easier
> to make the server-side servant and the client-side proxy look the same.
>

I think this is a good practice.

>
> >
> >  </programlisting>
> > @@ -898,6 +940,9 @@
> >        <function>destroy</function> virtual methods can do the same...
> >        Also, we will need an <function>activate</function> virtual method probably. (really need
> >        to think about it)
> > +
> > +      ? What does the activate method do ?
>
> If i remmember well, I think it is a factory method used by the POA to instantiate
> the relevant servant when given certain POA::Policies....
>

The methods are activate_object and activated_object_with_id, for POAs that have and have not "SYSTEM"
ID_ASSGINMENT policy respectively.

>
>
> Thanks for this feedback,
> Mathieu
>
> --
> Mathieu Lacage <mathieu eazel com>
>

    Hope this hellps.
    Regards.
    diego.

--
Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevilla um es
       Departamento de Ingeniería y Tecnología de Computadores
           Facultad de Informática. Universidad de Murcia
Campus de Espinardo  -  30080 Murcia (SPAIN).  -  Tel. +34-968-367658
PGP:  http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xC9B964B7
\huge d\em\kern-.36em\lower-.2ex\hbox{\small sevilla}\kern- 1em um es
perl -e'$_="\x4\ FLe\x2&B";for(/../g){print unpack("b*",$_),"\n"}'|tr 01 " #"




-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: z/fmJnzaHHp6YkVYhNvgFswMcXqW+ypu

iQA/AwUBOhEXpNoq0AfJuWS3EQL52ACggVLUJm5nyTyEjbXSVZkBjJiJMaoAoKNc
dXWzfgsaY6thF4qSbNlM+8Vz
=AEvq
-----END PGP SIGNATURE-----




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