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

alma::acssamp::jtest::acssampConsumer Class Reference

List of all members.

Public Member Functions

 acssampConsumer (String ncChannel, ContainerServices cServices) throws AcsJException
void receive (SampDataBlock[] sampData)
void push_structured_event (StructuredEvent structuredEvent) throws org.omg.CosEventComm.Disconnected
void ncDisconnect ()
void offer_change (EventType[] eventTypesNew, EventType[] eventTypesOnce)

Public Attributes

int eventCount = 0

Protected Member Functions

void processEvent (IDLEntity corbaData, EventDescription eventDescrip)

Constructor & Destructor Documentation

alma::acssamp::jtest::acssampConsumer::acssampConsumer String  ncChannel,
ContainerServices  cServices
throws AcsJException [inline]
 

Creates a new instance of acssampConsumer


Member Function Documentation

void alma::acssamp::jtest::acssampConsumer::ncDisconnect  )  [inline]
 

void alma::acssamp::jtest::acssampConsumer::offer_change EventType[]  eventTypesNew,
EventType[]  eventTypesOnce
[inline]
 

Here we as a smart consumer would have a chance to subscribe to new types as they are being offered. Instead we just log the information.

See also:
alma.acs.nc.Consumer::offer_change(org.omg.CosNotification.EventType[], org.omg.CosNotification.EventType[])

void alma::acssamp::jtest::acssampConsumer::processEvent IDLEntity  corbaData,
EventDescription  eventDescrip
[inline, protected]
 

Currently never called because we override the default impl of push_structured_event.

void alma::acssamp::jtest::acssampConsumer::push_structured_event StructuredEvent  structuredEvent  )  throws org.omg.CosEventComm.Disconnected [inline]
 

We directly overload the push_structured_event to steal the raw events before any processing by the NC classes can take place. Usually one would overload one of the processEvent methods.

See also:
alma.acs.nc.Consumer::push_structured_event(org.omg.CosNotification.StructuredEvent)

void alma::acssamp::jtest::acssampConsumer::receive SampDataBlock[]  sampData  )  [inline]
 

Should never be called as we don't register a receiver callback object with the NC framework.


Member Data Documentation

int alma::acssamp::jtest::acssampConsumer::eventCount = 0
 

Total number of events that have been consumed.


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