blob: b0ef729fe2b5fab0eb58af80f453a39ce151a4b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
// -*- C++ -*-
//=============================================================================
/**
* @file CSD_TP_Custom_Asynch_Request.h
*
* @author Tim Bradley <bradley_t@ociweb.com>
*/
//=============================================================================
#ifndef TAO_CSD_TP_CUSTOM_ASYNCH_REQUEST_H
#define TAO_CSD_TP_CUSTOM_ASYNCH_REQUEST_H
#include /**/ "ace/pre.h"
#include "tao/CSD_ThreadPool/CSD_TP_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/CSD_ThreadPool/CSD_TP_Custom_Request.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
namespace CSD
{
class TP_Custom_Asynch_Request;
typedef TAO_Intrusive_Ref_Count_Handle<TP_Custom_Asynch_Request>
TP_Custom_Asynch_Request_Handle;
/**
* @class TP_Custom_Asynch_Request
*
* @brief Base class for "queue-able", Custom (non-CORBA),
* Synchronous requests.
*
* TBD - Add description
*
*/
class TAO_CSD_TP_Export TP_Custom_Asynch_Request
: public TP_Custom_Request
{
public:
/// Constructor.
TP_Custom_Asynch_Request(TP_Custom_Request_Operation* op,
TP_Servant_State* servant_state);
/// Virtual Destructor.
virtual ~TP_Custom_Asynch_Request();
protected:
/// Dispatch the request to the servant.
virtual void dispatch_i();
/// Cancel the request.
virtual void cancel_i();
};
}
}
TAO_END_VERSIONED_NAMESPACE_DECL
#if defined (__ACE_INLINE__)
# include "tao/CSD_ThreadPool/CSD_TP_Custom_Asynch_Request.inl"
#endif /* __ACE_INLINE__ */
#include /**/ "ace/post.h"
#endif /* TAO_CSD_TP_CUSTOM_ASYNCH_REQUEST_H */
|