public class InterfacesPdu extends InterfacePdu
InterfacePdu
DOWN, TESTING, UNKNOWN, UP
added, 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_them
addOid, 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, waitForSelf
public 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 interfacePduException
java.io.IOException
public InterfacePdu[] getInterfacePdus()
protected void new_value(int n, varbind res)
new_value
in class InterfacePdu
n
- the index of the valueres
- the valuePdu.new_value(int, uk.co.westhawk.snmp.stack.varbind)