Files
scandocs/uni/masterarbeit/source/moversight/ut/msg/UnicastMessageConfirm.h
2014-06-30 13:58:10 +02:00

48 lines
1.3 KiB
C++

/*
* File: UnicastMessageConfirm.h
* Author: jgaebler
*
* Created on October 30, 2012, 2:23 PM
*/
#pragma once
#ifndef UNICASTMESSAGECONFIRM_H
#define UNICASTMESSAGECONFIRM_H
#include "common/transport/msg/ExteriorMessage.h"
#include "common/transport/MessageReference.h"
namespace ubeeme {
namespace moversight {
/**
* @brief Represents a unicast confirm message, used to confirm the reception of an unicast message
* @author Jan Gäbler
* @class UnicastMessageConfirm
* @ingroup Moversight
*/
class UnicastMessageConfirm : public ExteriorMessage {
public:
UnicastMessageConfirm( const MessageReference& mRef);
UnicastMessageConfirm( const UnicastMessageConfirm& other);
virtual ~UnicastMessageConfirm();
virtual UnicastMessageConfirm* dup() const;
virtual UnicastMessageConfirm& operator=( const UnicastMessageConfirm& other);
void handleReceive(Dispatcher & dis);
void setMessageReference( const MessageReference& mRef);
const MessageReference& getMessageReference() const;
virtual void set( Archive& archive);
private:
MessageReference messageReference;
};
}
}
#endif /* UNICASTMESSAGECONFIRM_H */