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,52 @@
/*
* File: JoinAbortToInviterTimer.cc
* Author: jgaebler
*
* Created on March 3, 2011, 2:59 PM
*/
#include "JoinAbortToInviterTimer.h"
#include "MembershipService.h"
namespace ubeeme {
namespace moversight {
/**
* @brief Constructor
* @param aMs A reference to the creating membership service.
*/
JoinAbortToInviterTimer::JoinAbortToInviterTimer(MembershipService & aMs) : InvitationTimer(aMs) {
#if OMNETPP
setName("JoinAbortToInviterTimer");
#endif
GenericTime t(JOIN_ABORT_TO_INVITER_TIMEOUT);
setTimeout(t);
}
/**
* @brief Destructor
*/
JoinAbortToInviterTimer::~JoinAbortToInviterTimer() {
}
/**
* @brief Creates a duplicate of that timer
* @return The duplicated timer
*/
JoinAbortToInviterTimer *
JoinAbortToInviterTimer::dup() {
return new JoinAbortToInviterTimer(*this);
}
/**
* @brief If the timer is fired, this method is called and the timer
* handled.
*/
void
JoinAbortToInviterTimer::timeout(){
dynamic_cast<MembershipService &>(service).handleJoinAbortToInviterTimer(this);
}
}
}