|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openoss.opennms.spring.qosdrx.QoSDrx
public class QoSDrx
| Field Summary | |
|---|---|
static java.lang.String |
NAME
|
| Fields inherited from interface org.opennms.core.fiber.PausableFiber |
|---|
PAUSE_PENDING, PAUSED, RESUME_PENDING |
| Fields inherited from interface org.opennms.core.fiber.Fiber |
|---|
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED |
| Constructor Summary | |
|---|---|
QoSDrx()
|
|
| Method Summary | |
|---|---|
static org.apache.log4j.Logger |
getLog()
Method to get the QoSDrx's logger from OpenNMS |
java.lang.String |
getName()
Returns the Log category name |
java.lang.String |
getRuntimeStatistics()
Method to return statistics from the running receivers |
java.lang.String |
getStats()
not used but needed for initialisation |
int |
getStatus()
lets OpenNMS know what state the daemon is in |
void |
init()
Method to set up the fiber. |
void |
pause()
Pause method of fiber, called by OpenNMS to put the fiber in a suspended state until it can be later resumed. |
void |
resume()
Resume method of fiber, called by OpenNMS to start the fiber up from a paused state. |
void |
setalarmDao(org.opennms.netmgt.dao.AlarmDao alarmDao)
Used by Spring Application context to pass in alarmDao |
void |
setapplicationcontext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
Used by jmx mbean QoSDrx to pass in Spring Application context |
void |
setassetRecordDao(org.opennms.netmgt.dao.AssetRecordDao ar)
Used by Spring Application context to pass in AssetRecordDao |
void |
setinitialOssBeanRunner(org.openoss.ossj.fm.monitor.spring.OssBeanRunner initialOssBeanRunner)
|
void |
setnodeDao(org.opennms.netmgt.dao.NodeDao nodedao)
Used by Spring Application context to pass in NodeDaof |
void |
start()
The start() method loads the configuration for the QoSDrx daemon and starts the initialOssBeanRunner |
void |
stop()
Stop method of fiber, called by OpenNMS when fiber execution is to finish. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public QoSDrx()
| Method Detail |
|---|
public void setinitialOssBeanRunner(org.openoss.ossj.fm.monitor.spring.OssBeanRunner initialOssBeanRunner)
ossBeanRunner - the ossBeanRunner to setpublic void setassetRecordDao(org.opennms.netmgt.dao.AssetRecordDao ar)
ar - public void setnodeDao(org.opennms.netmgt.dao.NodeDao nodedao)
nodedao - public void setalarmDao(org.opennms.netmgt.dao.AlarmDao alarmDao)
alarmDao - public void setapplicationcontext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
alarmDao - public void init()
public void start()
start in interface org.opennms.core.fiber.Fiberpublic void stop()
stop in interface org.opennms.core.fiber.Fiberpublic void pause()
pause in interface org.opennms.core.fiber.PausableFiberpublic void resume()
resume in interface org.opennms.core.fiber.PausableFiberpublic java.lang.String getName()
getName in interface org.opennms.core.fiber.Fiberpublic int getStatus()
getStatus in interface org.opennms.core.fiber.Fiberstatus - public static org.apache.log4j.Logger getLog()
public java.lang.String getRuntimeStatistics()
public java.lang.String getStats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||