//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / SIG
//
//File: sigstate_active.h
//
//Version: $Revision: 1.2 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/12/10 16:10:20 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//
//Description:
//      Implements the following signalling states based on Q.2931:
//      UserActive, NetworkActive, and Call Answered state for BISUP.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __SIG_SIGSTATE_ACTIVE_H__
#define __SIG_SIGSTATE_ACTIVE_H__

#include "pf/exception.h"

#include "sigstate.h"

class sigActive : public sigState
{
    public:
        static sigActive *instance(void);

        virtual void sigSETUP_COMPLETEindAct(
            sigSETUP_COMPLETEind *primitive_,
            pfProtocol *protocol_);

        virtual void sigRELEASEreqAct(
            sigRELEASEreq *primitive_,
            pfProtocol *protocol_);
        virtual void sigRELEASErespAct(
            sigRELEASEresp *primitive_,
            pfProtocol *protocol_);
        
        virtual void sigRELEASEindAct(
            sigRELEASEind *primitive_,
            pfProtocol *protocol_);
        virtual void sigRELEASEconfAct(
            sigRELEASEconf *primitive_,
            pfProtocol *protocol_);

    protected:
        sigActive(void);
        virtual ~sigActive(void);

    private:
        static sigActive *_only;
};

#endif // __SIG_SIGSTATE_ACTIVE_H__
