Public Member Functions

alma.acs.nc.AcsEventPublisher Interface Reference

Inheritance diagram for alma.acs.nc.AcsEventPublisher:
alma.acs.nc.refactored.NCPublisher

List of all members.

Public Member Functions

void publishEvent (IDLEntity customStruct) throws AcsJException
void disconnect () throws IllegalStateException

Detailed Description

This interface provides an abstraction for an Event Publisher.

Discuss this interface, and also the exceptions. For some more details, check the TODOs described in AcsEventSubscriber.

Author:
rtobar

Member Function Documentation

void alma.acs.nc.AcsEventPublisher.disconnect (  )  throws IllegalStateException

Disconnect this Publisher from the Notification Channel.

Exceptions:
IllegalStateException If the current Publisher is already disconnected

Referenced by alma.acs.container.ContainerServicesImpl.cleanUp().

void alma.acs.nc.AcsEventPublisher.publishEvent ( IDLEntity  customStruct  )  throws AcsJException

Publishes a structured event through the Notification Channel to which this publisher is connected to.

Parameters:
customStruct The structure to send through the Notification Channel
Exceptions:
AcsJException In case of any failure, including if the publisher is not yet connected (or has been disconnected) to the Notification Channel.

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