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

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpDeliverTrap_emanate.h between version 1.14 and 1.15

version 1.14, 2006/08/11 19:47:07 version 1.15, 2006/11/14 18:34:53
Line 73 
Line 73 
 // l10n // l10n
 // lots of hacking to make up these messages // lots of hacking to make up these messages
  
 static const char _MSG_INITSUBAGENT_FAILED [] = "InitSubagent Failed to initialize";  static const char _MSG_INITSUBAGENT_FAILED[] =
       "InitSubagent Failed to initialize";
 static const char _MSG_INITSUBAGENT_FAILED_KEY [] = static const char _MSG_INITSUBAGENT_FAILED_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INITSUBAGENT_FAILED";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_INITSUBAGENT_FAILED";
  
 static const char _MSG_INVALID_TRAPOID [] = "Invalid trapOid."; static const char _MSG_INVALID_TRAPOID [] = "Invalid trapOid.";
 static const char _MSG_INVALID_KEY [] = static const char _MSG_INVALID_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INVALID";    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INVALID";
  
 static const char _MSG_DESTINATION_NOT_FOUND [] = "Can not find trap destination.";  static const char _MSG_DESTINATION_NOT_FOUND[] =
       "Can not find trap destination.";
 static const char _MSG_DESTINATION_NOT_FOUND_KEY [] = static const char _MSG_DESTINATION_NOT_FOUND_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_DESTINATION_NOT_FOUND";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_DESTINATION_NOT_FOUND";
  
 static const char _MSG_TARGETHOSTFORMAT_NOT_SUPPORTED [] = static const char _MSG_TARGETHOSTFORMAT_NOT_SUPPORTED [] =
     "Host Name and IPV4 Address are the only supported TargetHostFormat values.";      "Host Name and IPV4 Address are the only supported TargetHostFormat "
           "values.";
 static const char _MSG_TARGETHOSTFORMAT_NOT_SUPPORTED_KEY [] = static const char _MSG_TARGETHOSTFORMAT_NOT_SUPPORTED_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_TARGETHOSTFORMAT_NOT_SUPPORTED";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_TARGETHOSTFORMAT_NOT_SUPPORTED";
  
 static const char _MSG_INVALID_SECURITY_NAME [] = "Invalid SNMP SecurityName."; static const char _MSG_INVALID_SECURITY_NAME [] = "Invalid SNMP SecurityName.";
 static const char _MSG_INVALID_SECURITY_NAME_KEY [] = static const char _MSG_INVALID_SECURITY_NAME_KEY [] =
Line 97 
Line 103 
 static const char _MSG_INVALID_OCTET_VALUE [] = static const char _MSG_INVALID_OCTET_VALUE [] =
     "Invalid octet value in trap destination.";     "Invalid octet value in trap destination.";
 static const char _MSG_INVALID_OCTET_VALUE_KEY [] = static const char _MSG_INVALID_OCTET_VALUE_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INVALID_OCTET_VALUE";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_INVALID_OCTET_VALUE";
  
 static const char _MSG_CREATE_OCTET_FAILED [] = static const char _MSG_CREATE_OCTET_FAILED [] =
     "Creation of empty 4 length OctetString failed.";     "Creation of empty 4 length OctetString failed.";
 static const char _MSG_CREATE_OCTET_FAILED_KEY [] = static const char _MSG_CREATE_OCTET_FAILED_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_CREATE_OCTET_FAILED";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_CREATE_OCTET_FAILED";
  
 static const char _MSG_INVALID_ENTERPRISEOID [] = "Invalid enterpriseOid."; static const char _MSG_INVALID_ENTERPRISEOID [] = "Invalid enterpriseOid.";
 static const char _MSG_INVALID_ENTERPRISEOID_KEY [] = static const char _MSG_INVALID_ENTERPRISEOID_KEY [] =
