//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / NNI SSCF protocol
//
//File: nsscfstate1_4_1.h
//
//Version: $Revision: 1.5 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/05/26 14:29:50 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications and Multimedia
//
//Author:
//      Juhana Räsänen
//
//Description:
//      State class definition for NNI-SSCF state machine state
//      1/4/1 (Out of Service/Outgoing Disconnection Pending) as
//      defined in Q.2140 p. 20
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History:
 

#ifndef __NSSCFSTATE1_4_1_H__
#define __NSSCFSTATE1_4_1_H__

#include "nsscfstate.h"


//
// Class: nsscfOutOfService_OutgoingDisconnectionPending
//
// Description:
//     This is the NNI-SSCF state machine state 1/4/1 (Out of Service/
//     Outgoing Disconnection Pending) class as defined in Q.2140 p 20.
//     Actions defined in Q.2140 SDL diagrams for this state are defined
//     here, others are inherited from the NNI-SSCF base state (nsscfState).
//

class nsscfOutOfService_OutgoingDisconnectionPending : public nsscfState
{
    public:
        static nsscfOutOfService_OutgoingDisconnectionPending *instance(void);
        
        // Actions for incoming (N)AAL-primitives from above layer
        virtual void naalSTARTreqAct(
            naalSTARTreq *messenger_,
            pfProtocol *protocol_);
        virtual void naalRETRIEVE_BSNTreqAct(
            naalRETRIEVE_BSNTreq *messenger_,
            pfProtocol *protocol_);
        virtual void naalRETRIEVAL_REQUEST_AND_FSNCreqAct(
            naalRETRIEVAL_REQUEST_AND_FSNCreq *messenger_,
            pfProtocol *protocol_);

        // Actions for incoming AA-signals from lower layer
        virtual void aaRELEASEconfAct(aaRELEASEconf *messenger_,
                                      pfProtocol *protocol_);
        virtual void aaRETRIEVEindAct(aaRETRIEVEind *messenger_,
                                      pfProtocol *protocol_);
        virtual void aaRETRIEVE_COMPLETEindAct(
            aaRETRIEVE_COMPLETEind *messenger_,
            pfProtocol *protocol_);

    protected:
        nsscfOutOfService_OutgoingDisconnectionPending(void);
        virtual ~nsscfOutOfService_OutgoingDisconnectionPending(void);

    private:
        static nsscfOutOfService_OutgoingDisconnectionPending *_only;
};


#endif // __NSSCFSTATE1_4_1_H__

