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 voidJoeSnmpStrategy. send(String destAddr, int destPort, String community, SnmpPduTrap trap)static voidJoeSnmpStrategy. sendTest(String destAddr, int destPort, String community, SnmpPduTrap pdu)voidJoeSnmpTrapNotifier. snmpReceivedTrap(SnmpTrapSession session, 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(InetAddress agent, 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 intSnmpSession. send(SnmpPduTrap pdu)Sends the SNMP PDU Trap to the remote agent.intSnmpSession. send(SnmpPduTrap pdu, SnmpHandler handler)Send the SNMP PDU Trap to the remote agent.voidSnmpTrapSession. 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.voidSnmpTrapHandler. snmpReceivedTrap(SnmpTrapSession session, 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.
-