|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMyEventManager
iCMS.pollerd.GenericData
iCMS.pollerd.CmsData
public class CmsData
This class is a data holder for the cms data
the data consists of the following structure:
![]() |
![]() |
![]() |
![]() |
Field Summary |
---|
Fields inherited from class iCMS.pollerd.GenericData |
---|
allocatedMibs, canStart, canStop, children, descr, host, info, mibDirs, mibs, name, parent, probe, propagate, snmpMan, status, token, type |
Constructor Summary | |
---|---|
CmsData()
default constructor |
Method Summary | |
---|---|
void |
addApplication(ApplicationData _application)
add an application type to the CMS structure |
void |
addLocation(LocationData _col)
add an location to the CMS structure |
void |
addNodeType(NodeTypeData _nodeType)
add a node type to the CMS structure |
void |
clearApplications()
clear the application data can be called after parsing, to save memory |
void |
clearNodeTypes()
clear the nodetype data can be called after parsing, to save memory |
ApplicationData |
getApplication(String name)
return an application from this CMS |
LocationData |
getLocation(String name)
return a location from this CMS |
Hashtable |
getLocations()
return all locations from this CMS |
LoggingData |
getLoggingData()
return the logging data from this CMS |
NodeTypeData |
getNodeType(String name)
return a node type from this CMS |
int |
getSnmpRetry()
get the number of snmp retries |
int |
getSnmpTimeout()
get the snmp timeout |
void |
list(PrintStream out,
boolean stat)
list out the all info of this item and its children including stat if stat is true |
void |
print(PrintStream out,
boolean all)
print out the all info of this item |
void |
setLoggingData(LoggingData _loggingData)
set the logging requirements |
void |
setSnmpRetry(int retry)
set the number of snmp retries |
void |
setSnmpTimeout(int timeout)
set the snmp timeout |
Methods inherited from class iCMS.pollerd.GenericData |
---|
addChild, addDescription, addMib, addMibDir, allocateAndAddMib, canStart, canStop, clone, getChild, getChildren, getDescription, getHost, getMibDirs, getMibDirsAsString, getMibs, getName, getProbe, getPropagate, getStatus, getType, initMonitoring, list, myEventOccurred, print, removeAllChildren, removeChild, setAllocatedMibs, setChildren, setDescription, setHost, setInfo, setItemToken, setMibDirs, setMibs, setName, setParent, setProbe, setPropagate, setPropagate, setStatus, start, startMonitoring, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface iCMS.pollerd.MonitoredItem |
---|
addMyEventListener, removeMyEventListener |
Constructor Detail |
---|
public CmsData()
Method Detail |
---|
public void addLocation(LocationData _col)
public void clearApplications()
public void clearNodeTypes()
public void addNodeType(NodeTypeData _nodeType)
public void addApplication(ApplicationData _application)
public void setLoggingData(LoggingData _loggingData)
public void setSnmpRetry(int retry)
public void setSnmpTimeout(int timeout)
public LocationData getLocation(String name)
public NodeTypeData getNodeType(String name)
public ApplicationData getApplication(String name)
public LoggingData getLoggingData()
public int getSnmpRetry()
public int getSnmpTimeout()
public Hashtable getLocations()
public void print(PrintStream out, boolean all)
public void list(PrintStream out, boolean stat)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |