/* * File: UnicastMessageRetransmitTimer.h * Author: jgaebler * * Created on October 29, 2012, 12:02 PM */ #pragma once #ifndef UNICASTMESSAGERETRANSMITTIMER_H #define UNICASTMESSAGERETRANSMITTIMER_H #include "common/timer/ReferenceTimer.h" #include "common/transport/MessageReference.h" #include "common/transport/TransportAddress.h" namespace ubeeme { namespace moversight { class UnicastTransfer; /** * @brief Defines a timer to monitor a unicast message. * @class UnicastMessageRetransmitTimer * @author Jan Gäbler * @ingroup Moversight */ class UnicastMessageRetransmitTimer : public ReferenceTimer { public: UnicastMessageRetransmitTimer(UnicastTransfer & transfer); UnicastMessageRetransmitTimer(const UnicastMessageRetransmitTimer & orig); virtual ~UnicastMessageRetransmitTimer(); UnicastMessageRetransmitTimer & operator=(const UnicastMessageRetransmitTimer & other); virtual void timeout(); UnicastMessageRetransmitTimer * dup(); TransportAddress getSource(); void setSource(const TransportAddress & ta); }; } } #endif /* UNICASTMESSAGERETRANSMITTIMER_H */