//Editor-Info: -*- C++ -*-
//
//Subject: TOVE/CC
//
//File: ccstate_active.h
//
//Version: $Revision: 1.8 $
//
//Date: $Date: 1998/06/30 15:11:04 $
//
//Organisation:
//      University of Technology
// 
//Author:
//      Pasi Nummisalo
//
//Description:
//     An indication is sent to the originating half of BCSM
//     that the terminating party has accepted and answered
//     the call. Call supervision is being provided.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//      
//Licence:
//     
//
//History:
//

#ifndef __CC_T_STATE_ACTIVE_H__
#define __CC_T_STATE_ACTIVE_H__

#include "cctstate.h"
#include "iface/sigif/sigupprimitives.h"

class ccTstateActive : public ccTstate
{
    public:
        static ccTstateActive *instance(void);

        void proceed(ccProtocol *protocol_);
        
        virtual void sigRELEASEindAct(sigRELEASEind *messenger_,
                                      pfProtocol *protocol_);

        virtual void ccRELEASE_ACTIVEpduAct(ccRELEASE_ACTIVEpdu *messenger_,
                                            ccProtocol *protocol_);

    protected:
        ccTstateActive(void);
        virtual ~ccTstateActive(void);
        
    private:
        static ccTstateActive *_only;   
}; 

#endif // __CC_T_STATE_ACTIVE_H__
