ALMA Computing Group

alma::demo::LampCallbackImpl::CBdoubleLampCallback Class Reference

List of all members.

Public Member Functions

 CBdoubleLampCallback (Logger logger)
 Passes a logger to the callback object.
void working (double value, Completion completion, CBDescOut desc)
 Used to notify a state of incompletion.
void done (double value, Completion completion, CBDescOut desc)
 Used to notify a state of completion.
boolean negotiate (long myLong, CBDescOut desc)
 Used to negotiate timeouts between client and sever.

Private Attributes

Logger m_logger

Detailed Description

Author:
rgeorgie Implements the callback for the lamp component.

Definition at line 34 of file CBdoubleLampCallback.java.


Constructor & Destructor Documentation

alma::demo::LampCallbackImpl::CBdoubleLampCallback::CBdoubleLampCallback Logger  logger  )  [inline]
 

Passes a logger to the callback object.

Parameters:
logger 
Definition at line 42 of file CBdoubleLampCallback.java.

References m_logger.


Member Function Documentation

void alma::demo::LampCallbackImpl::CBdoubleLampCallback::done double  value,
Completion  completion,
CBDescOut  desc
[inline]
 

Used to notify a state of completion.

Parameters:
value monitored property's "brightness" current value that the client gets.
completion error handing structure.
desc callback descriptor passed from server to client.
See also:
alma.ACS.CBdoubleOperations#done(double, alma.ACSErr.Completion, alma.ACS.CBDescOut)
Definition at line 65 of file CBdoubleLampCallback.java.

References m_logger.

boolean alma::demo::LampCallbackImpl::CBdoubleLampCallback::negotiate long  myLong,
CBDescOut  desc
[inline]
 

Used to negotiate timeouts between client and sever.

Parameters:
myLong timeout between client and sever.
desc callback descriptor passed from server to client.
Returns:
boolean
See also:
alma.ACS.CallbackOperations#negotiate(long, alma.ACS.CBDescOut)
Definition at line 76 of file CBdoubleLampCallback.java.

References m_logger.

void alma::demo::LampCallbackImpl::CBdoubleLampCallback::working double  value,
Completion  completion,
CBDescOut  desc
[inline]
 

Used to notify a state of incompletion.

Parameters:
value monitored property's "brightness" current value that the client gets.
completion error handing structure.
desc callback descriptor passed from server to client.
See also:
alma.ACS.CBdoubleOperations#working(double, alma.ACSErr.Completion, alma.ACS.CBDescOut)
Definition at line 54 of file CBdoubleLampCallback.java.

References m_logger.


Member Data Documentation

Logger alma::demo::LampCallbackImpl::CBdoubleLampCallback::m_logger [private]
 

Definition at line 36 of file CBdoubleLampCallback.java.

Referenced by CBdoubleLampCallback(), done(), negotiate(), and working().


The documentation for this class was generated from the following file: