alma::nctest::clients::FridgeConsumer Class Reference

Inheritance diagram for alma::nctest::clients::FridgeConsumer:
Inheritance graph
[legend]
Collaboration diagram for alma::nctest::clients::FridgeConsumer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FridgeConsumer (alma.acs.container.ContainerServices services) throws Exception
void processEvent (Object corbaData)

Static Public Member Functions

static void main (String[] args)

Package Attributes

int eventCount = 0
volatile boolean readyForShutdown = false

Detailed Description

FridgeConsumer is a simple class that connects to the "fridge" notification channel, receives five events, and then disconnects from the channel.

Author:
dfugate

Constructor & Destructor Documentation

alma::nctest::clients::FridgeConsumer::FridgeConsumer ( alma.acs.container.ContainerServices  services  )  throws Exception [inline]

Creates a new instance of FridgeConsumer

Referenced by main().


Member Function Documentation

static void alma::nctest::clients::FridgeConsumer::main ( String[]  args  )  [inline, static]
void alma::nctest::clients::FridgeConsumer::processEvent ( Object  corbaData  )  [inline]

processEvent must be overriden in Consumer subclasses to do something useful.

Parameters:
corbaData CORBA data extracted from the event.

Reimplemented from alma::acs::nc::Consumer.

References eventCount, readyForShutdown, and alma::acs::nc::Consumer::suspend().


Member Data Documentation

Total number of events that have been consumed.

Referenced by processEvent().

volatile boolean alma::nctest::clients::FridgeConsumer::readyForShutdown = false [package]

Referenced by main(), and processEvent().


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

Generated by  doxygen 1.6.2