alma::acs::lasercore::test::stress::category::CategorySubscriber Class Reference

Inheritance diagram for alma::acs::lasercore::test::stress::category::CategorySubscriber:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::lasercore::test::stress::category::CategorySubscriber:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CategorySubscriber (ContainerServices contSvc, String rootName, String pathName, CategoryClient categoryClient) throws Exception
void close ()
void finalize ()
void onMessage (Message msg)

Static Public Attributes

static final String NOT_AVAILABLE = "N/A"

Private Member Functions

void initParser () throws Exception
void connectSubscriber () throws JMSException
void adddAlarmView (String xmlString)

Private Attributes

ContainerServices acsCS
String rootName
String pathName
ACSJMSTopicSubscriber consumer
ACSJMSSession session
Topic topic
DocumentBuilder builder = null
CategoryClient categoryClient
volatile boolean closed = false

Constructor & Destructor Documentation

alma::acs::lasercore::test::stress::category::CategorySubscriber::CategorySubscriber ( ContainerServices  contSvc,
String  rootName,
String  pathName,
CategoryClient  categoryClient 
) throws Exception [inline]

Constructor

Parameters:
contSvc ACS container services
rootName The root name
pathName The path name

References acsCS, categoryClient, connectSubscriber(), initParser(), pathName, and rootName.


Member Function Documentation

void alma::acs::lasercore::test::stress::category::CategorySubscriber::adddAlarmView ( String  xmlString  )  [inline, private]

Get the fields of the alarm to show in the table and add the alarm to the model

Parameters:
s 

References acsCS, builder, categoryClient, description, alma::acs::lasercore::test::stress::CategoryClient::dispatchAlarm(), alma::acs::container::ContainerServicesBase::getLogger(), and NOT_AVAILABLE.

Referenced by onMessage().

void alma::acs::lasercore::test::stress::category::CategorySubscriber::close (  )  [inline]

Close the subscriber

Should be called when done.

References com::cosylab::acs::jms::ACSJMSTopicSubscriber::close(), closed, and consumer.

Referenced by finalize().

void alma::acs::lasercore::test::stress::category::CategorySubscriber::connectSubscriber (  )  throws JMSException [inline, private]
void alma::acs::lasercore::test::stress::category::CategorySubscriber::finalize (  )  [inline]
See also:
Object.finalize

References close().

void alma::acs::lasercore::test::stress::category::CategorySubscriber::initParser (  )  throws Exception [inline, private]

Initialize the parser

References builder.

Referenced by CategorySubscriber().

void alma::acs::lasercore::test::stress::category::CategorySubscriber::onMessage ( Message  msg  )  [inline]

Member Data Documentation

Referenced by adddAlarmView(), and initParser().

Referenced by close(), and onMessage().

Referenced by close(), and connectSubscriber().

Referenced by adddAlarmView().

Referenced by connectSubscriber().

Referenced by connectSubscriber().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2