Uses of Class
org.opennms.protocols.snmp.SnmpPeer
-
Packages that use SnmpPeer Package Description org.opennms.protocols.snmp SNMP protocol datastructure implementation (PDUs, sessions, requests, etc.) -
-
Uses of SnmpPeer in org.opennms.protocols.snmp
Methods in org.opennms.protocols.snmp that return SnmpPeer Modifier and Type Method Description SnmpPeer
SnmpPduPacket. getPeer()
Returns the current peer for this packet.SnmpPeer
SnmpSession. getPeer()
Gets the current peer object.Methods in org.opennms.protocols.snmp with parameters of type SnmpPeer Modifier and Type Method 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 Packetvoid
SnmpSession. setPeer(SnmpPeer peer)
Sets the passed SnmpPeer object to the one used for all new SNMP communications.Constructors in org.opennms.protocols.snmp with parameters of type SnmpPeer Constructor Description SnmpPeer(SnmpPeer second)
Class copy constructor.SnmpSession(SnmpPeer peer)
Constructs the SnmpSession with the specific SnmpPeer.
-