|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.collectd.SnmpResponseHandler
The SNMP handler used to receive responses from individual sessions. When a response is received that matches a system object identifier request the session is notified.
| Field Summary | |
private SnmpVarBind |
m_result
The returned object identifier |
| Constructor Summary | |
(package private) |
SnmpResponseHandler()
|
| Method Summary | |
SnmpVarBind |
getResult()
Returns the recovered snmp system object identifier, if any. |
void |
snmpInternalError(SnmpSession sess,
int err,
SnmpSyntax obj)
This method is invoked when an internal error occurs on the SNMP session. |
void |
snmpReceivedPdu(SnmpSession sess,
int command,
SnmpPduPacket pkt)
The method that handles a returned packet from the remote agent. |
void |
snmpTimeoutError(SnmpSession sess,
SnmpSyntax pkt)
This method is invoked when the session fails to receive a response to a particular packet. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private SnmpVarBind m_result
| Constructor Detail |
SnmpResponseHandler()
| Method Detail |
public void snmpReceivedPdu(SnmpSession sess,
int command,
SnmpPduPacket pkt)
snmpReceivedPdu in interface SnmpHandlersess - The snmp session that received the result.command - The snmp command.pkt - The snmp packet that was received.
public void snmpInternalError(SnmpSession sess,
int err,
SnmpSyntax obj)
snmpInternalError in interface SnmpHandlersess - The snmp session that received the result.err - The snmp error.obj - The snmp syntax object.
public void snmpTimeoutError(SnmpSession sess,
SnmpSyntax pkt)
snmpTimeoutError in interface SnmpHandlersess - The snmp session that received the result.pkt - The snmp packet that was received.public SnmpVarBind getResult()
|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||