[Ace-users] [ace-users] Server-Client application with name

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Jan 4 07:39:33 CST 2008


Hi,

Thanks very much for your email.  Please make sure to send all
questions related to TAO or ACE to the ACE mailing list or ACE+TAO
newsgroup, rather than to me directly since I travel frequently and
often don't have ready access to email.  See

http://www.cs.wustl.edu/~schmidt/ACE-mail.html

for more info on how to access these resources.

In addition, 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.

> Please see the following scenario. My client A & B are connected with
> server C. I m maintaing t handles in a hash_map and have proper
> service handler in place to handle both server and client. Now my
> client A wants to send a message to client B.........this can only
> happen if server know each client by name and so there has to be a
> name to handle mapping. How can i achieve this?

Can you use an ACE_Hash_Map_Manager to store this mapping?

Doug

> On 1/3/08, Douglas C. Schmidt <schmidt at dre.vanderbilt.edu > wrote:
> 
>     Hi,
>    
>     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.
>    
>     > Right now i m creating a Server-Client application using an
>     > acceptor- connector pattern where i have implemented different types
>     > of acceptor like oneshot, strategy pattern etc. I want to identify
>     > my server and client application by real-life names. What am i
>     > supposed to do for that? How can i achieve this?
>    
>     What do you mean by "real-life" names?  How are you identifying them
>     now?  Perhaps you should take a look at /etc/services
>     (http://www.uwsg.indiana.edu/UAU/networking/other.html) for one
>     example.  You could also consider using the ACE naming service, which
>     is in ACE_ROOT/netsvcs.
>    
>     Take care,
>    
>         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