Public Member Functions

alma.demo.LampCallbackImpl.LampCallbackImpl Class Reference

Inheritance diagram for alma.demo.LampCallbackImpl.LampCallbackImpl:
alma.acs.component.ComponentImplBase alma.acs.component.ComponentLifecycle

List of all members.

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

Detailed Description

Author:
rgeorgie

Member Function Documentation

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.

See also:
alma.demo.LampCallbackOperations.exceptionMethod()
Lamp alma.demo.LampCallbackImpl.LampCallbackImpl.getLamp (  )  throws LampUnavailable

Getts the lamp component LAMP1.

Returns:
Lamp
Exceptions:
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.

Returns:
RWdouble
Exceptions:
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.

Returns:
double
See also:
LampCallbackOperations.monitorLampBrightness()
Exceptions:
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.

See also:
alma.demo.LampCallbackOperations.stopMonitor()
Exceptions:
alma.demo.LampUnavailable 

References alma.acs.component.ComponentImplBase.m_containerServices, and alma.acs.component.ComponentImplBase.m_logger.


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