(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.6 and 1.10

version 1.6, 2002/04/17 22:46:33 version 1.10, 2002/07/19 23:40:13
Line 1 
Line 1 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001 BMC Software, Hewlett Packard, IBM, The Open Group,  // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
 // Tivoli Systems  // The Open Group, Tivoli Systems
 // //
 // 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 23 
Line 23 
 // //
 // Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) // Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com)
 // //
 // Modified By:  // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
   //                (carolann_graves@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
   #include <Pegasus/Common/PegasusVersion.h>
   
 #include <iostream> #include <iostream>
 #include <Pegasus/Handler/CIMHandler.h> #include <Pegasus/Handler/CIMHandler.h>
 #include <Pegasus/Repository/CIMRepository.h> #include <Pegasus/Repository/CIMRepository.h>
Line 79 
Line 82 
     {     {
         prop = indication.getProperty(i);         prop = indication.getProperty(i);
  
         if (prop)          if (!prop.isNull())
         {         {
             String propName = prop.getName();             String propName = prop.getName();
             Uint32 propPos = indicationClass.findProperty(propName);             Uint32 propPos = indicationClass.findProperty(propName);
Line 87 
Line 90 
             {             {
             CIMProperty trapProp = indicationClass.getProperty(propPos);             CIMProperty trapProp = indicationClass.getProperty(propPos);
  
             if (trapProp.existsQualifier("MappingStrings"))  
             {  
                 qualifierPos = trapProp.findQualifier("MappingStrings");                 qualifierPos = trapProp.findQualifier("MappingStrings");
               if (qualifierPos != PEG_NOT_FOUND)
               {
                 trapQualifier = trapProp.getQualifier(qualifierPos);                 trapQualifier = trapProp.getQualifier(qualifierPos);
  
                 mapstr1.clear();                 mapstr1.clear();


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2