//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: gsmpinternalmessages.h
//
//Version: $Revision: 1.3 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/06/18 05:21:57 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Harri Sunila
//
//Description:
//      Definition of gsmpLinkEstablished and gsmpLinkNotEstablished messages
//      which controls the state machine of GSMP. 
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __GSMP_GSMPINTERNALMESSAGES_H__
#define __GSMP_GSMPINTERNALMESSAGES_H__

#include "gsmpmessage.h"

//
// Class: gsmpLinkEstablished
//
// Description:
//     

class gsmpLinkEstablished : public gsmpMessage
{
    public:
        gsmpLinkEstablished(void);
        gsmpLinkEstablished(const gsmpLinkEstablished &other);
        virtual ~gsmpLinkEstablished(void);

        virtual gsmpLinkEstablished *clone(void);

        void apply(pfState *state_, pfProtocol *protocol_);

        virtual void decodeFrame(pfFrame &frame_);
        virtual pfFrame encodeFrame(void);
};

//
// Class: gsmpLinkNotEstablished
//
// Description:
//     

class gsmpLinkNotEstablished : public gsmpMessage
{
    public:
        gsmpLinkNotEstablished(void);
        gsmpLinkNotEstablished(const gsmpLinkNotEstablished &other);
        virtual ~gsmpLinkNotEstablished(void);

        gsmpLinkNotEstablished *clone(void);

        void apply(pfState *state_, pfProtocol *protocol_);

        virtual void decodeFrame(pfFrame &frame_);
        virtual pfFrame encodeFrame(void);
};

#endif // __GSMP_GSMPINTERNALMESSAGES_H__







