Uses of Class
org.opennms.protocols.snmp.SnmpPduTrap
-
Packages that use SnmpPduTrap Package Description org.opennms.netmgt.snmp.joesnmp Use JoeSNMP for SNMP support in OpenNMS.org.opennms.protocols.snmp SNMP protocol datastructure implementation (PDUs, sessions, requests, etc.) -
-
Uses of SnmpPduTrap in org.opennms.netmgt.snmp.joesnmp
Methods in org.opennms.netmgt.snmp.joesnmp with parameters of type SnmpPduTrap Modifier and Type Method Description static void
JoeSnmpStrategy. send(java.lang.String destAddr, int destPort, java.lang.String community, SnmpPduTrap trap)
static void
JoeSnmpStrategy. sendTest(java.lang.String destAddr, int destPort, java.lang.String community, SnmpPduTrap pdu)
void
JoeSnmpTrapNotifier. snmpReceivedTrap(SnmpTrapSession session, java.net.InetAddress agent, int port, SnmpOctetString community, SnmpPduTrap pdu)
Process the recieved SNMP v1 trap that was received by the underlying trap session.Constructors in org.opennms.netmgt.snmp.joesnmp with parameters of type SnmpPduTrap Constructor Description V1TrapInformation(java.net.InetAddress agent, java.lang.String community, SnmpPduTrap pdu)
Constructs a new trap information instance that contains the sending agent, the community string, and the Protocol Data Unit. -
Uses of SnmpPduTrap in org.opennms.protocols.snmp
Methods in org.opennms.protocols.snmp with parameters of type SnmpPduTrap Modifier and Type Method Description int
SnmpSession. send(SnmpPduTrap pdu)
Sends the SNMP PDU Trap to the remote agent.int
SnmpSession. send(SnmpPduTrap pdu, SnmpHandler handler)
Send the SNMP PDU Trap to the remote agent.void
SnmpTrapSession. send(SnmpPeer peer, SnmpPduTrap trap)
Transmits the specified SnmpPduTrap to the SnmpPeer defined The SnmpPduTrap is encoded using the peer AsnEncoder, as defined by the SnmpParameters.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.Constructors in org.opennms.protocols.snmp with parameters of type SnmpPduTrap Constructor Description SnmpPduTrap(SnmpPduTrap second)
Constructs a new trap pdu that is identical to the passed pdu.
-