update20140630

This commit is contained in:
stubbfel
2014-06-30 13:58:10 +02:00
parent 565970632e
commit 1e6cf42df3
877 changed files with 1146249 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
/*
* File: JoinAbortToInviteeTimer.cc
* Author: jgaebler
*
* Created on March 3, 2011, 2:59 PM
*/
#include "JoinAbortToInviteeTimer.h"
#include "MembershipService.h"
namespace ubeeme {
namespace moversight {
/**
* @brief Constructor
* @param aMs A reference to the membership service, which creates that timer.
*/
JoinAbortToInviteeTimer::JoinAbortToInviteeTimer(MembershipService & aMs) : InvitationTimer(aMs) {
#if OMNETPP
setName("JoinAbortToInviteeTimer");
#endif
GenericTime t(JOIN_ABORT_TO_INVITEE_TIMEOUT);
setTimeout(t);
}
/**
* @brief Destructor
*/
JoinAbortToInviteeTimer::~JoinAbortToInviteeTimer() {
}
/**
* @brief Creates a duplicate of the current timer
* @return The created copy.
*/
JoinAbortToInviteeTimer *
JoinAbortToInviteeTimer::dup() {
return new JoinAbortToInviteeTimer(*this);
}
/**
* @brief If the timer is fired, this method is called and the timer
* handled.
*/
void
JoinAbortToInviteeTimer::timeout() {
dynamic_cast<MembershipService&>(service).handleJoinAbortToInviteeTimer(this);
}
}
}