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 |
Creates a new instance of MountConsumer
References alma.acs.nc.Consumer.addSubscription().
Referenced by alma.ACSCOURSE_MOUNT.MountConsumer.main().
| static void alma.ACSCOURSE_MOUNT.MountConsumer.main | ( | String[] | args | ) | [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(), alma.ACSCOURSE_MOUNT.MountConsumer.MountConsumer(), and alma.acs.component.client.ComponentClient.tearDown().
| void alma.ACSCOURSE_MOUNT.MountConsumer.receive | ( | MountEventData | joe | ) |
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.7.0