Public Member Functions | Static Public Member Functions | Protected Member Functions

alma.acs.eventbrowser.model.AdminConsumer Class Reference

Inheritance diagram for alma.acs.eventbrowser.model.AdminConsumer:
alma.acs.nc.Consumer alma.acs.nc.ReconnectableSubscriber

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)

Protected Member Functions

String getNotificationFactoryName ()

Constructor & Destructor Documentation

alma.acs.eventbrowser.model.AdminConsumer.AdminConsumer ( String  channelName,
ContainerServicesBase  services 
) throws AcsJException
alma.acs.eventbrowser.model.AdminConsumer.AdminConsumer ( String  arg0,
String  arg1,
ContainerServicesBase  arg2 
) throws AcsJException

Member Function Documentation

String alma.acs.eventbrowser.model.AdminConsumer.getNotificationFactoryName (  )  [protected]

This method returns the notify service name as registered with the CORBA Naming Service. This is normally equivalent to acscommon.ALMADOMAIN. The sole reason this method is provided is to accommodate subclasses which subscribe/publish non-ICD style events (ACS archiving channel for example). In that case, the developer would override this method (e.g. to return or logging channel with alma.acscommon.LOGGING_NOTIFICATION_FACTORY_NAME.value)

Returns:
string

Reimplemented from alma.acs.nc.Consumer.

static boolean alma.acs.eventbrowser.model.AdminConsumer.getPrintDetails (  )  [static]
void alma.acs.eventbrowser.model.AdminConsumer.push_structured_event ( StructuredEvent  structuredEvent  )  throws Disconnected

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 alma.acs.nc.Consumer.m_channelName, and alma.acs.nc.Consumer.m_logger.

static void alma.acs.eventbrowser.model.AdminConsumer.setPrintDetails ( boolean  printDetails  )  [static]

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