

Public Member Functions | |
| MountConsumer (ContainerServices cServices) throws alma.acs.exceptions.AcsJException | |
| void | receive (MountEventData joe) |
Static Public Member Functions | |
| static void | main (String[] args) |
MountConsumer is a simple class that connects to the MOUNT_CHANNEL channel, and prints events to standard out.
| alma::ACSCOURSE_MOUNT::MountConsumer::MountConsumer | ( | ContainerServices | cServices | ) | throws alma.acs.exceptions.AcsJException [inline] |
Creates a new instance of MountConsumer
References alma::acs::nc::Consumer::addSubscription().
Referenced by main().
| static void alma::ACSCOURSE_MOUNT::MountConsumer::main | ( | String[] | args | ) | [inline, static] |
Illustrates a simple example outside of the component/container model.
| args | Not used! |
References alma::acs::nc::Consumer::consumerReady(), alma::acs::nc::Consumer::disconnect(), alma::acs::component::client::ComponentClient::getContainerServices(), MountConsumer(), and alma::acs::component::client::ComponentClient::tearDown().
| void alma::ACSCOURSE_MOUNT::MountConsumer::receive | ( | MountEventData | joe | ) | [inline] |
A receive method must be created for each type of event we plan on receiving.
| joe | A data structure extracted from a CORBA event. |
1.6.2