|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SnmpAgentRequestHandler
The SnmpAgentRequestHandler interface is implemented by an object that wishs to receive callbacks when an SNMP protocol data unit is received from a manager.
| Method Summary | |
|---|---|
org.snmp4j.PDU |
snmpReceivedGet(org.snmp4j.PDU pdu)
This method is defined to handle SNMP Get requests that are received by the session. |
org.snmp4j.PDU |
snmpReceivedGetBulk(org.snmp4j.PDU pdu)
This method handles SNMP Get Bulk requests received by the session Builds a response PDU and passes it back to the caller. |
void |
snmpReceivedPdu(org.snmp4j.Snmp session,
java.net.InetAddress manager,
int port,
org.snmp4j.smi.OctetString community,
org.snmp4j.PDU pdu)
This method is defined to handle SNMP requests that are received by the session. |
org.snmp4j.PDU |
snmpReceivedSet(org.snmp4j.PDU pdu)
This method is defined to handle SNMP Set requests that are received by the session. |
| Method Detail |
|---|
void snmpReceivedPdu(org.snmp4j.Snmp session,
java.net.InetAddress manager,
int port,
org.snmp4j.smi.OctetString community,
org.snmp4j.PDU pdu)
This method is defined to handle SNMP requests that are received by the session. The parameters allow the handler to determine the host, port, and community string of the received PDU
session - The SNMP sessionmanager - The remote senderport - The remote senders portcommunity - The community stringpdu - The SNMP pduorg.snmp4j.PDU snmpReceivedGet(org.snmp4j.PDU pdu)
This method is defined to handle SNMP Get requests that are received by the session. The request has already been validated by the system. This routine will build a response and pass it back to the caller.
pdu - The SNMP pdugetNext - The agent is requesting the lexically NEXT item after each
item in the pdu. *** THIS IS NO LONGER REQUIRED. REMOVED.***
org.snmp4j.PDU snmpReceivedGetBulk(org.snmp4j.PDU pdu)
This method handles SNMP Get Bulk requests received by the session Builds a response PDU and passes it back to the caller.
pdu - The SNMP pdu
org.snmp4j.PDU snmpReceivedSet(org.snmp4j.PDU pdu)
This method is defined to handle SNMP Set requests that are received by the session. The request has already been validated by the system. This routine will build a response and pass it back to the caller.
pdu - The SNMP pdu
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||