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

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

version 1.15, 2003/08/22 14:50:54 version 1.17, 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 44 
Line 46 
  
 #include <prnt_lib.h>  // MUST be at the end in include list. #include <prnt_lib.h>  // MUST be at the end in include list.
  
 static char *sr_filename = __FILE__;  static const char *sr_filename = __FILE__;
  
 IPCFunctionP IPCfp;  /* IPC functions pointer  */ IPCFunctionP IPCfp;  /* IPC functions pointer  */
  
Line 81 
Line 83 
  
 snmpDeliverTrap_emanate::snmpDeliverTrap_emanate() snmpDeliverTrap_emanate::snmpDeliverTrap_emanate()
 { {
       //
       // Initialize Subagent and establish comunication with the Master Agent
       //
       initialize();
 } }
  
 snmpDeliverTrap_emanate::~snmpDeliverTrap_emanate() snmpDeliverTrap_emanate::~snmpDeliverTrap_emanate()
 { {
       //
       // Close the connection to the Master Agent and shut down the
       // Subagent
       //
       EndSubagent();
 } }
  
  
Line 128 
Line 137 
         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)
 { {
     VarBind *vbhead = NULL;     VarBind *vbhead = NULL;
     VarBind *vb = NULL;     VarBind *vb = NULL;
Line 138 
Line 147 
  
     OID     *object = NULL;     OID     *object = NULL;
  
     // Initialize with Master agent  
   
         initialize();  
   
     // Translate a string into an OID     // Translate a string into an OID
     OID *sendtrapOid = MakeOIDFromDot(trapOid.getCString());     OID *sendtrapOid = MakeOIDFromDot(trapOid.getCString());
  


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2