version 1.14.14.1, 2006/02/10 16:11:46
|
version 1.18, 2006/08/11 19:47:07
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) |
|
// |
|
// Modified By: Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <iostream> | #include <iostream> |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Handler/CIMHandler.h> | #include <Pegasus/Handler/CIMHandler.h> |
#include <Pegasus/Repository/CIMRepository.h> | #include <Pegasus/Repository/CIMRepository.h> |
|
#include <Pegasus/Handler/snmpIndicationHandler/snmpDeliverTrap.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
{ | { |
public: | public: |
| |
CIMRepository* _repository; |
snmpIndicationHandler(); |
|
|
snmpIndicationHandler() |
|
{ |
|
} |
|
| |
virtual ~snmpIndicationHandler() |
virtual ~snmpIndicationHandler(); |
{ |
|
} |
|
| |
void initialize(CIMRepository* repository); | void initialize(CIMRepository* repository); |
| |
void terminate() |
void terminate(); |
{ |
|
} |
|
| |
void handleIndication( | void handleIndication( |
const OperationContext& context, | const OperationContext& context, |
|
|
CIMInstance& handler, | CIMInstance& handler, |
CIMInstance& subscription, | CIMInstance& subscription, |
ContentLanguageList& contentLanguages); | ContentLanguageList& contentLanguages); |
|
|
|
private: |
|
|
|
snmpDeliverTrap* _snmpTrapSender; |
|
|
|
CIMRepository* _repository; |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |