|
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.examplev1.InstalledSoftwarePdu
The class InstalledSoftwarePdu. 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.util.Calendar |
_hrSWInstalledDate
|
protected java.lang.String |
_hrSWInstalledName
|
protected java.lang.Integer |
_hrSWInstalledType
|
protected java.util.HashMap |
_hrSWInstalledTypeMap
|
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 |
hrSWInstalledDate_OID
|
static java.lang.String |
hrSWInstalledName_OID
|
static java.lang.String |
hrSWInstalledType_OID
|
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 | |
InstalledSoftwarePdu(SnmpContextBasisFace con)
Constructor. |
|
InstalledSoftwarePdu(SnmpContextBasisFace con,
java.util.Observer o)
Constructor that will send the first request immediately. |
Method Summary | |
void |
addOids(InstalledSoftwarePdu old)
The method addOids is the basis for the GetNext functionality. |
void |
addOids(int index)
This method sets the column index. |
java.util.Calendar |
getHrSWInstalledDate()
|
java.lang.String |
getHrSWInstalledName()
|
java.lang.Integer |
getHrSWInstalledType()
|
java.lang.String |
getHrSWInstalledTypeStr()
|
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 |
setHrSWInstalledDate(AsnObject new_value)
hrSWInstalledDate TYPE DateAndTime ::= TEXTUAL-CONVENTION ( Display-Hint: 2d-1d-1d,1d:1d:1d.1d,1a1d:1d Status: current Description: A date-time specification. |
void |
setHrSWInstalledName(AsnObject new_value)
hrSWInstalledName TYPE InternationalDisplayString ::= TEXTUAL-CONVENTION ( Status: current Description: This data type is used to model textual information in some character set. |
void |
setHrSWInstalledType(AsnObject new_value)
hrSWInstalledType OBJECT-TYPE ( Syntax: [UNIVERSAL 2] INTEGER (1 | 2 | 3 | 4) Access: read-only Status: current Description: The type of this software. ) |
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 hrSWInstalledName_OID
public static final java.lang.String hrSWInstalledType_OID
public static final java.lang.String hrSWInstalledDate_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.String _hrSWInstalledName
protected java.util.HashMap _hrSWInstalledTypeMap
protected java.lang.Integer _hrSWInstalledType
protected java.util.Calendar _hrSWInstalledDate
protected boolean _invalid
protected int _tmpErrorInd
protected int _tmpErrorStat
Constructor Detail |
public InstalledSoftwarePdu(SnmpContextBasisFace con)
con
- The context of the requestpublic InstalledSoftwarePdu(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(InstalledSoftwarePdu 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 setHrSWInstalledName(AsnObject new_value)
public java.lang.String getHrSWInstalledName()
public void setHrSWInstalledType(AsnObject new_value)
public java.lang.String getHrSWInstalledTypeStr()
public java.lang.Integer getHrSWInstalledType()
public void setHrSWInstalledDate(AsnObject new_value)
public java.util.Calendar getHrSWInstalledDate()
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 |