//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / SCCP protocol
//
//File: sccpstate_sclc_idle.h
//
//Version: $Revision: 1.3 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/02/05 12:45:25 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Timo Pärnänen
//
//Description:
//      Class definition for SCCP connectionless block (SCLC)
//      idle state (only state).
//
//Copyright:
//
//
//Licence:
//
//
//History: 

#ifndef __SCCP_STATE_SCLC_IDLE_H__
#define __SCCP_STATE_SCLC_IDLE_H__

#include "sccpstate.h"

class pfProtocol;

//
//Class: sccp_SCLC_Idle
//
//Description:
//    See file description.
//

class sccp_SCLC_Idle : public sccpState
{
    public:
        // singleton
        static sccp_SCLC_Idle *instance(void);

        // pdu inputs
        virtual void sccpUDTpduAct(sccpUDTpdu *messenger_,
                                   pfProtocol *protocol_);
        
        // primitives from upper layer
        virtual void sccpN_UNITDATAreqAct(sccpN_UNITDATAreq *messenger_,
                                          pfProtocol *protocol_);
                
    protected:
        sccp_SCLC_Idle(void);
        virtual ~sccp_SCLC_Idle(void);

    private:
        // singleton
        static sccp_SCLC_Idle *_only;
 
};

#endif // __SCCP_STATE_SCLC_IDLE_H__

