|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opennms.netmgt.snmp.joesnmp.JoeSnmpTrapNotifier
public class JoeSnmpTrapNotifier
| Constructor Summary | |
|---|---|
JoeSnmpTrapNotifier(org.opennms.netmgt.snmp.TrapNotificationListener listener,
org.opennms.netmgt.snmp.TrapProcessorFactory factory)
|
|
| Method Summary | |
|---|---|
void |
snmpReceivedTrap(org.opennms.protocols.snmp.SnmpTrapSession session,
java.net.InetAddress agent,
int port,
org.opennms.protocols.snmp.SnmpOctetString community,
org.opennms.protocols.snmp.SnmpPduPacket pdu)
Process the recieved SNMP v2c trap that was received by the underlying trap session. |
void |
snmpReceivedTrap(org.opennms.protocols.snmp.SnmpTrapSession session,
java.net.InetAddress agent,
int port,
org.opennms.protocols.snmp.SnmpOctetString community,
org.opennms.protocols.snmp.SnmpPduTrap pdu)
Process the recieved SNMP v1 trap that was received by the underlying trap session. |
void |
snmpTrapSessionError(org.opennms.protocols.snmp.SnmpTrapSession session,
int error,
java.lang.Object ref)
Processes an error condition that occurs in the SnmpTrapSession. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JoeSnmpTrapNotifier(org.opennms.netmgt.snmp.TrapNotificationListener listener,
org.opennms.netmgt.snmp.TrapProcessorFactory factory)
| Method Detail |
|---|
public void snmpReceivedTrap(org.opennms.protocols.snmp.SnmpTrapSession session,
java.net.InetAddress agent,
int port,
org.opennms.protocols.snmp.SnmpOctetString community,
org.opennms.protocols.snmp.SnmpPduPacket pdu)
Process the recieved SNMP v2c trap that was received by the underlying trap session.
snmpReceivedTrap in interface org.opennms.protocols.snmp.SnmpTrapHandlersession - The trap session that received the datagram.agent - The remote agent that sent the datagram.port - The remmote port the trap was sent from.community - The community string contained in the message.pdu - The protocol data unit containing the data
public void snmpReceivedTrap(org.opennms.protocols.snmp.SnmpTrapSession session,
java.net.InetAddress agent,
int port,
org.opennms.protocols.snmp.SnmpOctetString community,
org.opennms.protocols.snmp.SnmpPduTrap pdu)
Process the recieved SNMP v1 trap that was received by the underlying trap session.
snmpReceivedTrap in interface org.opennms.protocols.snmp.SnmpTrapHandlersession - The trap session that received the datagram.agent - The remote agent that sent the datagram.port - The remmote port the trap was sent from.community - The community string contained in the message.pdu - The protocol data unit containing the data
public void snmpTrapSessionError(org.opennms.protocols.snmp.SnmpTrapSession session,
int error,
java.lang.Object ref)
Processes an error condition that occurs in the SnmpTrapSession. The errors are logged and ignored by the trapd class.
snmpTrapSessionError in interface org.opennms.protocols.snmp.SnmpTrapHandler
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||