#include <maciHeartbeatController.h>
List of all members.
Detailed Description
Event handler for the timer queue timeout events. The handle_timeout hook method is inovked the the timer times out...
- Author:
- Matej Sekoranja, Jozef Stefan Institute, Slovenia
- Version:
- "@(#) $Id: maciHeartbeatController.h,v 1.81 2006/09/01 02:20:54 cparedes Exp $"
Constructor & Destructor Documentation
maci::HeartbeatHandler::HeartbeatHandler |
( |
HeartbeatController * |
controller, |
|
|
maci::Handle |
handle, |
|
|
maci::Client_ptr |
client | |
|
) |
| | |
Contructor.
- Parameters:
-
| controller | parent controller. |
| handle | clients handle. |
| client | client reference. |
Member Function Documentation
long maci::HeartbeatHandler::getTimerID |
( |
|
) |
|
Returns timer ID.
- Returns:
- timer ID.
virtual int maci::HeartbeatHandler::handle_close |
( |
ACE_HANDLE |
, |
|
|
ACE_Reactor_Mask |
| |
|
) |
| | [virtual] |
Callback hook, called when the timer is cancelled.
- Returns:
- 0 is cancellation was successfull
virtual int maci::HeartbeatHandler::handle_timeout |
( |
const ACE_Time_Value & |
currentTime, |
|
|
const void * |
arg | |
|
) |
| | [virtual] |
Callback hook.
- Parameters:
-
| currentTime | current time. |
- Returns:
- 0 to normaly proceed, -1 to indicate timer thread to call 'cancel' on this handle.
void maci::HeartbeatHandler::setTimerID |
( |
long |
timerID |
) |
|
Sets timer ID.
- Parameters:
-
void maci::HeartbeatHandler::updateClient |
( |
maci::Client_ptr |
client |
) |
|
Updates client.
- Parameters:
-
Member Data Documentation
Heartbeat Controller that created me (parent).
The documentation for this class was generated from the following file: