//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project/CC
//
//File: ccostate_active.h
//
//Version: $Revision: 1.8 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/06/11 15:29:32 $
//
//Organisation:
//      University of Technology
// 
//Author:
//      Pasi Nummisalo
//
//Description:
//      Function: Connection established between originating and
//      terminating party.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//      
//Licence:
//     
//
//History:
//

#ifndef __CC_O_STATE_ACTIVE_H__
#define __CC_O_STATE_ACTIVE_H__

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

class ccOstateActive : public ccOstate
{
    public:
        static ccOstateActive *instance(void);

        void proceed(ccProtocol *protocol_);
        
        virtual void sigRELEASEindAct(sigRELEASEind *release_,
                                      pfProtocol *protocol_);
            
        virtual void ccRELEASE_ACTIVEpduAct(ccRELEASE_ACTIVEpdu *release_,
                                            ccProtocol *protocol_);

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

#endif // __CC_O_STATE_ACTIVE_H__
