Package | Description |
---|---|
org.opennms.protocols.snmp |
Modifier and Type | Method and Description |
---|---|
private SnmpSession.ByteArrayInfo |
SnmpSession.encode(SnmpPduTrap pdu)
This method is used to encode the passed protocol data unit
and return the encoding.
|
void |
SnmpTrapSession.TrapHandler.processSnmpTrap(java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
Processes V1 trap messages.
|
void |
SnmpSession.SessionHandler.processSnmpTrap(java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu) |
void |
SnmpAgentSession.AgentHandler.processSnmpTrap(java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
Processes V1 trap messages.
|
void |
SnmpPacketHandler.processSnmpTrap(java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
This method is use to handle SNMPv1 trap exclusively.
|
int |
SnmpSession.send(SnmpPduTrap pdu)
Sends the SNMP PDU Trap to the remote agent.
|
int |
SnmpSession.send(SnmpPduTrap pdu,
SnmpHandler handler)
Send the SNMP PDU Trap to the remote agent.
|
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 |
SnmpTrapHandler.snmpReceivedTrap(SnmpTrapSession session,
java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
This method is define to handle SNMPv1 traps
that are received by the session.
|
Constructor and Description |
---|
SnmpPduTrap(SnmpPduTrap second)
Constructs a new trap pdu that is identical to the
passed pdu.
|
SnmpRequest(SnmpSession session,
SnmpPduTrap pdu,
SnmpHandler handler)
Used to create an SnmpRequest object.
|
Generated by iurt on 2015.