Public Member Functions | Static Public Member Functions

alma.ACSCOURSE_MOUNT.MountConsumer Class Reference

List of all members.

Public Member Functions

 MountConsumer (ContainerServices cServices) throws alma.acs.exceptions.AcsJException
void receive (MountEventData joe, EventDescription eventDescrip)
Class< MountEventData > getEventType ()

Static Public Member Functions

static void main (String[] args)

Detailed Description

MountConsumer is a simple class that connects to the MOUNT_CHANNEL channel, and prints events to standard out.

Author:
dfugate

Constructor & Destructor Documentation

alma.ACSCOURSE_MOUNT.MountConsumer.MountConsumer ( ContainerServices  cServices  )  throws alma.acs.exceptions.AcsJException

Creates a new instance of MountConsumer

Referenced by alma.ACSCOURSE_MOUNT.MountConsumer.main().


Member Function Documentation

Class<MountEventData> alma.ACSCOURSE_MOUNT.MountConsumer.getEventType (  ) 
static void alma.ACSCOURSE_MOUNT.MountConsumer.main ( String[]  args  )  [static]

Illustrates a simple example outside of the component/container model.

Parameters:
args Not used!

References 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,
EventDescription  eventDescrip 
)

A receive method must be created for each type of event we plan on receiving.

Parameters:
joe A data structure extracted from a CORBA event.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties