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