public class LampCallbackImpl extends ComponentImplBase
m_containerServices, m_instanceName, m_logger| Constructor and Description |
|---|
LampCallbackImpl() |
| Modifier and Type | Method and Description |
|---|---|
double |
acsExceptionMethodDouble() |
void |
acsExceptionMethodVoid() |
void |
cleanUp()
Called after the last functional call to the component has finished.
|
void |
exceptionMethod()
Throws a plain CORBA exception,
that is, one that does not collaborate with the ACS error system.
|
Lamp |
getLamp()
Getts the lamp component LAMP1.
|
RWdouble |
getLampBrightnessObject()
Gets the lamp component's brightness CORBA object as RWdouble.
|
double |
monitorLampBrightness()
Attaches a monitor to the brightness object of the lamp component.
|
void |
stopMonitor()
Stops the monitor upon request.
|
aboutToAbort, componentState, execute, initialize, namepublic void cleanUp()
ComponentLifecyclecleanUp in interface ComponentLifecyclecleanUp in class ComponentImplBasepublic double monitorLampBrightness()
throws LampUnavailable
alma.demo.LampUnavailableLampUnavailableLampCallbackOperations#monitorLampBrightness()public void stopMonitor()
throws LampUnavailable
alma.demo.LampUnavailableLampUnavailablealma.demo.LampCallbackOperations#stopMonitor()public void exceptionMethod()
throws LampUnavailable
LampUnavailablealma.demo.LampCallbackOperations#exceptionMethod()public void acsExceptionMethodVoid()
throws ACSException
ACSExceptionpublic double acsExceptionMethodDouble()
throws ACSException
ACSExceptionpublic Lamp getLamp()
throws LampUnavailable
java.lang.ExceptionLampUnavailablepublic RWdouble getLampBrightnessObject()
throws LampUnavailable
java.lang.ExceptionLampUnavailable