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

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpIndicationHandler.h between version 1.2 and 1.19

version 1.2, 2001/12/13 14:54:23 version 1.19, 2006/11/14 18:34:53
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 BMC Software, Hewlett Packard, IBM, The Open Group,  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Tivoli Systems  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 21 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com)  
 //  
 // Modified By:  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <iostream> #include <iostream>
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/Selector.h>  
 #include <Pegasus/ExportClient/CIMExportClient.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
  
 PEGASUS_USING_STD; PEGASUS_USING_STD;
  
 //#define DDD(X) X  
 #define DDD(X) // X  
   
 DDD(static const char* _SNMPINDICATIONHANDLER = "snmpIndicationHandler::";)  
   
 class PEGASUS_HANDLER_LINKAGE snmpIndicationHandler: public CIMHandler class PEGASUS_HANDLER_LINKAGE snmpIndicationHandler: public CIMHandler
 { {
 public: public:
  
     CIMRepository* _repository;      snmpIndicationHandler();
   
     snmpIndicationHandler()  
     {  
         DDD(cout << _SNMPINDICATIONHANDLER << "snmpIndicationHandler()" << endl;)  
     }  
  
     virtual ~snmpIndicationHandler()      virtual ~snmpIndicationHandler();
     {  
         DDD(cout << _SNMPINDICATIONHANDLER << "~snmpIndicationHandler()" << endl;)  
     }  
  
     void initialize(CIMRepository* repository);     void initialize(CIMRepository* repository);
  
     void terminate()      void terminate();
     {  
         DDD(cout << _SNMPINDICATIONHANDLER << "terminate()" << endl;)  
     }  
  
     void handleIndication(     void handleIndication(
         CIMInstance& indicationHandlerInstance,          const OperationContext& context,
         CIMInstance& indicationInstance,          const String nameSpace,
         String nameSpace);          CIMInstance& indication,
           CIMInstance& handler,
           CIMInstance& subscription,
           ContentLanguageList& contentLanguages);
   
   private:
   
       snmpDeliverTrap* _snmpTrapSender;
   
       CIMRepository* _repository;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.19

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2