version 1.22, 2006/01/30 16:17:54
|
version 1.23, 2006/08/11 19:47:07
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) |
|
// |
|
// Modified By: Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <Pegasus/Common/System.h> | #include <Pegasus/Common/System.h> |
|
|
| |
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(); |
|
} | } |
| |
| |
|
|
} | } |
} | } |
| |
|
void snmpDeliverTrap_emanate::terminate() |
|
{ |
|
// |
|
// Close the connection to the Master Agent and shut down the |
|
// Subagent |
|
// |
|
EndSubagent(); |
|
} |
|
|
| |
void snmpDeliverTrap_emanate::deliverTrap( | void snmpDeliverTrap_emanate::deliverTrap( |
const String& trapOid, | const String& trapOid, |