|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class defines the interface implemented by monitor agent extensions (monlets) to add a node tree under the root node of the Director monitor agent.
Field Summary | |
---|---|
static java.lang.String |
MONLET_ROOT_NAME_PROPERTY
|
Method Summary | |
---|---|
void |
GetDefaultThresholdPaths(java.util.Vector progNames,
java.util.Vector dispNames,
java.util.Locale locale)
Get programmatic and display paths for all supported default thresholds |
void |
MonletAssignHandle(java.util.Vector path,
int handle)
Assign handle to attribute specified by node path and activate it for monitoring (open any internal resources needed for monitoring it) |
java.lang.Object |
MonletGetData(int handle)
Get data for attribute specified by handle |
MonletAttrMetaData |
MonletGetMetaData(int handle)
Get metadata for attribute specified by handle |
MonletAttributeNode[] |
MonletGetNodes(java.util.Vector path,
java.util.Locale locale)
Get children nodes of node specified by path |
MonletIndepCmd |
MonletIndepCmd(TWGMonPath path,
MonletIndepCmd iCmd)
Pass an Independent Command (byte blob) down to the monlet. |
void |
MonletReleaseHandle(int handle)
Release handle of an active attribute and deactivate it for monitoring (release any internal resource needed for monitoring it) |
Field Detail |
public static final java.lang.String MONLET_ROOT_NAME_PROPERTY
Method Detail |
public MonletAttributeNode[] MonletGetNodes(java.util.Vector path, java.util.Locale locale) throws MonletException
path
- Vector of node names forming a path to a specific nodelocale
- the Locale for translation of returned child nodes
MonletException
- if failed to find node or children of specified nodepublic void GetDefaultThresholdPaths(java.util.Vector progNames, java.util.Vector dispNames, java.util.Locale locale)
progNames
- empty Vector of programmatic names for paths each as
Vectors supporting default thresholds to be filled indispNames
- empty Vector of display names each as path Vectors
corresponding to progNames to be filled inlocale
- Locale for determining display namespublic MonletAttrMetaData MonletGetMetaData(int handle) throws MonletException, MonletInvalidHandleException
handle
- of active attribute
MonletException
- if failed to get metadata
MonletInvalidHandleException
- if handle is invalidpublic java.lang.Object MonletGetData(int handle) throws MonletException, MonletInvalidHandleException
handle
- of active attribute
MonletException
- if failed to get data
MonletInvalidHandleException
- if handle is invalidpublic void MonletAssignHandle(java.util.Vector path, int handle) throws MonletException, MonletInvalidHandleException
handle
- to assign when activating the attribute
MonletException
- if failed to assign handle
MonletInvalidHandleException
- if handle is invalid or already assignedpublic void MonletReleaseHandle(int handle) throws MonletException, MonletInvalidHandleException
handle
- of active attribute
MonletException
- if failed to release handle
MonletInvalidHandleException
- if handle is invalid (not assigned)public MonletIndepCmd MonletIndepCmd(TWGMonPath path, MonletIndepCmd iCmd)
path
- attribute path to send the IndepCmd toiCmd
- independent command blob
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |