46 lines
932 B
C++
46 lines
932 B
C++
/*
|
|
* File: LeaveAnnounceTimer.h
|
|
* Author: jgaebler
|
|
*
|
|
* Created on January 17, 2013, 4:51 PM
|
|
*/
|
|
#pragma once
|
|
|
|
#ifndef LEAVEANNOUNCETIMER_H
|
|
#define LEAVEANNOUNCETIMER_H
|
|
|
|
#include "common/Defines.h"
|
|
#include "common/timer/ReferenceMonitorTimer.h"
|
|
#include "common/time/VirtualLogicalTime.h"
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
class MembershipService;
|
|
|
|
/**
|
|
* @class LeaveAnnounceTimer
|
|
* @brief Defines a timer to monitor the LeaveAnnounce message.
|
|
* @ingroup Moversight
|
|
* @author Jan Gäbler
|
|
*/
|
|
class LeaveAnnounceTimer : public ReferenceMonitorTimer<VirtualLogicalTime> {
|
|
public:
|
|
|
|
LeaveAnnounceTimer(MembershipService & ms);
|
|
virtual ~LeaveAnnounceTimer();
|
|
|
|
virtual void timeout();
|
|
LeaveAnnounceTimer * dup();
|
|
|
|
private:
|
|
|
|
};
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endif /* LEAVEANNOUNCETIMER_H */
|
|
|