//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: gsmpprimitives.h
//
//Version: $Revision: 1.4 $
//
//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
//      primitives, 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_GSMPPRIMITIVES_H__
#define __GSMP_GSMPPRIMITIVES_H__

#include "pf/transp.h"
#include "gsmpprotocol.h"

//
// Class: gsmpStartAdjacencyProtocol
//
// Description:
//     Starts the accepting Adjacency Protocol 
//     

class gsmpStartAdjacencyProtocol : public pfTransporter
{
    public:
        static gsmpStartAdjacencyProtocol *
        createGsmpStartAdjacencyProtocol(void);

        gsmpStartAdjacencyProtocol(const gsmpStartAdjacencyProtocol &other);

        virtual ~gsmpStartAdjacencyProtocol(void);

        gsmpStartAdjacencyProtocol *clone(void) const;

        void atProtocol(pfProtocol *const protocol_,
                        pfState *state_);
    protected:
        gsmpStartAdjacencyProtocol(void);
};

#endif // __GSMP_GSMPPRIMITIVES_H__
