Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::alarmsystemdemo::listener::SourcesListener Class Reference

List of all members.

Public Member Functions

 SourcesListener ()
void receive (ACSJMSMessageEntity msg)

Static Public Member Functions

void main (String[] args)

Package Attributes

Logger logger = null

Private Attributes

AdvancedComponentClient m_client
ContainerServices m_contSvcs
Consumer m_consumer = null

Static Private Attributes

final String srcChName = "CMW.ALARM_SYSTEM.ALARMS.SOURCES.ALARM_SYSTEM_SOURCES"

Detailed Description

A java client that listens for the alarms sent by sources. For each received alarm, prints a message in the console.


Constructor & Destructor Documentation

alma::alarmsystemdemo::listener::SourcesListener::SourcesListener  )  [inline]
 

Constructor


Member Function Documentation

void alma::alarmsystemdemo::listener::SourcesListener::main String[]  args  )  [inline, static]
 

void alma::alarmsystemdemo::listener::SourcesListener::receive ACSJMSMessageEntity  msg  )  [inline]
 

The method recives all the messages published in the NC by the sources

Parameters:
msg The message received from the NC
See also:
alma.acs.nc.Consumer


Member Data Documentation

Logger alma::alarmsystemdemo::listener::SourcesListener::logger = null [package]
 

AdvancedComponentClient alma::alarmsystemdemo::listener::SourcesListener::m_client [private]
 

Consumer alma::alarmsystemdemo::listener::SourcesListener::m_consumer = null [private]
 

ContainerServices alma::alarmsystemdemo::listener::SourcesListener::m_contSvcs [private]
 

final String alma::alarmsystemdemo::listener::SourcesListener::srcChName = "CMW.ALARM_SYSTEM.ALARMS.SOURCES.ALARM_SYSTEM_SOURCES" [static, private]
 

Actually there is only one channel used by all sources to publish alarms


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:01:51 2009 for ACS Java API by doxygen 1.3.8