|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.agent.Simulation
This class stores configuration details of MibNodes like the simulation type,value,oid,access,type etc.
| Field Summary | |
(package private) int |
simType
Deprecated. |
(package private) SnmpVar |
snmpVar
Deprecated. |
(package private) java.lang.Byte |
type
Deprecated. |
| Constructor Summary | |
Simulation(SnmpVar var,
java.lang.String oid)
Deprecated. constructor |
|
| Method Summary | |
int |
getAccess()
Deprecated. Getter for the access of the node |
double |
getExpValue()
Deprecated. Getter for the exp value |
boolean |
getIsRecorded()
Deprecated. getter for flag which indicates if value of node has been recorded |
boolean |
getIsSimulated()
Deprecated. getter for flag which indicates if value of node has been simulated |
java.lang.String |
getObjectID()
Deprecated. getter for the OID of the node |
java.lang.String |
getRandomValues()
Deprecated. Getter for the random value |
int |
getSimType()
Deprecated. Getter for the Simulation type |
SnmpVar |
getsnmpVar()
Deprecated. Getter for the value of the node |
java.lang.Byte |
getType()
Deprecated. Getter for the type of the node |
void |
setAccess(int acc)
Deprecated. Sets the access of the node whether Read-only or Read-Write etc. |
void |
setExpValue(double val)
Deprecated. Setter for the exp value |
void |
setIsRecorded(boolean state)
Deprecated. Sets whether the value of the node has been recorded from a real agent |
void |
setIsSimulated(boolean state)
Deprecated. Sets whether the value of the node has been simulated |
void |
setObjectID(java.lang.String oid)
Deprecated. Setter for OID of a node |
void |
setRandomValues(java.lang.String s)
Deprecated. Setter for the random value |
void |
setSimType(int type)
Deprecated. Setter for the Simulation Type of the node |
void |
setSnmpVar(SnmpVar var)
Deprecated. Setter for the value of the node |
void |
setType(java.lang.Byte type)
Deprecated. Sets the type of the Node |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
SnmpVar snmpVar
int simType
java.lang.Byte type
| Constructor Detail |
public Simulation(SnmpVar var,
java.lang.String oid)
var - - SnmpVar , stores type & valueoid - - String , OID of node (including instance)| Method Detail |
public java.lang.String getObjectID()
public void setObjectID(java.lang.String oid)
oid - - String , oid of the node including instancepublic void setIsSimulated(boolean state)
state - - true if simulated else falsepublic boolean getIsSimulated()
public void setIsRecorded(boolean state)
public boolean getIsRecorded()
public SnmpVar getsnmpVar()
public void setSnmpVar(SnmpVar var)
var - - SnmpVar which contains the type & valuepublic void setSimType(int type)
type - - integer value from 0 to 5public int getSimType()
public void setAccess(int acc)
acc - - integer valuepublic int getAccess()
public void setType(java.lang.Byte type)
type - - Byte valuepublic java.lang.Byte getType()
public void setExpValue(double val)
public double getExpValue()
public void setRandomValues(java.lang.String s)
- - s - the random valuepublic java.lang.String getRandomValues()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||