/* * File: JoinConfirmTimer.cc * Author: jgaebler * * Created on May 20, 2010, 10:39 AM */ #include "InvitationTimer.h" #include "ms/MembershipService.h" namespace ubeeme { namespace moversight { /** * @brief Constructor * @param ms A reference to the calling service. */ InvitationTimer::InvitationTimer(MembershipService & ms) : ReferenceTimer(ms) {//MoversightTimer(ms) { setNumberOfRetries(MS_NUMBER_OF_MAX_RETRIES); } /** * @brief Copy constructor * @param orig The instance to copy */ InvitationTimer::InvitationTimer(const InvitationTimer& orig) : ReferenceTimer(orig){//MoversightTimer(orig) { operator =(orig); } /** * @brief Destructor */ InvitationTimer::~InvitationTimer() { } /** * @brief Assignment operator * @param other The instance to assign * @return A reference to the local instance. */ InvitationTimer & InvitationTimer::operator =(const InvitationTimer& other) { if (this == &other) return *this; //MoversightTimer::operator =(other); ReferenceTimer::operator =(other); return *this; } // /** // * @brief Sets the invitation. // * @param inv The invitation to set. // */ // void // InvitationTimer::setInvitation(const Invitation & inv) { // storage.set("invitation", inv); // } // // /** // * @brief Permits access to the stored invitation // * @return The stored invitation. // */ // Invitation // InvitationTimer::getInvitation() { // return storage.get("invitation"); // } } }