//Editor-Info: -*- C++ -*-
//
//Subject:
//
//File:
//
//Version: $Revision: 1.2 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/03/08 07:42:31 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//
//Description:
//      Some protocols need special release collision handling (ISUP).
//      This state is needed, when both sides have sent RELEASE messages
//      at the same time.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __BISUP_BISUPSTATE_RELCOLLISION_H__
#define __BISUP_BISUPSTATE_RELCOLLISION_H__

#include "bisupstate.h"

class bisupRELCollision : public bisupState
{
    public:
        static bisupRELCollision *instance(void);
        
        virtual void sigRELEASErespAct(
            sigRELEASEresp *primitive_,
            pfProtocol *protocol_);

        virtual void nniRLCpduAct(
            nniRLCpdu *primitive_,
            pfProtocol *protocol_);

        virtual void bisupT1bTimeoutAct(
            pfProtocol *protocol_);
        
    protected:
        bisupRELCollision(void);
        virtual ~bisupRELCollision(void);
        
    private:
        static bisupRELCollision *_only;
};

#endif // __BISUP_BISUPSTATE_RELCOLLISION_H__
