3 //=============================================================================
5 * @file Async_Table_Adapter.h
7 * @author Phil Mesnier <mesnier_p@ociweb.com>
9 //=============================================================================
12 #ifndef TAO_ASYNC_TABLE_ADAPTER_H
13 #define TAO_ASYNC_TABLE_ADAPTER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/IORTable/async_iortable_export.h"
17 #include "tao/IORTable/Async_IORTable.h"
18 #include "tao/IORTable/Async_IOR_Table_Impl.h"
20 #include "tao/IORTable/Table_Adapter.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 class TAO_Async_IORTable_Export TAO_Async_Table_Adapter
: public TAO_Table_Adapter
32 TAO_Async_Table_Adapter (TAO_ORB_Core
&orb_core
);
35 virtual ~TAO_Async_Table_Adapter ();
37 // = The TAO_Adapter methods, please check tao/Adapter.h for the
41 virtual int dispatch (TAO::ObjectKey
&key
,
42 TAO_ServerRequest
&request
,
43 CORBA::Object_out foward_to
);
46 /// Helper method to find an object bound in the table.
47 void find_object (::IORTable::Locate_ResponseHandler rh
,
51 // ****************************************************************
53 class TAO_Async_IORTable_Export TAO_Async_Table_Adapter_Factory
:
54 public TAO_Table_Adapter_Factory
58 TAO_Async_Table_Adapter_Factory ();
60 /// The TAO_Adapter_Factory methods, please read tao/Adapter.h for
62 virtual TAO_Adapter
*create (TAO_ORB_Core
*orb_core
);
65 TAO_END_VERSIONED_NAMESPACE_DECL
67 ACE_STATIC_SVC_DECLARE (TAO_Async_Table_Adapter_Factory
)
68 ACE_FACTORY_DECLARE (TAO_Async_IORTable
, TAO_Async_Table_Adapter_Factory
)
70 #include /**/ "ace/post.h"
71 #endif /* TAO_ASYNC_TABLE_ADAPTER_H */