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

 1 martin 1.29 //%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.30 //
 3 martin 1.29 // Licensed to The Open Group (TOG) under one or more contributor license
 4             // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5             // this work for additional information regarding copyright ownership.
 6             // Each contributor licenses this file to you under the OpenPegasus Open
 7             // Source License; you may not use this file except in compliance with the
 8             // License.
 9 martin 1.30 //
10 martin 1.29 // Permission is hereby granted, free of charge, to any person obtaining a
11             // copy of this software and associated documentation files (the "Software"),
12             // to deal in the Software without restriction, including without limitation
13             // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14             // and/or sell copies of the Software, and to permit persons to whom the
15             // Software is furnished to do so, subject to the following conditions:
16 martin 1.30 //
17 martin 1.29 // The above copyright notice and this permission notice shall be included
18             // in all copies or substantial portions of the Software.
19 martin 1.30 //
20 martin 1.29 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.30 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.29 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23             // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24             // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25             // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26             // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 martin 1.30 //
28 martin 1.29 //////////////////////////////////////////////////////////////////////////
29 kumpf  1.1  //
30             //%/////////////////////////////////////////////////////////////////////////////
31             
32             
33 kumpf  1.3  #ifndef Pegasus_IndicationHandlerService_h
34             #define Pegasus_IndicationHandlerService_h
35 kumpf  1.1  
36             #include <sys/types.h>
37             #include <iostream>
38             #include <stdio.h>
39             #include <string.h>
40             
41             #include <Pegasus/Common/Config.h>
42             #include <Pegasus/Common/AsyncOpNode.h>
43             #include <Pegasus/Common/MessageQueueService.h>
44             #include <Pegasus/Common/CIMMessage.h>
45             #include <Pegasus/Handler/CIMHandler.h>
46             #include <Pegasus/Repository/CIMRepository.h>
47             
48 kumpf  1.27 #include <Pegasus/HandlerService/HandlerTable.h>
49 chuck  1.13 #include <Pegasus/HandlerService/Linkage.h>
50 kumpf  1.1  
51             PEGASUS_NAMESPACE_BEGIN
52             
53 kumpf  1.27 class PEGASUS_HANDLER_SERVICE_LINKAGE IndicationHandlerService :
54                 public MessageQueueService
55 kumpf  1.1  {
56 kumpf  1.27 public:
57 kumpf  1.1      
58 kumpf  1.27     typedef MessageQueueService Base;
59 kumpf  1.1      
60 kumpf  1.27     IndicationHandlerService(CIMRepository* repository);
61 kumpf  1.3  
62 kumpf  1.27     ~IndicationHandlerService() { } ;
63 kumpf  1.1        
64 kumpf  1.27     virtual void _handle_async_request(AsyncRequest* req);
65 kumpf  1.4  
66 kumpf  1.27     virtual void handleEnqueue(Message*);
67 kumpf  1.4  
68 kumpf  1.27     virtual void handleEnqueue();
69 kumpf  1.1  
70 kumpf  1.27     AtomicInt dienow;
71 carolann.graves 1.26 
72 kumpf           1.27 private:
73                          IndicationHandlerService();  //  unimplemented
74 kumpf           1.3  
75 kumpf           1.27     CIMRepository* _repository;
76 kumpf           1.1  
77 kumpf           1.27     CIMHandleIndicationResponseMessage* _handleIndication(
78                              CIMHandleIndicationRequestMessage* request);
79 kumpf           1.1  
80 kumpf           1.27     HandlerTable _handlerTable;
81 kumpf           1.1  
82 kumpf           1.27     CIMHandler* _lookupHandlerForClass(const CIMName& className);
83 yi.zhou         1.22 
84 kumpf           1.27     Boolean _loadHandler(
85                              CIMHandleIndicationRequestMessage* request,
86                              CIMException& cimException);
87 kumpf           1.1  };
88                      
89                      PEGASUS_NAMESPACE_END
90                      
91                      #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2