//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / NNI SSCF protocol
//
//File: nsscftimeouts.h
//
//Version: $Revision: 1.5 $
//
//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:
//      Timeout messenger classes for NNI SSCF timers
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 


#ifndef __NSSCFTIMEOUTS_H__
#define __NSSCFTIMEOUTS_H__

#include "pf/timer.h"

class pfState;
class pfProtocol;


//
// Classes: NNI SSCF timeout messengers
//
// Description:
//     Timeout messenger classes for NNI SSCF timers: SSCF will
//     get these messengers when a timeout occurs.
//

class nsscfT1timeout : public pfTimerMessenger
{
    public:
        nsscfT1timeout(void);
        virtual ~nsscfT1timeout(void);
        nsscfT1timeout(const nsscfT1timeout &other_);
        
        virtual void apply(pfState *state_, pfProtocol *protocol_);
        virtual pfTimerMessenger *clone(void) const;
};


class nsscfT2timeout : public pfTimerMessenger
{
    public: 
        nsscfT2timeout(void);
        virtual ~nsscfT2timeout(void);
        nsscfT2timeout(const nsscfT2timeout &other_);

        virtual void apply(pfState *state_, pfProtocol *protocol_);
        virtual pfTimerMessenger *clone(void) const;
};


class nsscfT3timeout : public pfTimerMessenger
{
    public:
        nsscfT3timeout(void);
        virtual ~nsscfT3timeout(void);
        nsscfT3timeout(const nsscfT3timeout &other_);

        virtual void apply(pfState *state_, pfProtocol *protocol_);
        virtual pfTimerMessenger *clone(void) const;
};


#endif // __NSSCFTIMEOUTS_H__

