public class InterfaceGetNextPdu extends InterfaceGetNextPduStub
| Modifier and Type | Field and Description |
|---|---|
protected long |
_speed |
_ifDescr, _ifIndex, _ifInOctets, _ifNumber, _ifOperStatus, _ifOperStatusMap, _ifOutOctets, _ifSpeed, _sysUpTime, _valid, all_oids, col_oids, ifDescr_OID, ifIndex_OID, ifInOctets_OID, ifNumber_OID, ifOperStatus_OID, ifOutOctets_OID, ifSpeed_OID, NO_COL, NO_OID, NO_SCAL, scal_oids, sysUpTime_OIDadded, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId| Constructor and Description |
|---|
InterfaceGetNextPdu(SnmpContextBasisFace con)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getIfNumber(SnmpContextBasisFace con)
Returns how many interfaces are present.
|
long |
getSpeed()
Returns the last calculates speed.
|
long |
getSpeed(InterfaceGetNextPdu old)
Calculates the speed of the interface.
|
java.lang.String |
toString()
Returns the string representation of the PDU.
|
addOids, addOids, getIfDescr, getIfIndex, getIfInOctets, getIfNumber, getIfOperStatus, getIfOperStatusStr, getIfOutOctets, getIfSpeed, getSysUpTime, isValid, new_value, setIfDescr, setIfIndex, setIfInOctets, setIfNumber, setIfOperStatus, setIfOutOctets, setIfSpeed, setSysUpTimeaddOid, 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, tell_them, toString, waitForSelfpublic InterfaceGetNextPdu(SnmpContextBasisFace con)
con - The context of the requestpublic long getSpeed()
getSpeed(InterfaceGetNextPdu)public long getSpeed(InterfaceGetNextPdu old)
old - The previous value of this interfacepublic static int getIfNumber(SnmpContextBasisFace con) throws PduException, java.io.IOException
PduExceptionjava.io.IOExceptionpublic java.lang.String toString()
PdutoString in class InterfaceGetNextPduStub