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

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpIndicationHandler.cpp between version 1.17 and 1.19

version 1.17, 2003/08/19 18:08:42 version 1.19, 2003/10/09 16:43:40
Line 78 
Line 78 
     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();
  
Line 156 
Line 156 
             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;
Line 192 
Line 195 
                     // l10n                     // l10n
                     // throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, "Invalid MappingStrings Value");                     // throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, "Invalid MappingStrings Value");
                     throw PEGASUS_CIM_EXCEPTION_L (CIM_ERR_FAILED,                     throw PEGASUS_CIM_EXCEPTION_L (CIM_ERR_FAILED,
                                                    MessageLoaderParms("Handler.snmpIndicationHandler.snmpIndicationHandler.INVALID_VALUE",                                                     MessageLoaderParms("Handler.snmpIndicationHandler.snmpIndicationHandler.INVALID_MS_VALUE",
                                                                        "Invalid $0 Value", "MappingStrings"));                                                                         "Invalid MappingStrings Value"));
                 }                 }
             }             }
             else             else
Line 208 
Line 211 
  
         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,
Line 236 
Line 251 
       // "Invalid IndicationHandlerSNMPMapper instance");       // "Invalid IndicationHandlerSNMPMapper instance");
  
       throw PEGASUS_CIM_EXCEPTION_L (CIM_ERR_FAILED,       throw PEGASUS_CIM_EXCEPTION_L (CIM_ERR_FAILED,
                                      MessageLoaderParms("Handler.snmpIndicationHandler.snmpIndicationHandler.INVALID_INSTANCE",                                       MessageLoaderParms("Handler.snmpIndicationHandler.snmpIndicationHandler.INVALID_SNMP_INSTANCE",
                                                         "Invalid $0 instance", "IndicationHandlerSNMPMapper"));                                                          "Invalid IndicationHandlerSNMPMapper instance"));
     }     }
 } }
  


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2