//Editor-Info: -*- C++ -*-
//
//Subject: TOVE-project / UNI-SSCF
//
//File: usscfstate4_10.h
//
//Version: $Revision: 1.9 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/03/11 18:54:56 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications and Multimedia
//
//Author:
//      Vesa-Matti Puro
//
//Description:
//      Contains definition of the state
//      4/10 (Connection Established/Data Transfer Ready)
//      of the UNI-SSCF state machine 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 __USSCF_USSCFSTATE4_10_H__
#define __USSCF_USSCFSTATE4_10_H__

#include "usscfstate.h"


class usscfConnectionEstablished_DataTransferReady : public usscfState
{
    public:
        static usscfConnectionEstablished_DataTransferReady *instance(void);
        
// Actions for incoming (U)AAL-primitives from above layer
        virtual void uaalESTABLISHreqAct(
            uaalESTABLISHreq *messenger_,
            pfProtocol *protocol_);
        virtual void uaalRELEASEreqAct(
            uaalRELEASEreq *messenger_,
            pfProtocol *protocol_);
        virtual void uaalDATAreqAct(
            uaalDATAreq *messenger_,
            pfProtocol *protocol_);

// Actions for incoming AA-signals from lower layer
        virtual void aaRELEASEindAct(aaRELEASEind *messenger_,
                                     pfProtocol *protocol_);
        virtual void aaDATAindAct(aaDATAind *messenger_,
                                    pfProtocol *protocol_);
        virtual void aaRESYNCindAct(aaRESYNCind *messenger_,
                                    pfProtocol *protocol_);
        virtual void aaRECOVERindAct(aaRECOVERind *messenger_,
                                     pfProtocol *protocol_);

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

    private:
        static usscfConnectionEstablished_DataTransferReady *_only;
};

#endif // __USSCF_USSCFSTATE4_10_H__

