update20140630

This commit is contained in:
stubbfel
2014-06-30 13:58:10 +02:00
parent 565970632e
commit 1e6cf42df3
877 changed files with 1146249 additions and 0 deletions

View File

@@ -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 */