alma::acs::eventbrowser::model::AdminConsumer Class Reference

Inheritance diagram for alma::acs::eventbrowser::model::AdminConsumer:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::eventbrowser::model::AdminConsumer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AdminConsumer (String channelName, ContainerServicesBase services) throws AcsJException
 AdminConsumer (String arg0, String arg1, ContainerServicesBase arg2) throws AcsJException
void push_structured_event (StructuredEvent evt) throws Disconnected

Static Public Member Functions

static boolean getPrintDetails ()
static void setPrintDetails (boolean printDetails)

Private Attributes

int channelEventCount
HashMap< String, Integer > evtCounter

Static Private Attributes

static final EventType et = new EventType("*","*")
static final EventType[] eta = {et}
static final EventType[] etNone = {}
static boolean printDetails

Constructor & Destructor Documentation

alma::acs::eventbrowser::model::AdminConsumer::AdminConsumer ( String  channelName,
ContainerServicesBase  services 
) throws AcsJException [inline]
alma::acs::eventbrowser::model::AdminConsumer::AdminConsumer ( String  arg0,
String  arg1,
ContainerServicesBase  arg2 
) throws AcsJException [inline]

Member Function Documentation

static boolean alma::acs::eventbrowser::model::AdminConsumer::getPrintDetails (  )  [inline, static]

References printDetails.

void alma::acs::eventbrowser::model::AdminConsumer::push_structured_event ( StructuredEvent  structuredEvent  )  throws Disconnected [inline]

As of ACS 3.0, override processEvent(Object) instead of this CORBA method. push_structured_event is what is called each time an event is received. Do not call it from your code!

Parameters:
structuredEvent The structured event sent by a supplier subclass.
Exceptions:
org.omg.CosEventComm.Disconnected 

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

References channelEventCount, alma::acsnc::EventDescription::count, evtCounter, alma::acs::nc::Consumer::m_channelName, alma::acs::nc::Consumer::m_logger, alma::acsnc::EventDescription::name, and alma::acsnc::EventDescription::timestamp.

static void alma::acs::eventbrowser::model::AdminConsumer::setPrintDetails ( boolean  printDetails  )  [inline, static]

Member Data Documentation

Referenced by push_structured_event().

final EventType alma::acs::eventbrowser::model::AdminConsumer::et = new EventType("*","*") [static, private]
final EventType [] alma::acs::eventbrowser::model::AdminConsumer::eta = {et} [static, private]

Referenced by AdminConsumer().

final EventType [] alma::acs::eventbrowser::model::AdminConsumer::etNone = {} [static, private]

Referenced by AdminConsumer().

Referenced by getPrintDetails().


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

Generated by  doxygen 1.6.2