public class InetCidrRouteTablePdu extends GetNextPdu
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
_inetCidrRouteAge |
protected java.lang.Integer |
_inetCidrRouteIfIndex |
protected java.lang.Integer |
_inetCidrRouteMetric1 |
protected java.lang.Integer |
_inetCidrRouteMetric2 |
protected java.lang.Integer |
_inetCidrRouteMetric3 |
protected java.lang.Integer |
_inetCidrRouteMetric4 |
protected java.lang.Integer |
_inetCidrRouteMetric5 |
protected java.lang.Long |
_inetCidrRouteNextHopAS |
protected java.lang.Integer |
_inetCidrRouteProto |
protected java.util.HashMap |
_inetCidrRouteProtoMap |
protected java.lang.Integer |
_inetCidrRouteStatus |
protected java.util.HashMap |
_inetCidrRouteStatusMap |
protected java.lang.Integer |
_inetCidrRouteType |
protected java.util.HashMap |
_inetCidrRouteTypeMap |
protected boolean |
_invalid |
protected int |
_tmpErrorInd |
protected int |
_tmpErrorStat |
static java.lang.String[] |
all_oids |
static java.lang.String[] |
col_oids |
static java.lang.String |
inetCidrRouteAge_OID |
static java.lang.String |
inetCidrRouteIfIndex_OID |
static java.lang.String |
inetCidrRouteMetric1_OID |
static java.lang.String |
inetCidrRouteMetric2_OID |
static java.lang.String |
inetCidrRouteMetric3_OID |
static java.lang.String |
inetCidrRouteMetric4_OID |
static java.lang.String |
inetCidrRouteMetric5_OID |
static java.lang.String |
inetCidrRouteNextHopAS_OID |
static java.lang.String |
inetCidrRouteProto_OID |
static java.lang.String |
inetCidrRouteStatus_OID |
static java.lang.String |
inetCidrRouteType_OID |
static int |
NO_COL |
static int |
NO_OID |
static int |
NO_SCAL |
static java.lang.String[] |
scal_oids |
added, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId
Constructor and Description |
---|
InetCidrRouteTablePdu(SnmpContextBasisFace con)
Constructor.
|
InetCidrRouteTablePdu(SnmpContextBasisFace con,
java.util.Observer o)
Constructor that will send the first request immediately.
|
Modifier and Type | Method and Description |
---|---|
void |
addOids(InetCidrRouteTablePdu old)
The method addOids is the basis for the GetNext functionality.
|
void |
addOids(int index)
This method sets the column index.
|
java.lang.Long |
getInetCidrRouteAge() |
java.lang.Integer |
getInetCidrRouteIfIndex() |
java.lang.Integer |
getInetCidrRouteMetric1() |
java.lang.Integer |
getInetCidrRouteMetric2() |
java.lang.Integer |
getInetCidrRouteMetric3() |
java.lang.Integer |
getInetCidrRouteMetric4() |
java.lang.Integer |
getInetCidrRouteMetric5() |
java.lang.Long |
getInetCidrRouteNextHopAS() |
java.lang.Integer |
getInetCidrRouteProto() |
java.lang.String |
getInetCidrRouteProtoStr() |
java.lang.Integer |
getInetCidrRouteStatus() |
java.lang.String |
getInetCidrRouteStatusStr() |
java.lang.Integer |
getInetCidrRouteType() |
java.lang.String |
getInetCidrRouteTypeStr() |
boolean |
isInvalid()
Returns if this set of values is invalid.
|
protected void |
new_value(int n,
varbind res)
The value of the request is set.
|
void |
setInetCidrRouteAge(AsnObject new_value)
inetCidrRouteAge
TYPE Gauge32 ::= [APPLICATION 2] INTEGER (0..4294967295) OBJECT-TYPE ( Syntax: [APPLICATION 2] INTEGER (0..4294967295) Access: read-only Status: current Description: The number of seconds since this route was last updated or otherwise determined to be correct. |
void |
setInetCidrRouteIfIndex(AsnObject new_value)
inetCidrRouteIfIndex
TYPE InterfaceIndexOrZero ::= TEXTUAL-CONVENTION ( Display-Hint: d Status: current Description: This textual convention is an extension of the InterfaceIndex convention. |
void |
setInetCidrRouteMetric1(AsnObject new_value)
inetCidrRouteMetric1
TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647) OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: The primary routing metric for this route. |
void |
setInetCidrRouteMetric2(AsnObject new_value)
inetCidrRouteMetric2
TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647) OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: An alternate routing metric for this route. |
void |
setInetCidrRouteMetric3(AsnObject new_value)
inetCidrRouteMetric3
TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647) OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: An alternate routing metric for this route. |
void |
setInetCidrRouteMetric4(AsnObject new_value)
inetCidrRouteMetric4
TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647) OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: An alternate routing metric for this route. |
void |
setInetCidrRouteMetric5(AsnObject new_value)
inetCidrRouteMetric5
TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647) OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-create Status: current Description: An alternate routing metric for this route. |
void |
setInetCidrRouteNextHopAS(AsnObject new_value)
inetCidrRouteNextHopAS
TYPE InetAutonomousSystemNumber ::= TEXTUAL-CONVENTION ( Display-Hint: d Status: current Description: Represents an autonomous system number that identifies an Autonomous System (AS). |
void |
setInetCidrRouteProto(AsnObject new_value)
inetCidrRouteProto
TYPE IANAipRouteProtocol ::= TEXTUAL-CONVENTION ( Status: current Description: A mechanism for learning routes. |
void |
setInetCidrRouteStatus(AsnObject new_value)
inetCidrRouteStatus
TYPE RowStatus ::= TEXTUAL-CONVENTION ( Status: current Description: The RowStatus textual convention is used to manage the creation and deletion of conceptual rows, and is used as the value of the SYNTAX clause for the status column of a conceptual row (as described in Section 7.7.1 of [2].) |
void |
setInetCidrRouteType(AsnObject new_value)
inetCidrRouteType
OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (1 | 2 | 3 | 4 | 5) Access: read-create Status: current Description: The type of route. |
java.lang.String |
toString()
Returns the string representation of the PDU.
|
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, tell_them, toString, waitForSelf
public static final java.lang.String inetCidrRouteIfIndex_OID
public static final java.lang.String inetCidrRouteType_OID
public static final java.lang.String inetCidrRouteProto_OID
public static final java.lang.String inetCidrRouteAge_OID
public static final java.lang.String inetCidrRouteNextHopAS_OID
public static final java.lang.String inetCidrRouteMetric1_OID
public static final java.lang.String inetCidrRouteMetric2_OID
public static final java.lang.String inetCidrRouteMetric3_OID
public static final java.lang.String inetCidrRouteMetric4_OID
public static final java.lang.String inetCidrRouteMetric5_OID
public static final java.lang.String inetCidrRouteStatus_OID
public static final int NO_SCAL
public static final int NO_COL
public static final int NO_OID
public static final java.lang.String[] scal_oids
public static final java.lang.String[] col_oids
public static final java.lang.String[] all_oids
protected java.lang.Integer _inetCidrRouteIfIndex
protected java.util.HashMap _inetCidrRouteTypeMap
protected java.lang.Integer _inetCidrRouteType
protected java.util.HashMap _inetCidrRouteProtoMap
protected java.lang.Integer _inetCidrRouteProto
protected java.lang.Long _inetCidrRouteAge
protected java.lang.Long _inetCidrRouteNextHopAS
protected java.lang.Integer _inetCidrRouteMetric1
protected java.lang.Integer _inetCidrRouteMetric2
protected java.lang.Integer _inetCidrRouteMetric3
protected java.lang.Integer _inetCidrRouteMetric4
protected java.lang.Integer _inetCidrRouteMetric5
protected java.util.HashMap _inetCidrRouteStatusMap
protected java.lang.Integer _inetCidrRouteStatus
protected boolean _invalid
protected int _tmpErrorInd
protected int _tmpErrorStat
public InetCidrRouteTablePdu(SnmpContextBasisFace con)
con
- The context of the requestpublic InetCidrRouteTablePdu(SnmpContextBasisFace con, java.util.Observer o) throws PduException, java.io.IOException
con
- The context of the requesto
- the Observer that will be notified when the answer is
receivedPduException
java.io.IOException
public void addOids(InetCidrRouteTablePdu old)
public void addOids(int index)
protected void new_value(int n, varbind res)
new_value
in class Pdu
n
- the index of the valueres
- the valuePdu.new_value(int, uk.co.westhawk.snmp.stack.varbind)
public void setInetCidrRouteIfIndex(AsnObject new_value)
public java.lang.Integer getInetCidrRouteIfIndex()
public void setInetCidrRouteType(AsnObject new_value)
public java.lang.String getInetCidrRouteTypeStr()
public java.lang.Integer getInetCidrRouteType()
public void setInetCidrRouteProto(AsnObject new_value)
public java.lang.String getInetCidrRouteProtoStr()
public java.lang.Integer getInetCidrRouteProto()
public void setInetCidrRouteAge(AsnObject new_value)
public java.lang.Long getInetCidrRouteAge()
public void setInetCidrRouteNextHopAS(AsnObject new_value)
public java.lang.Long getInetCidrRouteNextHopAS()
public void setInetCidrRouteMetric1(AsnObject new_value)
public java.lang.Integer getInetCidrRouteMetric1()
public void setInetCidrRouteMetric2(AsnObject new_value)
public java.lang.Integer getInetCidrRouteMetric2()
public void setInetCidrRouteMetric3(AsnObject new_value)
public java.lang.Integer getInetCidrRouteMetric3()
public void setInetCidrRouteMetric4(AsnObject new_value)
public java.lang.Integer getInetCidrRouteMetric4()
public void setInetCidrRouteMetric5(AsnObject new_value)
public java.lang.Integer getInetCidrRouteMetric5()
public void setInetCidrRouteStatus(AsnObject new_value)
public java.lang.String getInetCidrRouteStatusStr()
public java.lang.Integer getInetCidrRouteStatus()
public boolean isInvalid()