Public Member Functions | |
void | cleanUp () |
double | monitorLampBrightness () throws LampUnavailable |
void | stopMonitor () throws LampUnavailable |
void | exceptionMethod () throws LampUnavailable |
void | acsExceptionMethodVoid () throws ACSException |
double | acsExceptionMethodDouble () throws ACSException |
Lamp | getLamp () throws LampUnavailable |
RWdouble | getLampBrightnessObject () throws LampUnavailable |
double alma.demo.LampCallbackImpl.LampCallbackImpl.acsExceptionMethodDouble | ( | ) | throws ACSException |
void alma.demo.LampCallbackImpl.LampCallbackImpl.acsExceptionMethodVoid | ( | ) | throws ACSException |
void alma.demo.LampCallbackImpl.LampCallbackImpl.cleanUp | ( | ) |
void alma.demo.LampCallbackImpl.LampCallbackImpl.exceptionMethod | ( | ) | throws LampUnavailable |
Throws a plain CORBA exception, that is, one that does not collaborate with the ACS error system.
Lamp alma.demo.LampCallbackImpl.LampCallbackImpl.getLamp | ( | ) | throws LampUnavailable |
Getts the lamp component LAMP1.
java.lang.Exception |
References alma.acs.component.ComponentImplBase.m_containerServices, and alma.acs.component.ComponentImplBase.m_logger.
Referenced by alma.demo.LampCallbackImpl.LampCallbackImpl.getLampBrightnessObject().
RWdouble alma.demo.LampCallbackImpl.LampCallbackImpl.getLampBrightnessObject | ( | ) | throws LampUnavailable |
Gets the lamp component's brightness CORBA object as RWdouble.
java.lang.Exception |
References alma.demo.LampCallbackImpl.LampCallbackImpl.getLamp(), and alma.acs.component.ComponentImplBase.m_logger.
Referenced by alma.demo.LampCallbackImpl.LampCallbackImpl.monitorLampBrightness().
double alma.demo.LampCallbackImpl.LampCallbackImpl.monitorLampBrightness | ( | ) | throws LampUnavailable |
Attaches a monitor to the brightness object of the lamp component. The component uses a callback when the interval set to the timer expires.
alma.demo.LampUnavailable |
References alma.demo.LampCallbackImpl.LampCallbackImpl.getLampBrightnessObject(), alma.acs.component.ComponentImplBase.m_containerServices, and alma.acs.component.ComponentImplBase.m_logger.
void alma.demo.LampCallbackImpl.LampCallbackImpl.stopMonitor | ( | ) | throws LampUnavailable |
Stops the monitor upon request.
alma.demo.LampUnavailable |
References alma.acs.component.ComponentImplBase.m_containerServices, and alma.acs.component.ComponentImplBase.m_logger.