Public Member Functions

alma.demo.LampCallbackImpl.CBdoubleLampCallback Class Reference

Inherits alma::ACS::CBdoublePOA.

List of all members.

Public Member Functions

 CBdoubleLampCallback (Logger logger)
void working (double value, Completion completion, CBDescOut desc)
void done (double value, Completion completion, CBDescOut desc)
boolean negotiate (long myLong, CBDescOut desc)

Detailed Description

Author:
rgeorgie Implements the callback for the lamp component.

Constructor & Destructor Documentation

alma.demo.LampCallbackImpl.CBdoubleLampCallback.CBdoubleLampCallback ( Logger  logger  ) 

Passes a logger to the callback object.

Parameters:
logger 

Member Function Documentation

void alma.demo.LampCallbackImpl.CBdoubleLampCallback.done ( double  value,
Completion  completion,
CBDescOut  desc 
)

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)
boolean alma.demo.LampCallbackImpl.CBdoubleLampCallback.negotiate ( long  myLong,
CBDescOut  desc 
)

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)
void alma.demo.LampCallbackImpl.CBdoubleLampCallback.working ( double  value,
Completion  completion,
CBDescOut  desc 
)

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)

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