//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: unistate_n6.h
//
//Version: $Revision: 1.10 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/10/10 15:57:12 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Jari Pusa
//
//Description:
//      State Call Present (N6)
//
//Copyright:
//
//
//Licence:
//
//
//History: 

#ifndef __UNI_UNISTATE_N6_H__
#define __UNI_UNISTATE_N6_H__

#include "unistate_n.h"

//
// Class: uniNetworkCallPresent
//
// Description:
//      Implements Call Present state of the network side.
//

class uniNetworkCallPresent : public uniNetworkState
{
    public:
        static uniNetworkCallPresent *instance(void);

        virtual void uniCONNECTpduAct(uniCONNECTpdu *message_,
                                      pfProtocol *protocol_);
        virtual void uniALERTINGpduAct(uniALERTINGpdu *message_,
                                       pfProtocol *protocol_);
        virtual void uniCALL_PROCEEDINGpduAct(uniCALL_PROCEEDINGpdu *message_,
                                              pfProtocol *protocol_);

        virtual void uniT303timeoutAct(pfProtocol *protocol_);
        
    protected:
        uniNetworkCallPresent(void);
        virtual ~uniNetworkCallPresent(void);

    private:
        static uniNetworkCallPresent *_only;
};

#endif // __UNI_UNISTATE_N6_H__


