//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / NNI SSCF protocol
//
//File: nsscftimeouts.cpp
//
//Version: $Revision: 1.6 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/05/26 14:29:51 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications and Multimedia
//
//Author:
//      Juhana Räsänen
//
//Description:
//      See corresponding header file
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 


#include <assert.h>
#include "nsscftimeouts.h"
#include "nsscfstate.h"


//
// Functions: NNI SSCF timeout messenger member functions
//
// Description:
//     Member functions that are needed to implement OVOPS++ timer
//     messenger functionality. See pfTimer documentation for more
//     information.
//

nsscfT1timeout :: nsscfT1timeout(void)
    : pfTimerMessenger()
{
    return;
}


nsscfT1timeout :: nsscfT1timeout(const nsscfT1timeout &)
    : pfTimerMessenger()
{
    return;
}


nsscfT1timeout :: ~nsscfT1timeout(void)
{
    return;
}


pfTimerMessenger *nsscfT1timeout :: clone(void) const
{
    pfTimerMessenger *messenger = new nsscfT1timeout(*this);
    assert(messenger != 0);
    return messenger;
}


void nsscfT1timeout :: apply(pfState *state_, pfProtocol *protocol_)
{
    ((nsscfState *) state_)->nsscfT1timeoutAct((nsscfProtocol *) protocol_);
    return;
}


//----------------------------------------------------------------------


nsscfT2timeout :: nsscfT2timeout(void)
    : pfTimerMessenger()
{
    return;
}


nsscfT2timeout :: nsscfT2timeout(const nsscfT2timeout &)
    : pfTimerMessenger()
{
    return;
}


nsscfT2timeout :: ~nsscfT2timeout(void)
{
    return;
}


pfTimerMessenger *nsscfT2timeout :: clone(void) const
{
    pfTimerMessenger *messenger = new nsscfT2timeout(*this);
    assert(messenger != 0);
    return messenger;
}


void nsscfT2timeout :: apply(pfState *state_, pfProtocol *protocol_)
{
    ((nsscfState *) state_)->nsscfT2timeoutAct((nsscfProtocol *) protocol_);
    return;
}


//----------------------------------------------------------------------


nsscfT3timeout :: nsscfT3timeout(void)
    : pfTimerMessenger()
{
    return;
}


nsscfT3timeout :: nsscfT3timeout(const nsscfT3timeout &)
    : pfTimerMessenger()
{
    return;
}


nsscfT3timeout :: ~nsscfT3timeout(void)
{
    return;
}


pfTimerMessenger *nsscfT3timeout :: clone(void) const
{
    pfTimerMessenger *messenger = new nsscfT3timeout(*this);
    assert(messenger != 0);
    return messenger;
}


void nsscfT3timeout :: apply(pfState *state_, pfProtocol *protocol_)
{
    ((nsscfState *) state_)->nsscfT3timeoutAct((nsscfProtocol *) protocol_);
    return;
}

