|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QoSD
QoSD interface.
| Field Summary | |
|---|---|
static String |
NAME
Constant NAME="OpenOSS.QoSD" |
| Method Summary | |
|---|---|
String |
getName()
Returns the Log category name |
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 Note - not used in Spring activation |
void |
onEvent(Event event)
The OpenNMS event listener runs this routine when a new event is detected. |
void |
pause()
Pause method of fiber, called by OpenNMS to put the fiber in a suspended state until it can be later resumed. |
void |
registerListener()
Registers an OpenNMS event listener with this class. |
void |
resume()
Resume method of fiber, called by OpenNMS to start the fiber up from a paused state. |
void |
sendAlarms()
A method to request an alarm list from the OpenNMS database and send the "unacked" alarms to the remote AlarmMonitor bean |
void |
setAlarmDao(AlarmDao alarmDao)
Used by Spring Application context to pass in alarmDao |
void |
setAlarmListConnectionManager(AlarmListConnectionManager alcm)
Used by Spring Application context to pass in AlarmListConnectionManager |
void |
setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
Used by jmx mbean QoSD to pass in Spring Application context |
void |
setAssetRecordDao(AssetRecordDao ar)
Used by Spring Application context to pass in AssetRecordDao |
void |
setEventIpcManager(EventIpcManager eventIpcManager)
Used by Spring Application context to pass in EventIpcManager |
void |
setNodeDao(NodeDao nodedao)
Used by Spring Application context to pass in NodeDaof |
void |
setOnmsAlarmOssjMapper(OnmsAlarmOssjMapper _onmsAlarmOssjMapper)
Used by Spring Application context to pass in OnmsAlarmOssjMapper The OnmsAlarmOssjMapper class maps OpenNMS alarms to OSS/J alarms and events |
void |
setOssDao(OssDao _ossDao)
provides an interface to OpenNMS which provides a unified api |
void |
start()
The start() method loads the configuration for the QosD daemon and registers for events |
void |
stop()
Stop method of fiber, called by OpenNMS when fiber execution is to finish. |
void |
unregisterListener()
Stops OpenNMS calling the onEvent method of this object when an event occurs. |
| Field Detail |
|---|
static final String NAME
NAME="OpenOSS.QoSD"
| Method Detail |
|---|
void setOssDao(OssDao _ossDao)
_ossDao - the ossDao to setvoid setOnmsAlarmOssjMapper(OnmsAlarmOssjMapper _onmsAlarmOssjMapper)
_onmsAlarmOssjMapper - the onmsAlarmOssjMapper to setvoid setAssetRecordDao(AssetRecordDao ar)
ar - a AssetRecordDao object.void setNodeDao(NodeDao nodedao)
nodedao - a NodeDao object.void setEventIpcManager(EventIpcManager eventIpcManager)
eventIpcManager - a EventIpcManager object.void setAlarmDao(AlarmDao alarmDao)
alarmDao - a AlarmDao object.void setAlarmListConnectionManager(AlarmListConnectionManager alcm)
alcm - a AlarmListConnectionManager object.void setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
m_context - - application context for this bean to usevoid init()
void start()
void stop()
void resume()
void pause()
String getName()
String object.int getStatus()
void onEvent(Event event)
event - a Event object.void registerListener()
void unregisterListener()
String getStats()
void sendAlarms()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||