1 kumpf 1.2 //%/////////////////////////////////////////////////////////////////////////////
|
2 chip 1.1 //
|
3 kumpf 1.2 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
4 // The Open Group, Tivoli Systems
|
5 chip 1.1 //
6 // Permission is hereby granted, free of charge, to any person obtaining a copy
7 // of this software and associated documentation files (the "Software"), to
8 // deal in the Software without restriction, including without limitation the
9 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 // sell copies of the Software, and to permit persons to whom the Software is
11 // furnished to do so, subject to the following conditions:
|
12 chip 1.3 //
|
13 chip 1.1 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
14 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
15 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
17 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 //
22 //==============================================================================
23 //
24 // Author: Chip Vincent (cvincent@us.ibm.com)
25 //
26 // Modified By:
27 //
28 //%/////////////////////////////////////////////////////////////////////////////
29
30 #ifndef Pegasus_ResponseHandlerRep_h
31 #define Pegasus_ResponseHandlerRep_h
32
33 #include <Pegasus/Common/Config.h>
34 chip 1.1 #include <Pegasus/Common/Sharable.h>
|
35 chip 1.5
|
36 chip 1.6 #include <Pegasus/Common/CIMObject.h>
|
37 chip 1.5 #include <Pegasus/Common/CIMClass.h>
38 #include <Pegasus/Common/CIMInstance.h>
39 #include <Pegasus/Common/CIMIndication.h>
40 #include <Pegasus/Common/CIMValue.h>
41 #include <Pegasus/Common/CIMObjectPath.h>
|
42 chip 1.1
43 PEGASUS_NAMESPACE_BEGIN
44
45 template<class T>
46 class PEGASUS_COMMON_LINKAGE ResponseHandlerRep : public Sharable
47 {
48 public:
49 ResponseHandlerRep(void);
50 virtual ~ResponseHandlerRep(void);
51
52 virtual void processing(void) = 0;
53
|
54 chip 1.3 virtual void complete() = 0;
|
55 chip 1.6
56 virtual void deliver(const CIMObject & object)
57 {
58 }
59
60 virtual void deliver(const Array<CIMObject> & objects)
61 {
62 }
|
63 chip 1.4
|
64 chip 1.5 virtual void deliver(const CIMClass & object)
65 {
66 }
67
68 virtual void deliver(const Array<CIMClass> & objects)
69 {
70 }
71
72 virtual void deliver(const CIMInstance & object)
73 {
74 }
75
76 virtual void deliver(const Array<CIMInstance> & objects)
77 {
78 }
79
80 virtual void deliver(const CIMIndication & object)
81 {
82 }
83
84 virtual void deliver(const Array<CIMIndication> & objects)
85 chip 1.5 {
86 }
87
88 virtual void deliver(const CIMValue & object)
89 {
90 }
91
92 virtual void deliver(const Array<CIMValue> & objects)
93 {
94 }
95
96 virtual void deliver(const CIMObjectPath & object)
97 {
98 }
99
100 virtual void deliver(const Array<CIMObjectPath> & objects)
101 {
102 }
|
103 chip 1.1
104 };
105
106 template<class T>
107 inline ResponseHandlerRep<T>::ResponseHandlerRep(void)
108 {
109 }
110
111 template<class T>
112 inline ResponseHandlerRep<T>::~ResponseHandlerRep(void)
113 {
114 }
115
116 PEGASUS_NAMESPACE_END
117
118 #endif
|