version 1.6, 2006/11/14 18:34:53
|
version 1.7, 2007/08/09 17:05:32
|
|
|
Creates a SNMP session. | Creates a SNMP session. |
| |
@param targetHost the target system of a hostname or an IPv4 | @param targetHost the target system of a hostname or an IPv4 |
address |
address or an IPv6 address to receive a trap |
to receive a trap |
@param targetHostFormat the format of the targetHost |
@param portNumber the port number to receive a trap | @param portNumber the port number to receive a trap |
@param securityName the human readable community name | @param securityName the human readable community name |
@param sessionHandle an opaque pointer of the SNMP session | @param sessionHandle an opaque pointer of the SNMP session |
|
|
*/ | */ |
void _createSession( | void _createSession( |
const String& targetHost, | const String& targetHost, |
|
Uint16 targetHostFormat, |
Uint32 portNumber, | Uint32 portNumber, |
const String& securityName, | const String& securityName, |
void*& sessionHandle, | void*& sessionHandle, |
|
|
_SNMPv3_TRAP = 5, | _SNMPv3_TRAP = 5, |
_SNMPv3_INFORM = 6 | _SNMPv3_INFORM = 6 |
}; | }; |
|
|
|
/** |
|
Values for the TargetHostFormat property of the |
|
PG_IndicationHandlerSNMPMapper class. |
|
*/ |
|
enum TargetHostFormat |
|
{ |
|
_OTHER = 1, |
|
_HOST_NAME = 2, |
|
_IPV4_ADDRESS = 3, |
|
_IPV6_ADDRESS = 4 |
|
}; |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |