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

 1 karl  1.18 //%2003////////////////////////////////////////////////////////////////////////
 2 kumpf 1.1  //
 3 karl  1.18 // 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            // IBM Corp.; EMC Corporation, The Open Group.
 7 kumpf 1.1  //
 8            // Permission is hereby granted, free of charge, to any person obtaining a copy
 9            // of this software and associated documentation files (the "Software"), to
10            // deal in the Software without restriction, including without limitation the
11            // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12            // sell copies of the Software, and to permit persons to whom the Software is
13            // furnished to do so, subject to the following conditions:
14 kumpf 1.10 // 
15 kumpf 1.1  // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16            // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17            // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18            // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19            // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20            // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21            // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22            // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23            //
24            //==============================================================================
25            //
26            // Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com)
27            //
28 kumpf 1.15 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
29            //                (carolann_graves@hp.com)
30 kumpf 1.19 //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
31 kumpf 1.1  //
32            //%/////////////////////////////////////////////////////////////////////////////
33            
34            
35 kumpf 1.3  #ifndef Pegasus_IndicationHandlerService_h
36            #define Pegasus_IndicationHandlerService_h
37 kumpf 1.1  
38            #include <Pegasus/Common/Config.h>
39            #include <sys/types.h>
40            #include <iostream>
41            #include <stdio.h>
42            #include <string.h>
43            
44            #include <Pegasus/Common/Config.h>
45            #include <Pegasus/Common/AsyncOpNode.h>
46            #include <Pegasus/Common/MessageQueueService.h>
47            #include <Pegasus/Common/CIMMessage.h>
48            #include <Pegasus/Handler/CIMHandler.h>
49            #include <Pegasus/Repository/CIMRepository.h>
50            
51            #include "HandlerTable.h"
52 chuck 1.13 
53            #include <Pegasus/HandlerService/Linkage.h>
54 kumpf 1.1  
55            PEGASUS_NAMESPACE_BEGIN
56            
57            class PEGASUS_HANDLER_SERVICE_LINKAGE IndicationHandlerService 
58 mday  1.6     : public MessageQueueService
59 kumpf 1.1  {
60 mday  1.6     public:
61 kumpf 1.1      
62 mday  1.6        typedef MessageQueueService Base;
63 kumpf 1.1      
64 mday  1.6        IndicationHandlerService(CIMRepository* repository);
65 kumpf 1.3  
66 mday  1.6        IndicationHandlerService(void);
67 kumpf 1.3  
68 mday  1.6        ~IndicationHandlerService(void) { } ;
69 kumpf 1.1        
70 mday  1.6        virtual void _handle_async_request(AsyncRequest *req);
71 kumpf 1.3  
72 mday  1.6        virtual void handleEnqueue(Message *);
73 kumpf 1.4  
74 mday  1.6        virtual void handleEnqueue(void);
75 kumpf 1.4  
76 mday  1.8        static void _handleIndicationCallBack(AsyncOpNode *, 
77            					    MessageQueue *, 
78            					    void *);
79                  
80 mday  1.6        AtomicInt dienow;
81 kumpf 1.1  
82 mday  1.6     protected:
83 kumpf 1.3  
84 kumpf 1.19       CIMHandleIndicationResponseMessage* _handleIndication(
85                      CIMHandleIndicationRequestMessage* request);
86 kumpf 1.1  
87 mday  1.6        HandlerTable _handlerTable;
88 kumpf 1.1  
89 kumpf 1.15       CIMHandler* _lookupHandlerForClass(const CIMName& className);
90 kumpf 1.1  
91 tony  1.17       String _parseDestination(String dest);
92            
93 mday  1.6     private:
94                  CIMRepository* _repository;
95 kumpf 1.1  };
96            
97            PEGASUS_NAMESPACE_END
98            
99            #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2