41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
/*
|
|
* File: GroupClosedCausedByConnectionLostTimer.h
|
|
* Author: jgaebler
|
|
*
|
|
* Created on January 19, 2012, 2:41 PM
|
|
*/
|
|
#pragma once
|
|
|
|
#ifndef GROUPCLOSEDCAUSEDBYCONNECTIONLOSTTIMER_H
|
|
#define GROUPCLOSEDCAUSEDBYCONNECTIONLOSTTIMER_H
|
|
|
|
#include "common/timer/MoversightTimer.h"
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
/**
|
|
* @brief The class provides a timer, used to trigger a group closed action, if the connection not re-established before.
|
|
* @class GroupClosedCausedByConnectionLostTimer
|
|
* @author Jan Gäbler
|
|
* @ingroup Moversight
|
|
*/
|
|
class GroupClosedCausedByConnectionLostTimer : public MoversightTimer {
|
|
|
|
public:
|
|
|
|
GroupClosedCausedByConnectionLostTimer(MoversightService & mob);
|
|
GroupClosedCausedByConnectionLostTimer(const GroupClosedCausedByConnectionLostTimer & orig);
|
|
virtual ~GroupClosedCausedByConnectionLostTimer();
|
|
|
|
GroupClosedCausedByConnectionLostTimer& operator=(const GroupClosedCausedByConnectionLostTimer & other);
|
|
|
|
virtual void timeout();
|
|
GroupClosedCausedByConnectionLostTimer * dup();
|
|
|
|
};
|
|
}
|
|
}
|
|
#endif /* GROUPCLOSEDCAUSEDBYCONNECTIONLOSTTIMER_H */
|
|
|