public class AsteriskChanTypeTablePdu extends GetNextPdu
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
_astChanTypeChannels |
protected java.lang.String |
_astChanTypeDesc |
protected java.lang.Integer |
_astChanTypeIndex |
protected java.lang.String |
_astChanTypeName |
protected java.lang.Integer |
_astNumChanTypes |
protected boolean |
_invalid |
protected int |
_tmpErrorInd |
protected int |
_tmpErrorStat |
static java.lang.String[] |
all_oids |
static java.lang.String |
astChanTypeChannels_OID |
static java.lang.String |
astChanTypeDesc_OID |
static java.lang.String |
astChanTypeIndex_OID |
static java.lang.String |
astChanTypeName_OID |
static java.lang.String |
astNumChanTypes_OID |
static java.lang.String[] |
col_oids |
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 |
---|
AsteriskChanTypeTablePdu(SnmpContextBasisFace con)
Constructor.
|
AsteriskChanTypeTablePdu(SnmpContextBasisFace con,
java.util.Observer o)
Constructor that will send the first request immediately.
|
Modifier and Type | Method and Description |
---|---|
void |
addOids(AsteriskChanTypeTablePdu old)
The method addOids is the basis for the GetNext functionality.
|
void |
addOids(int index)
This method sets the column index.
|
java.lang.Long |
getAstChanTypeChannels() |
java.lang.String |
getAstChanTypeDesc() |
java.lang.Integer |
getAstChanTypeIndex() |
java.lang.String |
getAstChanTypeName() |
java.lang.Integer |
getAstNumChanTypes() |
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 |
setAstChanTypeChannels(AsnObject new_value)
astChanTypeChannels
TYPE Gauge32 ::= [APPLICATION 2] INTEGER (0..4294967295) OBJECT-TYPE ( Syntax: [APPLICATION 2] INTEGER (0..4294967295) Access: read-only Status: current Description: Number of active channels using the current technology. ) |
void |
setAstChanTypeDesc(AsnObject new_value)
astChanTypeDesc
TYPE DisplayString ::= TEXTUAL-CONVENTION ( Display-Hint: 255a Status: current Description: Represents textual information taken from the NVT ASCII character set, as defined in pages 4, 10-11 of RFC 854. |
void |
setAstChanTypeIndex(AsnObject new_value)
astChanTypeIndex
TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647) OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-only Status: current Description: Index into the table of channel types. ) |
void |
setAstChanTypeName(AsnObject new_value)
astChanTypeName
TYPE DisplayString ::= TEXTUAL-CONVENTION ( Display-Hint: 255a Status: current Description: Represents textual information taken from the NVT ASCII character set, as defined in pages 4, 10-11 of RFC 854. |
void |
setAstNumChanTypes(AsnObject new_value)
astNumChanTypes
TYPE Integer32 ::= [UNIVERSAL 2] INTEGER (-2147483648..2147483647) OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (-2147483648..2147483647) Access: read-only Status: current Description: Number of channel types (technologies) supported. ) |
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 astNumChanTypes_OID
public static final java.lang.String astChanTypeIndex_OID
public static final java.lang.String astChanTypeName_OID
public static final java.lang.String astChanTypeDesc_OID
public static final java.lang.String astChanTypeChannels_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 _astNumChanTypes
protected java.lang.Integer _astChanTypeIndex
protected java.lang.String _astChanTypeName
protected java.lang.String _astChanTypeDesc
protected java.lang.Long _astChanTypeChannels
protected boolean _invalid
protected int _tmpErrorInd
protected int _tmpErrorStat
public AsteriskChanTypeTablePdu(SnmpContextBasisFace con)
con
- The context of the requestpublic AsteriskChanTypeTablePdu(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(AsteriskChanTypeTablePdu 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 setAstNumChanTypes(AsnObject new_value)
public java.lang.Integer getAstNumChanTypes()
public void setAstChanTypeIndex(AsnObject new_value)
public java.lang.Integer getAstChanTypeIndex()
public void setAstChanTypeName(AsnObject new_value)
public java.lang.String getAstChanTypeName()
public void setAstChanTypeDesc(AsnObject new_value)
public java.lang.String getAstChanTypeDesc()
public void setAstChanTypeChannels(AsnObject new_value)
public java.lang.Long getAstChanTypeChannels()
public boolean isInvalid()