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

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

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

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


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 

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

Close the subscriber

Should be called when done.

void alma::acs::lasercore::test::stress::category::CategorySubscriber::connectSubscriber  )  throws JMSException [inline, private]
 

Connect the JMS consumer settting this class as listener for incoming messages

Exceptions:
JMSException 

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

See also:
Object.finalize

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

Initialize the parser

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

Executed when a message has been received

Parameters:
msg 


Member Data Documentation

ContainerServices alma::acs::lasercore::test::stress::category::CategorySubscriber::acsCS [private]
 

DocumentBuilder alma::acs::lasercore::test::stress::category::CategorySubscriber::builder = null [private]
 

CategoryClient alma::acs::lasercore::test::stress::category::CategorySubscriber::categoryClient [private]
 

volatile boolean alma::acs::lasercore::test::stress::category::CategorySubscriber::closed = false [private]
 

ACSJMSTopicSubscriber alma::acs::lasercore::test::stress::category::CategorySubscriber::consumer [private]
 

final String alma::acs::lasercore::test::stress::category::CategorySubscriber::NOT_AVAILABLE = "N/A" [static]
 

String alma::acs::lasercore::test::stress::category::CategorySubscriber::pathName [private]
 

String alma::acs::lasercore::test::stress::category::CategorySubscriber::rootName [private]
 

ACSJMSSession alma::acs::lasercore::test::stress::category::CategorySubscriber::session [private]
 

Topic alma::acs::lasercore::test::stress::category::CategorySubscriber::topic [private]
 


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