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 |
ASI subscriber interface.
void cern.laser.source.alarmsysteminterface.listener.ASISubscriber.close | ( | ) |
Close the resources.
Implemented in cern.laser.source.alarmsysteminterface.impl.ASISubscriberProxy.
long cern.laser.source.alarmsysteminterface.listener.ASISubscriber.subscribe | ( | String | source, | |
ASIListener | listener | |||
) | throws ASIException |
Subscribe to ASIMessage from a specific alarm source.
source | the alarm source. | |
listener | the subscription listener. |
ASIException | if subscription fails. |
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.
listener | the subscription listener. |
ASIException | if subscription fails. |
Implemented in cern.laser.source.alarmsysteminterface.impl.ASISubscriberProxy.
void cern.laser.source.alarmsysteminterface.listener.ASISubscriber.unsubscribe | ( | long | token | ) | throws ASIException |
Unsubscribe.
token | the subscription token. |
ASIException | if unsubscription fails. |
Implemented in cern.laser.source.alarmsysteminterface.impl.ASISubscriberProxy.