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

version 1.5.14.1, 2003/07/29 15:08:29 version 1.10, 2003/10/30 21:04:11
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2003////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
   // IBM Corp.; EMC Corporation, The Open Group.
 // //
 // 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 66 
Line 68 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   // l10n
   // 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 [] =
      "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 [] =
      "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 [] =
      "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 [] =
      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_TARGETHOSTFORMAT_NOT_SUPPORTED";
  
 static const char _MSG_INVALID_SECURITY_NAME [] =  static const char _MSG_INVALID_SECURITY_NAME [] = "Invalid SNMP SecurityName.";
     "Invalid SNMP SecurityName.";  static const char _MSG_INVALID_SECURITY_NAME_KEY [] =
      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INVALID";
  
 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 [] =
      "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 [] =
      "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 [] =
      "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_INVALID";
  
 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 [] =
      "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 [] =
      "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 [] =
      "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 [] =
      "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 [] =
      "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 [] =
       "Handler.snmpIndicationHandler.snmpDeliverTrap_emanate._MSG_VERSION_NOT_SUPPORTED";
  
 class snmpDeliverTrap_emanate : public snmpDeliverTrap class snmpDeliverTrap_emanate : public snmpDeliverTrap
 { {
Line 136 
Line 169 
         const Uint32& portNumber,         const Uint32& portNumber,
         const Uint16& snmpVersion,         const Uint16& snmpVersion,
         const String& engineID,         const String& engineID,
         Array<String>& vbOids,          const Array<String>& vbOids,
         Array<String>& vbTypes,          const Array<String>& vbTypes,
         Array<String>& vbValues);          const Array<String>& vbValues);
  
 private: private:
     char * _getIPAddress(const CString& hostName);     char * _getIPAddress(const CString& hostName);


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2