3 //=============================================================================
5 * @file CSD_TP_Custom_Asynch_Request.h
7 * @author Tim Bradley <bradley_t@ociweb.com>
9 //=============================================================================
11 #ifndef TAO_CSD_TP_CUSTOM_ASYNCH_REQUEST_H
12 #define TAO_CSD_TP_CUSTOM_ASYNCH_REQUEST_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CSD_ThreadPool/CSD_TP_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/CSD_ThreadPool/CSD_TP_Custom_Request.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 class TP_Custom_Asynch_Request
;
31 typedef TAO_Intrusive_Ref_Count_Handle
<TP_Custom_Asynch_Request
>
32 TP_Custom_Asynch_Request_Handle
;
35 * @class TP_Custom_Asynch_Request
37 * @brief Base class for "queue-able", Custom (non-CORBA),
38 * Synchronous requests.
40 * TBD - Add description
43 class TAO_CSD_TP_Export TP_Custom_Asynch_Request
44 : public TP_Custom_Request
48 TP_Custom_Asynch_Request(TP_Custom_Request_Operation
* op
,
49 TP_Servant_State
* servant_state
);
51 /// Virtual Destructor.
52 virtual ~TP_Custom_Asynch_Request();
55 /// Dispatch the request to the servant.
56 virtual void dispatch_i();
58 /// Cancel the request.
59 virtual void cancel_i();
64 TAO_END_VERSIONED_NAMESPACE_DECL
66 #if defined (__ACE_INLINE__)
67 # include "tao/CSD_ThreadPool/CSD_TP_Custom_Asynch_Request.inl"
68 #endif /* __ACE_INLINE__ */
70 #include /**/ "ace/post.h"
72 #endif /* TAO_CSD_TP_CUSTOM_ASYNCH_REQUEST_H */