update20140630
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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<Invitation>(ms) {//MoversightTimer(ms) {
|
||||
setNumberOfRetries(MS_NUMBER_OF_MAX_RETRIES);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Copy constructor
|
||||
* @param orig The instance to copy
|
||||
*/
|
||||
InvitationTimer::InvitationTimer(const InvitationTimer& orig) : ReferenceTimer<Invitation>(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<Invitation>::operator =(other);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
// /**
|
||||
// * @brief Sets the invitation.
|
||||
// * @param inv The invitation to set.
|
||||
// */
|
||||
// void
|
||||
// InvitationTimer::setInvitation(const Invitation & inv) {
|
||||
// storage.set<Invitation>("invitation", inv);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * @brief Permits access to the stored invitation
|
||||
// * @return The stored invitation.
|
||||
// */
|
||||
// Invitation
|
||||
// InvitationTimer::getInvitation() {
|
||||
// return storage.get<Invitation>("invitation");
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user