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
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
java.util.Hashtable getAttributes(java.util.Enumeration enumer)
throws java.lang.Exception
- Parameters:
enumer - Enumeration having the Objects for which value is sought
- Returns:
- Hashtable having values of the Objects present in the Enumeration enumer
- Throws:
java.lang.Exception
setAttributes
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
java.lang.Integer getFailedSubId()
- Returns:
- the subId of the Scalar attribute for which Set was not performed sucessfully
setFailedSubId
void setFailedSubId(java.lang.Integer id)
- Parameters:
id - failed subId