public class InterfacesPdu extends InterfacePdu
InterfacePduDOWN, TESTING, UNKNOWN, UPadded, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId| Constructor and Description |
|---|
InterfacesPdu(SnmpContextBasisFace con,
java.util.Observer o,
int interfs)
Constructor that will send the request immediately.
|
| Modifier and Type | Method and Description |
|---|---|
InterfacePdu[] |
getInterfacePdus()
Returns the interfaces.
|
protected void |
new_value(int n,
varbind res)
The value of the request is set.
|
getDescription, getIndex, getInOctet, getNumIfs, getOperStatus, getOperStatusString, getOperStatusString, getOutOctet, getSpeed, getSysUpTime, tell_themaddOid, addOid, addOid, addOid, addOid, addToTrans, getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, getRetryIntervals, isExpectingResponse, isTimedOut, notifyObservers, printVars, send, send, send, sendme, setErrorIndex, setErrorStatus, setErrorStatus, setMsgType, setRetryIntervals, toString, toString, waitForSelfpublic InterfacesPdu(SnmpContextBasisFace con, java.util.Observer o, int interfs) throws PduException, java.io.IOException
con - the SnmpContextBasisFaceo - the Observer that will be notified when the answer is receivedinterfs - the index of the requested interfacePduExceptionjava.io.IOExceptionpublic InterfacePdu[] getInterfacePdus()
protected void new_value(int n,
varbind res)
new_value in class InterfacePdun - the index of the valueres - the valuePdu.new_value(int, uk.co.westhawk.snmp.stack.varbind)