|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.agent.BaseTableEntry
The abstract class provides the common methods to all the entry files extending this. This class has methods for the RowStatus Handling. API users may not need this class.
| Field Summary | |
BaseSnmpAgent |
agentName
The SnmpAgent associated with this entry. |
protected int[] |
instanceOID
The instanceOid int[] format. |
| Constructor Summary | |
BaseTableEntry()
|
|
| Method Summary | |
int[] |
computeInstanceOID()
Method to computeThe Instance OID. |
void |
decrementCount()
This method reduces the column count by 1. |
java.util.Hashtable |
getAttributes(java.util.Enumeration enum)
This method will be overridden in the generated Entry files to return the Hashtable which has the values of the coloumns in this Table |
int |
getCount()
The method to get the column count. |
int[] |
getInstanceOID()
Getter for the InstanceOID of this entry. |
void |
setAgentRef(BaseSnmpAgent agentRef)
Setter for Agent Reference. |
void |
setCount(int count)
Method to set the column count. |
void |
setInstanceOID(int[] instanceOID)
Setter for the InstanceOID |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected int[] instanceOID
public BaseSnmpAgent agentName
| Constructor Detail |
public BaseTableEntry()
| Method Detail |
public int[] getInstanceOID()
public void setInstanceOID(int[] instanceOID)
instanceOID - the int[] to be set as the instanceOIDpublic int[] computeInstanceOID()
AgentUtil.encodeInstanceStringpublic int getCount()
public void setCount(int count)
count - the coulmn count to be set.public void decrementCount()
public void setAgentRef(BaseSnmpAgent agentRef)
agentRef - the SnmpAgent instance.
public java.util.Hashtable getAttributes(java.util.Enumeration enum)
throws java.lang.Exception
enum - Enumeration of Coloumns for which value is sought
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||