Line 110 
Line 118 
  
 static const char _MSG_INVALID_PROPERTYOID [] = "Invalid OID of CIM Property."; static const char _MSG_INVALID_PROPERTYOID [] = "Invalid OID of CIM Property.";
 static const char _MSG_INVALID_PROPERTYOID_KEY [] = static const char _MSG_INVALID_PROPERTYOID_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INVALID_PROPERTYOID";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_INVALID_PROPERTYOID";
  
 static const char _MSG_INVALID_PROPERTYVALUE [] = "Invalid value of CIM Property.";  static const char _MSG_INVALID_PROPERTYVALUE[] =
       "Invalid value of CIM Property.";
 static const char _MSG_INVALID_PROPERTYVALUE_KEY [] = static const char _MSG_INVALID_PROPERTYVALUE_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INVALID_PROPERTY";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_INVALID_PROPERTY";
  
 static const char _MSG_MAKE_VARBIND_FAILED_FOR_OCTET_PRIM_TYPE [] = static const char _MSG_MAKE_VARBIND_FAILED_FOR_OCTET_PRIM_TYPE [] =
     "Failed to MakeVarBindWithValue for type OCTET_PRIM_TYPE.";     "Failed to MakeVarBindWithValue for type OCTET_PRIM_TYPE.";
 static const char _MSG_MAKE_VARBIND_FAILED_FOR_OCTET_PRIM_TYPE_KEY [] = static const char _MSG_MAKE_VARBIND_FAILED_FOR_OCTET_PRIM_TYPE_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_MAKE_FAILED_FOR_OCTET_PRIM_TYPE";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_MAKE_FAILED_FOR_OCTET_PRIM_TYPE";
  
 static const char _MSG_MAKE_VARBIND_FAILED_FOR_OBJECT_ID_TYPE [] = static const char _MSG_MAKE_VARBIND_FAILED_FOR_OBJECT_ID_TYPE [] =
     "Failed to MakeVarBindWithValue for type OBJECT_ID_TYPE.";     "Failed to MakeVarBindWithValue for type OBJECT_ID_TYPE.";
 static const char _MSG_MAKE_VARBIND_FAILED_FOR_OBJECT_ID_TYPE_KEY [] = static const char _MSG_MAKE_VARBIND_FAILED_FOR_OBJECT_ID_TYPE_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_MAKE_FAILED_FOR_OBJECT_ID_TYPE";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_MAKE_FAILED_FOR_OBJECT_ID_TYPE";
  
 static const char _MSG_MAKE_VARBIND_FAILED_FOR_INTEGER_TYPE [] = static const char _MSG_MAKE_VARBIND_FAILED_FOR_INTEGER_TYPE [] =
     "Failed to MakeVarBindWithValue for type INTEGER_TYPE.";     "Failed to MakeVarBindWithValue for type INTEGER_TYPE.";
 static const char _MSG_MAKE_VARBIND_FAILED_FOR_INTEGER_TYPE_KEY [] = static const char _MSG_MAKE_VARBIND_FAILED_FOR_INTEGER_TYPE_KEY [] =
    "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_MAKE_FAILED_FOR_INTEGER_TYPE";     "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_MAKE_FAILED_FOR_INTEGER_TYPE";
  
 static const char _MSG_VERSION_NOT_SUPPORTED [] = static const char _MSG_VERSION_NOT_SUPPORTED [] =
     "SNMPv1 Trap and SNMPv2C Trap are the only supported SNMPVersion values.";     "SNMPv1 Trap and SNMPv2C Trap are the only supported SNMPVersion values.";
 static const char _MSG_VERSION_NOT_SUPPORTED_KEY [] = static const char _MSG_VERSION_NOT_SUPPORTED_KEY [] =
     "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_VERSION_NOT_SUPPORTED";      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate."
           "_MSG_VERSION_NOT_SUPPORTED";
  
 class snmpDeliverTrap_emanate : public snmpDeliverTrap class snmpDeliverTrap_emanate : public snmpDeliverTrap
 { {
Line 158 
Line 172 
         @param  targetHostFormat targetHost format         @param  targetHostFormat targetHost format
         @param  otherTargetHostFormat other target format type         @param  otherTargetHostFormat other target format type
         @param  portNumber      UDP port number to send the trap/inform         @param  portNumber      UDP port number to send the trap/inform
         @param  snmpVersion     snmp version and format to use to send the indication          @param snmpVersion            snmp version and format to use to send
         @param  engineID        snmp engine ID used to create the SNMPv3 inform                                        the indication
           @param engineID               snmp engine ID used to create the SNMPv3
                                         inform
         @param  vbOids          VarBind OIDs         @param  vbOids          VarBind OIDs
         @param  vbTypes         VarBind types         @param  vbTypes         VarBind types
         @param  vbValues        VarBind values         @param  vbValues        VarBind values
Line 185 
Line 201 
         Values for the TargetHostFormat property of the         Values for the TargetHostFormat property of the
         PG_IndicationHandlerSNMPMapper class.         PG_IndicationHandlerSNMPMapper class.
     */     */
     enum TargetHostFormat {_OTHER = 1, _HOST_NAME = 2,      enum TargetHostFormat
          _IPV4_ADDRESS = 3, _IPV6_ADDRESS = 4};      {
     enum SNMPVersion {_SNMPv1_TRAP = 2, _SNMPv2C_TRAP = 3,          _OTHER = 1,
          _SNMPv2C_INFORM = 4, _SNMPv3_TRAP = 5, _SNMPv3_INFORM = 6};          _HOST_NAME = 2,
           _IPV4_ADDRESS = 3,
           _IPV6_ADDRESS = 4
       };
   
       enum SNMPVersion
       {
           _SNMPv1_TRAP = 2,
           _SNMPv2C_TRAP = 3,
           _SNMPv2C_INFORM = 4,
           _SNMPv3_TRAP = 5,
           _SNMPv3_INFORM = 6
       };
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2