43 lines
976 B
C++
43 lines
976 B
C++
/*
|
|
* File: NDMessage.h
|
|
* Author: Grit Schneider
|
|
*
|
|
* Created on August 16, 2012, 10:35 AM
|
|
*/
|
|
#pragma once
|
|
|
|
#ifndef NDMESSAGE_H
|
|
#define NDMESSAGE_H
|
|
|
|
#include "common/transport/msg/MoversightMessage.h"
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
class Dispatcher;
|
|
|
|
/**
|
|
* @brief Defines an ND (neighborhood detection) message to check if the neighbors are reachable.
|
|
* @author Grit Schneider, Robert Noack
|
|
* @ingroup Moversight
|
|
* @class NDMessage
|
|
*/
|
|
class NDMessage : public MoversightMessage {
|
|
public:
|
|
NDMessage();
|
|
NDMessage( const NDMessage & other);
|
|
virtual ~NDMessage();
|
|
NDMessage & operator=(const NDMessage & other);
|
|
|
|
virtual NDMessage * dup() const;
|
|
|
|
void handleReceive(Dispatcher & dis);
|
|
virtual void set(Archive& archive);
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* NDMESSAGE_H */
|
|
|