[Ace-users] Re: [ciao-users] Question about creation of facet servant and executor

William R. Otte wotte at dre.vanderbilt.edu
Thu Aug 16 15:56:31 CDT 2007

Hi Santos -

On Aug 16, 2007, at 3:42 PM, santos . wrote:
> I would appreciatte if you can help me clarifying some doubts about  
> facet objects behavior. The get_facet_name in the component  
> executor returns to the container an facet executor. If in my  
> component executor I have a method implemented like that:
> ::App::CCM_IFooFacet_ptr Foo_exec_i::get_foo_facet ()
>   {
>     // Your code here.
>    return ( new IFooFacet_exec_i () );
>   }
> Will I have two diferent servants for the same facet? Will the  
> reference received by the Client1 receptacle point to a different  
> object than that received by Client2? Will it be created one  
> IfooFacet_exec_i executor for each connection?

Right now, the servant code caches the first result of get_foo_facet,  
so each connection will be served by a common facet executor.


More information about the Ace-users mailing list