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