[Ace-users] [tao-users] About POA Manager in TAO

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Tue Dec 18 19:30:56 CST 2007


Hi Santos,

> Thank you for your answers. I would appreciate if you can help me with an advice about a related question:

Sure, but please send all questions about TAO to the tao-users mailing
list, not to me directly.

> If I need to queue the requests sent to a object in order to invoke
> them in the future, what would be the appropriate way to do that? Is
> CSD a good option or is there a better way?

It's not clear wha tyou mean by "queue the requests sent to an object in
order to invoke them in the future."  Please explain what you're trying
to do.  Moreover, I recommend you take a look at the various CSD
examples in the TAO release.  If you haven't gotten a copy of the OCI
TAO Developer's Guide that's another good place to learn more about this
feature.

Thanks,

        Doug

> Thank you again.
> 
> Santos
> 
> 2007/12/17, Douglas C. Schmidt <schmidt at dre.vanderbilt.edu>:
> 
>     Hi Steve,
>    
>     >> Ok, so does this imply that the CSD mechanism runs "atop" the POA?  Put
>     >> another way, what is the architectural relationship between CSD and the
>     >> POA?
>     >
>     >It uses the Strategy pattern.  The POA delegates the
>     >dispatching of requests to the CSD strategy object.
>    
>     Aha, now I get it.
>    
>     >>> The thread-pool CSD strategy (TP_Strategy) that comes with TAO
>     >>> as a reference implementation does queue requests for processing
>     >>> by threads in the thread pool.  I don't believe there is any
>     >>> defined upper limit to the number of requests that can be queued.
>     >>
>     >> Cool - it would be nice if we could figure out how to integrate CSD with
>     >> the POA such that the HOLDING state would queue requests!
>     >
>     >That was not the intent of the original sponsor of CSD.
>    
>     Ok, so it sounds like adding support for this feature should be put on
>     the "wish list" for future sponsors ;-)
>    
>     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
>    
>     _______________________________________________
>     tao-users mailing list
>     tao-users at mail.cse.wustl.edu
>     http://mail.cse.wustl.edu/mailman/listinfo/tao-users
> 



More information about the Ace-users mailing list