Package | Description |
---|---|
org.opennms.protocols.snmp |
Modifier and Type | Method and Description |
---|---|
private SnmpSession.ByteArrayInfo |
SnmpSession.encode(SnmpPeer peer,
SnmpPduPacket pdu)
This method is used to encode the passed protocol data unit
and return the encoding.
|
private void |
SnmpPortal.handlePkt(java.net.DatagramPacket pkt)
Recovers a SnmpPduPacket or SnmpPduTrap from the passed datagram
and calls the appropriate method in the handler.
|
void |
SnmpPacketHandler.processSnmpMessage(java.net.InetAddress agent,
int port,
SnmpInt32 version,
SnmpOctetString community,
int pduType,
SnmpPduPacket pdu)
This method is used to process received SNMP
messages in the standard V1 & V2 format.
|
void |
SnmpSession.SessionHandler.processSnmpTrap(java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu) |
void |
SnmpPacketHandler.processSnmpTrap(java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
This method is use to handle SNMPv1 trap exclusively.
|
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.
|
(package private) void |
SnmpSession.transmit(SnmpRequest req)
Transmits the specified SnmpRequest to the SnmpPeer defined
by the session.
|
Generated by iurt on 2015.