com.adventnet.utils.agent
Interface InstrumentHandlerInterface
- public interface InstrumentHandlerInterface
This Interface will be implemented by the Instrument files.Contains Methods for getting
and setting the attributes of Scalar/Table groups
getAttributes
public java.util.Hashtable getAttributes()
throws java.lang.Exception
- Returns:
- Hashtable having values of all the Objects belonging to this Group
- Throws:
- java.lang.Exception -
getAttributes
public java.util.Hashtable getAttributes(java.util.Enumeration enum)
throws java.lang.Exception
- Parameters:
enum - Enumeration having the Objects for which value is sought- Returns:
- Hashtable having values of the Objects present in the Enumeration enum
- Throws:
- java.lang.Exception -
setAttributes
public void setAttributes(java.util.Hashtable values,
java.util.Vector subIdList)
throws AgentException
- Parameters:
values - Hashtable having values of Objects,for which Set is to be performedcolumnList - Vector having list of subId's for which Set is to be performed- Throws:
- AgentException -
getFailedSubId
public java.lang.Integer getFailedSubId()
- Returns:
- the subId of the Scalar attribute for which Set was not performed sucessfully
setFailedSubId
public void setFailedSubId(java.lang.Integer id)
- Parameters:
id - failed subId