46 lines
1.0 KiB
C++
46 lines
1.0 KiB
C++
/*
|
|
* File: RejoinDone.h
|
|
* Author: gschneid
|
|
*
|
|
* Created on October 17, 2012, 9:59 AM
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifndef REJOINDONE_H
|
|
#define REJOINDONE_H
|
|
|
|
#include "common/Defines.h"
|
|
#include "mt/msg/MulticastMessage.h"
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
class Dispatcher;
|
|
|
|
/**
|
|
* @brief A rejoinDone informs all participating peers about a successful rejoin.
|
|
* @author Grit Schneider, Robert Noack
|
|
* @class RejoinDone
|
|
* @ingroup Moversight
|
|
*/
|
|
class RejoinDone : public MulticastMessage {
|
|
public:
|
|
RejoinDone();
|
|
RejoinDone(const RejoinDone & other);
|
|
virtual ~RejoinDone();
|
|
|
|
RejoinDone * dup() const;
|
|
RejoinDone & operator=(const RejoinDone & other);
|
|
|
|
void handleReceive(Dispatcher & dis);
|
|
void handleDeliver(Dispatcher & dis, const PeerIDList & missedPeers);
|
|
|
|
virtual void set(Archive &archive);
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif /* REJOINDONE_H */
|
|
|