| 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.) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract SnmpPduPacket | 
JoeSnmpWalker.JoeSnmpPduBuilder.getPdu()  | 
SnmpPduPacket | 
JoeSnmpWalker.GetNextBuilder.getPdu()  | 
SnmpPduPacket | 
JoeSnmpWalker.GetBulkBuilder.getPdu()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
JoeSnmpWalker.JoeSnmpResponseHandler.snmpReceivedPdu(SnmpSession session,
               int command,
               SnmpPduPacket pdu)  | 
void | 
JoeSnmpTrapNotifier.snmpReceivedTrap(SnmpTrapSession session,
                InetAddress agent,
                int port,
                SnmpOctetString community,
                SnmpPduPacket pdu)
 Process the recieved SNMP v2c trap that was received by the underlying
 trap session. 
 | 
| Constructor and Description | 
|---|
V2TrapInformation(InetAddress agent,
                 String community,
                 SnmpPduPacket pdu)
Constructs a new trap information instance that contains the sending
 agent, the community string, and the Protocol Data Unit. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
SnmpPduBulk
This class defines the SNMPv2 GetBulk request sent from the management
 platform to the agent. 
 | 
class  | 
SnmpPduRequest
The SnmpPduRequest defines the SNMPv1 and SNMPv2 Protocol Data Unit (PDU) for
 certain message types. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SnmpPduPacket | 
SnmpResponseHandler.getResponse()  | 
SnmpPduPacket | 
SnmpSession.getResponse(SnmpPduPacket request)  | 
| Modifier and Type | Method and Description | 
|---|---|
SnmpPduPacket | 
SnmpSession.getResponse(SnmpPduPacket request)  | 
int | 
SnmpSession.send(SnmpPduPacket pdu)
Sends the SNMP PDU to the remote agent and uses the default SnmpHandler
 to process the request. 
 | 
int | 
SnmpSession.send(SnmpPduPacket pdu,
    SnmpHandler handler)
Send the SNMP PDU to the remote agent and invokes the specified handler
 when the packet is recieve. 
 | 
void | 
SnmpTrapSession.send(SnmpPeer peer,
    SnmpPduPacket pdu)
Transmits the specified SnmpRequest to the SnmpPeer defined. 
 | 
void | 
SnmpHandler.snmpReceivedPdu(SnmpSession session,
               int command,
               SnmpPduPacket pdu)
 This method is invoked when a pdu is successfully returned from the peer
 agent. 
 | 
void | 
SnmpResponseHandler.snmpReceivedPdu(SnmpSession sess,
               int command,
               SnmpPduPacket pkt)
The method that handles a returned packet from the remote agent. 
 | 
void | 
SnmpTrapHandler.snmpReceivedTrap(SnmpTrapSession session,
                InetAddress agent,
                int port,
                SnmpOctetString community,
                SnmpPduPacket pdu)
 This method is defined to handle SNMPv2 traps that are received by the
 session. 
 | 
| Constructor and Description | 
|---|
SnmpPduPacket(SnmpPduPacket second)
Class copy constructor. 
 | 
Copyright © 2020. All rights reserved.