public class InstalledSoftwarePdu extends GetNextPdu
Modifier and Type | Field and Description |
---|---|
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 |
added, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds, snmpv3MsgId
Constructor and Description |
---|
InstalledSoftwarePdu(SnmpContextBasisFace con)
Constructor.
|
InstalledSoftwarePdu(SnmpContextBasisFace con,
java.util.Observer o)
Constructor that will send the first request immediately.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 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
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
receivedPduException
java.io.IOException
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 valueres
- 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()