[Ace-users] [ace-users] HowTo: Servant implementing an interface and an reply handler

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Wed Feb 20 12:41:26 CST 2008


Hi Thomas,

To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

> I would like to know if its possible for a servant to inherit from
> the skeleton and the reply handler ( I guess I might have used the
> wrong terminology maybe). If yes, how to accomplish this.  Currently
> I get an error-message ("no unique final overrider") for _is_a,
> _dispatch and _interface_repository_id.  Is it "save" to just
> override them in the servant and call e.g. the skeletons version of
> each method?

It's not really clear what you're trying to do.  Are you trying to
implement a "middle-tier" server with objects that are both servants
and AMI clients?  Have you taken a look at the various AMI examples in
TAO yet?

Thanks,

        Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list