//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project/CC
//
//File: ccostate_sendcall.h
//
//Version: $Revision: 1.8 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/06/11 15:29:34 $
//
//Organisation:
//      University of Technology
// 
//Author:
//      Pasi Nummisalo
//
//Description:
//     Function: send an indication of the desire to set up a
//     call to the specified Called Party ID in the terminating
//     call portion.
//
//Copyright:
//     University of Technology
//     Laboratory of Telecommunications and Multimedia 
//      
//Licence:
//     
//
//History:
//

#ifndef __CC_O_STATE_SENDCALL_H__
#define __CC_O_STATE_SENDCALL_H__

#include "ccostate.h"

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

        void proceed(ccProtocol *protocol_);
        
        virtual void ccALERTINGpduAct(ccALERTINGpdu *messenger_,
                                      ccProtocol *protocol_);
        
        virtual void ccSETUPpduAct(ccSETUPpdu *messenger_,
                                   ccProtocol *protocol_);
        
        virtual void ccRELEASEpduAct(ccRELEASEpdu *release_,
                                     ccProtocol *protocol_);
      
    protected:
        ccOstateSendCall(void);
        virtual ~ccOstateSendCall(void);

        void sendSetup(ccProtocol *protocol_);
        
    private:
        static ccOstateSendCall *_only;
};

#endif // __CC_O_STATE_SENDCALL_H__


