| Package | Description | 
|---|---|
| org.opennms.protocols.snmp | 
 SNMP protocol datastructure implementation (PDUs, sessions, requests, etc.) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SnmpPeer | 
SnmpSession.getPeer()
Gets the current peer object. 
 | 
SnmpPeer | 
SnmpPduPacket.getPeer()
Returns the current peer for this packet. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SnmpTrapSession.send(SnmpPeer peer,
    SnmpPduPacket pdu)
Transmits the specified SnmpRequest to the SnmpPeer defined. 
 | 
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 | 
SnmpSession.setPeer(SnmpPeer peer)
Sets the passed SnmpPeer object to the one used for all new SNMP
 communications. 
 | 
void | 
SnmpPduPacket.setPeer(SnmpPeer peer)
Sets the Peer for the Packet 
 | 
| Constructor and Description | 
|---|
SnmpPeer(SnmpPeer second)
Class copy constructor. 
 | 
SnmpSession(SnmpPeer peer)
Constructs the SnmpSession with the specific SnmpPeer. 
 | 
Copyright © 2020. All rights reserved.