|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.BaseTableEntry
public abstract class 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 enumer)
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.adventnet.utils.agent.RowStatusHandlerInterface |
|---|
setrowStatus |
| Field Detail |
|---|
protected int[] instanceOID
public BaseSnmpAgent agentName
| Constructor Detail |
|---|
public BaseTableEntry()
| Method Detail |
|---|
public int[] getInstanceOID()
getInstanceOID in interface TableEntrypublic void setInstanceOID(int[] instanceOID)
setInstanceOID in interface TableEntryinstanceOID - the int[] to be set as the instanceOIDpublic int[] computeInstanceOID()
computeInstanceOID in interface TableEntryAgentUtil.encodeInstanceStringpublic int getCount()
getCount in interface RowStatusHandlerInterfacepublic void setCount(int count)
setCount in interface RowStatusHandlerInterfacecount - the coulmn count to be set.public void decrementCount()
decrementCount in interface RowStatusHandlerInterfacepublic void setAgentRef(BaseSnmpAgent agentRef)
agentRef - the SnmpAgent instance.
public java.util.Hashtable getAttributes(java.util.Enumeration enumer)
throws java.lang.Exception
enumer - Enumeration of Coloumns for which value is sought
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||