Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / Auto_Disconnect.inl
blob926c6dea139990af3eb264816ac9973cbb2ac439
1 /**
2  * @file Auto_Disconnect.inl
3  *
4  * @author Carlos O'Ryan <coryan@uci.edu>
5  */
6 #include "ace/CORBA_macros.h"
8 template<class Client> ACE_INLINE void
9 Disconnect<Client>::operator () (Client *client)
11   try
12     {
13       client->disconnect ();
14     }
15   catch (const CORBA::Exception&){ };
18 template<class Client> ACE_INLINE
19 Auto_Disconnect<Client>::Auto_Disconnect (Client *client)
20   :  ACE_Utils::Auto_Functor<Client,Disconnect<Client> > (client)