|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AlarmListConnectionManager
AlarmListConnectionManager interface.
| Field Summary | |
|---|---|
static int |
CONNECTED
Constant CONNECTED=0 |
static int |
DISCONNECTED
Constant DISCONNECTED=1 |
static int |
REBUILD
Constant REBUILD=2 |
static int |
SEND
Constant SEND=0 |
static int |
SENT
Constant SENT=1 |
static int |
STOP
Constant STOP=2 |
| Method Summary | |
|---|---|
int |
getStatus()
returns the threads current status states for status: CONNECTED = 0; DISCONNECTED = 1; STOP = 2; |
void |
init(PropertiesLoader props,
Properties env)
Initialises the ConnectionManagerThread |
void |
kill()
Stops the ConnectionManagerThread |
javax.oss.fm.monitor.AlarmValue |
makeAlarmValue()
Makes a new empty alarm value object NOTE THIS IS A PATCH to proxy for JVTAlarmMonitorSession.makeAlarmValue() |
javax.oss.fm.monitor.AlarmValue |
makeAlarmValueFromSpec()
Makes a new alarm value object pre-populated with internal objects which have been made from a local invarient specification. |
void |
reset_list(String _rebuilt_message)
this method resets the alarm list in the AlarmMonitorBean and causes an alarmlist rebuilt event to be sent. |
void |
run()
Starts the ConnectionManagerThread |
void |
send(Hashtable<AlarmKey,AlarmValue> alarmList)
Sends the AlarmList to the AlarmMonitorBean |
void |
setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
Used by jmx mbean QoSD to pass in Spring Application context |
void |
start()
Causes the thread supporting the connection Manager to start |
| Field Detail |
|---|
static final int CONNECTED
CONNECTED=0
static final int DISCONNECTED
DISCONNECTED=1
static final int STOP
STOP=2
static final int SEND
SEND=0
static final int SENT
SENT=1
static final int REBUILD
REBUILD=2
| Method Detail |
|---|
void reset_list(String _rebuilt_message)
_rebuilt_message - message to include in the NotifyAlarmListRebuiltEventvoid send(Hashtable<AlarmKey,AlarmValue> alarmList)
alarmList - a Hashtable object.
void run()
throws IllegalStateException
IllegalStateException - if any.
void init(PropertiesLoader props,
Properties env)
props - The PropertiesLoader method which reads the Qosd.properties fileenv - the returned properties for setting up the connections to the AlarmMonitorBeanvoid kill()
int getStatus()
void start()
javax.oss.fm.monitor.AlarmValue makeAlarmValue()
javax.oss.fm.monitor.AlarmValue makeAlarmValueFromSpec()
void setApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext m_context)
m_context - - application context for this bean to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||