Package | Description |
---|---|
org.opennms.protocols.snmp |
Modifier and Type | Class and Description |
---|---|
class |
SnmpPduBulk
This class defines the SNMPv2 GetBulk request sent
from the management platform to the agent.
|
class |
SnmpPduRequest
The SnmpPduRequest defines the SNMPv1 and SNMPv2
Protocol Data Unit (PDU) for certian message types.
|
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 |
SnmpAgentSession.AgentHandler.handleResponse(java.net.InetAddress manager,
int port,
SnmpPduPacket pdu,
SnmpPduRequest response) |
void |
SnmpTrapSession.TrapHandler.processSnmpMessage(java.net.InetAddress agent,
int port,
SnmpInt32 version,
SnmpOctetString community,
int pduType,
SnmpPduPacket pdu)
Processes the default V1 & V2 messages.
|
void |
SnmpSession.SessionHandler.processSnmpMessage(java.net.InetAddress agent,
int port,
SnmpInt32 version,
SnmpOctetString community,
int pduType,
SnmpPduPacket pdu) |
void |
SnmpAgentSession.AgentHandler.processSnmpMessage(java.net.InetAddress manager,
int port,
SnmpInt32 version,
SnmpOctetString community,
int pduType,
SnmpPduPacket pdu)
Processes the default V1 & V2 messages.
|
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.
|
int |
SnmpSession.send(SnmpPduPacket pdu)
Sends the SNMP PDU to the remote agent and uses the
default SnmpHandler to process the request.
|
int |
SnmpSession.send(SnmpPduPacket pdu,
SnmpHandler handler)
Send the SNMP PDU to the remote agent and invokes the
specified handler when the packet is recieve.
|
void |
SnmpTrapSession.send(SnmpPeer peer,
SnmpPduPacket pdu)
Transmits the specified SnmpRequest to the SnmpPeer defined.
|
void |
SnmpAgentSession.send(SnmpPeer peer,
SnmpPduPacket pdu)
Transmits the specified SnmpRequest to the SnmpPeer defined.
|
SnmpPduRequest |
SnmpAgentHandler.snmpReceivedGet(SnmpPduPacket pdu,
boolean getNext)
This method is defined to handle SNMP Get requests
that are received by the session.
|
void |
SnmpAgentHandler.snmpReceivedPdu(SnmpAgentSession session,
java.net.InetAddress manager,
int port,
SnmpOctetString community,
SnmpPduPacket pdu)
This method is defined to handle SNMP requests
that are received by the session.
|
void |
SnmpHandler.snmpReceivedPdu(SnmpSession session,
int command,
SnmpPduPacket pdu)
This method is invoked when a pdu is successfully
returned from the peer agent.
|
SnmpPduRequest |
SnmpAgentHandler.snmpReceivedSet(SnmpPduPacket pdu)
This method is defined to handle SNMP Set requests
that are received by the session.
|
void |
SnmpTrapHandler.snmpReceivedTrap(SnmpTrapSession session,
java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduPacket pdu)
This method is defined to handle SNMPv2 traps
that are received by the session.
|
Constructor and Description |
---|
SnmpPduPacket(SnmpPduPacket second)
Class copy constructor.
|
SnmpRequest(SnmpSession session,
java.lang.Integer requestID,
SnmpPduPacket pdu,
SnmpHandler handler)
Used to create an SnmpRequest object.
|
Generated by iurt on 2015.