Public Member Functions

cern.laser.source.alarmsysteminterface.listener.ASISubscriber Interface Reference

Inheritance diagram for cern.laser.source.alarmsysteminterface.listener.ASISubscriber:
cern.laser.source.alarmsysteminterface.impl.ASISubscriberProxy

List of all members.

Public Member Functions

void close ()
long subscribe (String source, ASIListener listener) throws ASIException
long subscribeAll (ASIListener listener) throws ASIException
void unsubscribe (long token) throws ASIException

Detailed Description

ASI subscriber interface.

Author:
fracalde

Member Function Documentation

void cern.laser.source.alarmsysteminterface.listener.ASISubscriber.close (  ) 
long cern.laser.source.alarmsysteminterface.listener.ASISubscriber.subscribe ( String  source,
ASIListener  listener 
) throws ASIException

Subscribe to ASIMessage from a specific alarm source.

Parameters:
source the alarm source.
listener the subscription listener.
Exceptions:
ASIException if subscription fails.
Returns:
the subscription token.

Implemented in cern.laser.source.alarmsysteminterface.impl.ASISubscriberProxy.

long cern.laser.source.alarmsysteminterface.listener.ASISubscriber.subscribeAll ( ASIListener  listener  )  throws ASIException

Subscribe to ASIMessage from all the alarm sources.

Parameters:
listener the subscription listener.
Exceptions:
ASIException if subscription fails.
Returns:
the subscription token.

Implemented in cern.laser.source.alarmsysteminterface.impl.ASISubscriberProxy.

void cern.laser.source.alarmsysteminterface.listener.ASISubscriber.unsubscribe ( long  token  )  throws ASIException

Unsubscribe.

Parameters:
token the subscription token.
Exceptions:
ASIException if unsubscription fails.

Implemented in cern.laser.source.alarmsysteminterface.impl.ASISubscriberProxy.


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