Package | Description |
---|---|
org.opennms.protocols.snmp |
Modifier and Type | Field and Description |
---|---|
private SnmpTrapSession |
SnmpTrapSession.TrapHandler.m_forWhom
Who to pass as the session parameter
|
Modifier and Type | Method and Description |
---|---|
void |
SnmpTrapHandler.snmpReceivedTrap(SnmpTrapSession session,
java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduPacket pdu)
This method is defined to handle SNMPv2 traps
that are received by the session.
|
void |
SnmpTrapHandler.snmpReceivedTrap(SnmpTrapSession session,
java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
This method is define to handle SNMPv1 traps
that are received by the session.
|
void |
SnmpTrapHandler.snmpTrapSessionError(SnmpTrapSession session,
int error,
java.lang.Object ref)
This method is invoked if an error occurs in
the trap session.
|
Constructor and Description |
---|
TrapHandler(SnmpTrapSession sess)
Creates a in internal trap handler to be
the intermediary for the interface between
the SnmpPortal and the TrapSession.
|
Generated by iurt on 2015.