(file) Return to CIMOperationResponseEncoder.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Server

  1 karl  1.22 //%2006////////////////////////////////////////////////////////////////////////
  2 mike  1.2  //
  3 karl  1.17 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  4            // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  5            // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  6 karl  1.15 // IBM Corp.; EMC Corporation, The Open Group.
  7 karl  1.17 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  8            // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
  9 karl  1.20 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10            // EMC Corporation; VERITAS Software Corporation; The Open Group.
 11 karl  1.22 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12            // EMC Corporation; Symantec Corporation; The Open Group.
 13 mike  1.2  //
 14            // Permission is hereby granted, free of charge, to any person obtaining a copy
 15 kumpf 1.11 // of this software and associated documentation files (the "Software"), to
 16            // deal in the Software without restriction, including without limitation the
 17            // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 18 mike  1.2  // sell copies of the Software, and to permit persons to whom the Software is
 19            // furnished to do so, subject to the following conditions:
 20            // 
 21 kumpf 1.11 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 22 mike  1.2  // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 23            // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 24 kumpf 1.11 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 25            // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 26            // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 27 mike  1.2  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 28            // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 29            //
 30            //==============================================================================
 31            //
 32            // Author: Mike Brasher (mbrasher@bmc.com)
 33            //
 34            // Modified By: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com)
 35 kumpf 1.12 //              Carol Ann Krug Graves, Hewlett-Packard Company
 36 david.dillard 1.19 //                  (carolann_graves@hp.com)
 37 kumpf         1.14 //              Sushma Fernandes, Hewlett-Packard Company
 38 david.dillard 1.19 //                  (sushma_fernandes@hp.com)
 39 brian.campbell 1.16 //         Brian G. Campbell, EMC (campbell_brian@emc.com) - PEP140/phase1
 40 brian.campbell 1.18 //         Brian G. Campbell, EMC (campbell_brian@emc.com) - PEP140/phase2
 41 david.dillard  1.19 //              David Dillard, VERITAS Software Corp.
 42                     //                  (david.dillard@veritas.com)
 43 mike           1.2  //
 44                     //%/////////////////////////////////////////////////////////////////////////////
 45                     
 46                     #ifndef Pegasus_CIMOperationResponseEncoder_h
 47                     #define Pegasus_CIMOperationResponseEncoder_h
 48                     
 49                     #include <Pegasus/Common/Config.h>
 50 mday           1.4  #include <Pegasus/Common/MessageQueueService.h>
 51 mike           1.2  #include <Pegasus/Common/CIMMessage.h>
 52                     
 53                     PEGASUS_NAMESPACE_BEGIN
 54                     
 55                     /** This class encodes CIM operation requests and passes them up-stream.
 56 mday           1.6   */
 57 mday           1.4  class CIMOperationResponseEncoder : public MessageQueueService
 58 mike           1.2  {
 59 kumpf          1.14    private:
 60                            static const String OUT_OF_MEMORY_MESSAGE;
 61                     
 62 mday           1.4     public:
 63 mday           1.3    
 64 mday           1.4        typedef MessageQueueService Base;
 65 mday           1.3    
 66 mike           1.2  
 67 mday           1.6        CIMOperationResponseEncoder();
 68 mike           1.2  
 69 mday           1.6        ~CIMOperationResponseEncoder();
 70 mike           1.2  
 71 brian.campbell 1.18 			void sendResponse(CIMResponseMessage* response,
 72                     												const String &name,
 73                     												Boolean isImplicit,
 74 mike           1.21 												Buffer *bodygiven = 0);
 75 mike           1.2  
 76 kumpf          1.23       virtual void enqueue(Message *);
 77                     
 78 mday           1.6        virtual void handleEnqueue(Message *);
 79 mday           1.5        
 80 mday           1.6        virtual void handleEnqueue();
 81 mike           1.2  
 82                     
 83 mday           1.6        void encodeCreateClassResponse(
 84                     	 CIMCreateClassResponseMessage* response);
 85 mike           1.2  
 86 mday           1.6        void encodeGetClassResponse(
 87                     	 CIMGetClassResponseMessage* response);
 88 mike           1.2  
 89 mday           1.6        void encodeModifyClassResponse(
 90                     	 CIMModifyClassResponseMessage* response);
 91 mike           1.2  
 92 mday           1.6        void encodeEnumerateClassNamesResponse(
 93                     	 CIMEnumerateClassNamesResponseMessage* response);
 94 mike           1.2  
 95 mday           1.6        void encodeEnumerateClassesResponse(
 96                     	 CIMEnumerateClassesResponseMessage* response);
 97 mike           1.2  
 98 mday           1.6        void encodeDeleteClassResponse(
 99                     	 CIMDeleteClassResponseMessage* response);
100 mike           1.2  
101 mday           1.6        void encodeCreateInstanceResponse(
102                     	 CIMCreateInstanceResponseMessage* response);
103 mike           1.2  
104 mday           1.6        void encodeGetInstanceResponse(
105                     	 CIMGetInstanceResponseMessage* response);
106 mike           1.2  
107 mday           1.6        void encodeModifyInstanceResponse(
108                     	 CIMModifyInstanceResponseMessage* response);
109 mike           1.2  
110 mday           1.6        void encodeEnumerateInstanceNamesResponse(
111                     	 CIMEnumerateInstanceNamesResponseMessage* response);
112 mike           1.2  
113 mday           1.6        void encodeEnumerateInstancesResponse(
114                     	 CIMEnumerateInstancesResponseMessage* response);
115 mike           1.2  
116 mday           1.6        void encodeDeleteInstanceResponse(
117                     	 CIMDeleteInstanceResponseMessage* response);
118 mike           1.2  
119 mday           1.6        void encodeGetPropertyResponse(
120                     	 CIMGetPropertyResponseMessage* response);
121 mike           1.2  
122 mday           1.6        void encodeSetPropertyResponse(
123                     	 CIMSetPropertyResponseMessage* response);
124 mike           1.2  
125 mday           1.6        void encodeSetQualifierResponse(
126                     	 CIMSetQualifierResponseMessage* response);
127 mike           1.2  
128 mday           1.6        void encodeGetQualifierResponse(
129                     	 CIMGetQualifierResponseMessage* response);
130 mike           1.2  
131 mday           1.6        void encodeEnumerateQualifiersResponse(
132                     	 CIMEnumerateQualifiersResponseMessage* response);
133 mike           1.2  
134 mday           1.6        void encodeDeleteQualifierResponse(
135                     	 CIMDeleteQualifierResponseMessage* response);
136 mike           1.2  
137 mday           1.6        void encodeReferenceNamesResponse(
138                     	 CIMReferenceNamesResponseMessage* response);
139 mike           1.2  
140 mday           1.6        void encodeReferencesResponse(
141                     	 CIMReferencesResponseMessage* response);
142 mike           1.2  
143 mday           1.6        void encodeAssociatorNamesResponse(
144                     	 CIMAssociatorNamesResponseMessage* response);
145 mike           1.2  
146 mday           1.6        void encodeAssociatorsResponse(
147                     	 CIMAssociatorsResponseMessage* response);
148 mike           1.2  
149 kumpf          1.8        void encodeExecQueryResponse(
150                     	 CIMExecQueryResponseMessage* response);
151                     
152 mday           1.6        void encodeInvokeMethodResponse(
153                     	 CIMInvokeMethodResponseMessage* response);
154 mike           1.2  };
155                     
156                     PEGASUS_NAMESPACE_END
157                     
158                     #endif /* Pegasus_CIMOperationResponseEncoder_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2