version 1.43.2.1, 2013/07/20 18:32:48
|
version 1.44, 2013/04/09 05:53:24
|
|
|
# include "snmpDeliverTrap_emanate.h" | # include "snmpDeliverTrap_emanate.h" |
#elif defined (PEGASUS_USE_NET_SNMP) | #elif defined (PEGASUS_USE_NET_SNMP) |
# include "snmpDeliverTrap_netsnmp.h" | # include "snmpDeliverTrap_netsnmp.h" |
|
#else |
|
# include "snmpDeliverTrap_stub.h" |
#endif | #endif |
| |
#include <Pegasus/Common/MessageLoader.h> | #include <Pegasus/Common/MessageLoader.h> |
|
|
_snmpTrapSender = new snmpDeliverTrap_emanate(); | _snmpTrapSender = new snmpDeliverTrap_emanate(); |
#elif defined (PEGASUS_USE_NET_SNMP) | #elif defined (PEGASUS_USE_NET_SNMP) |
_snmpTrapSender = new snmpDeliverTrap_netsnmp(); | _snmpTrapSender = new snmpDeliverTrap_netsnmp(); |
|
#else |
|
_snmpTrapSender = new snmpDeliverTrap_stub(); |
#endif | #endif |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
|
|
// l10n - note: ignoring indication language | // l10n - note: ignoring indication language |
void snmpIndicationHandler::handleIndication( | void snmpIndicationHandler::handleIndication( |
const OperationContext& context, | const OperationContext& context, |
const String nameSpace, |
const String &nameSpace, |
CIMInstance& indication, | CIMInstance& indication, |
CIMInstance& handler, | CIMInstance& handler, |
CIMInstance& subscription, | CIMInstance& subscription, |