|
SNMP Stack 5_1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Observable | +--uk.co.westhawk.snmp.stack.Pdu | +--uk.co.westhawk.snmp.stack.GetNextPdu | +--uk.co.westhawk.examplev2c.AsteriskChanTypeTablePdu
The class AsteriskChanTypeTablePdu. This file is auto generated by the StubBrowser utility, using Mibble. See the uk/co/westhawk/stub/ directory. Make sure that you replace the package name and classname placeholders. Also, move this file to the correct package directory. If these things are not done, this class will not compile correctly!!
Field Summary | |
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
|
Fields inherited from class uk.co.westhawk.snmp.stack.Pdu |
added, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId |
Constructor Summary | |
AsteriskChanTypeTablePdu(SnmpContextBasisFace con)
Constructor. |
|
AsteriskChanTypeTablePdu(SnmpContextBasisFace con,
java.util.Observer o)
Constructor that will send the first request immediately. |
Method Summary | |
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. |
Methods inherited from class uk.co.westhawk.snmp.stack.Pdu |
addOid, addOid, addOid, addOid, addOid, addToTrans, getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, isExpectingResponse, isTimedOut, notifyObservers, printVars, send, send, send, sendme, setErrorIndex, setErrorStatus, setErrorStatus, setMsgType, setRetryIntervals, tell_them, toString, waitForSelf |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
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
Constructor Detail |
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
receivedMethod Detail |
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 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()
public java.lang.String toString()
Pdu
toString
in class Pdu
|
SNMP Stack 5_1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |