version 1.18, 2003/08/22 14:49:49
|
version 1.19, 2003/10/09 16:43:40
|
|
|
String mapstr2; | String mapstr2; |
| |
CIMClass indicationClass = _repository->getClass( | CIMClass indicationClass = _repository->getClass( |
nameSpace, indication.getClassName(), false); |
nameSpace, indication.getClassName(), false, true, false, CIMPropertyList()); |
| |
Uint32 propertyCount = indication.getPropertyCount(); | Uint32 propertyCount = indication.getPropertyCount(); |
| |
|
|
PEG_NOT_FOUND)) | PEG_NOT_FOUND)) |
{ | { |
// properties from the handler instance | // properties from the handler instance |
String targetHost, otherTargetHostFormat; |
String targetHost; |
String securityName, engineID; |
String otherTargetHostFormat = String(); |
Uint16 targetHostFormat, snmpVersion; |
String securityName = String(); |
|
String engineID = String(); |
|
Uint16 targetHostFormat = 0; |
|
Uint16 snmpVersion = 0; |
Uint32 portNumber; | Uint32 portNumber; |
| |
String trapOid; | String trapOid; |
|
|
| |
handler.getProperty(targetHostPos).getValue().get(targetHost); | handler.getProperty(targetHostPos).getValue().get(targetHost); |
handler.getProperty(targetHostFormatPos).getValue().get(targetHostFormat); | handler.getProperty(targetHostFormatPos).getValue().get(targetHostFormat); |
|
if (otherTargetHostFormatPos != PEG_NOT_FOUND) |
|
{ |
handler.getProperty(otherTargetHostFormatPos).getValue().get | handler.getProperty(otherTargetHostFormatPos).getValue().get |
(otherTargetHostFormat); | (otherTargetHostFormat); |
|
} |
|
if (portNumberPos != PEG_NOT_FOUND) |
|
{ |
handler.getProperty(portNumberPos).getValue().get(portNumber); | handler.getProperty(portNumberPos).getValue().get(portNumber); |
|
} |
handler.getProperty(snmpVersionPos).getValue().get(snmpVersion); | handler.getProperty(snmpVersionPos).getValue().get(snmpVersion); |
|
if (securityNamePos != PEG_NOT_FOUND) |
|
{ |
handler.getProperty(securityNamePos).getValue().get(securityName); | handler.getProperty(securityNamePos).getValue().get(securityName); |
|
} |
|
if (engineIDPos != PEG_NOT_FOUND) |
|
{ |
handler.getProperty(engineIDPos).getValue().get(engineID); | handler.getProperty(engineIDPos).getValue().get(engineID); |
|
} |
| |
emanateTrap.deliverTrap( | emanateTrap.deliverTrap( |
trapOid, | trapOid, |