update20140630
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* File: AwaitRejoinTimer.h
|
||||
* Author: gschneid
|
||||
* Author: jgaebler
|
||||
*
|
||||
* Created on October 16, 2012, 5:20 PM
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef AWAITREJOINCONFIRMTIMER_H
|
||||
#define AWAITREJOINCONFIRMTIMER_H
|
||||
|
||||
#include "common/Defines.h"
|
||||
#include "common/timer/ReferenceTimer.h"
|
||||
|
||||
|
||||
namespace ubeeme {
|
||||
namespace moversight {
|
||||
|
||||
class MobilitySupport;
|
||||
|
||||
/**
|
||||
* @class AwaitRejoinTimer
|
||||
* @brief Timer to monitor the rejoinRoster Confirms. Keeps a list of responding peers.
|
||||
* @author Grit Schneider
|
||||
* @ingroup Moversight
|
||||
*/
|
||||
class AwaitRejoinTimer: public ReferenceTimer<PeerID> {
|
||||
|
||||
public:
|
||||
|
||||
AwaitRejoinTimer(MobilitySupport & aMob);
|
||||
AwaitRejoinTimer(const AwaitRejoinTimer & other);
|
||||
|
||||
virtual ~AwaitRejoinTimer();
|
||||
|
||||
AwaitRejoinTimer & operator=(const AwaitRejoinTimer & other);
|
||||
|
||||
AwaitRejoinTimer* dup();
|
||||
virtual void timeout();
|
||||
|
||||
void setStartedRejoin(bool pStarter);
|
||||
bool startedRejoin();
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* AWAITREJOINCONFIRMTIMER_H */
|
||||
|
||||
Reference in New Issue
Block a user