//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: unirsnprotocol.h
//
//Version: $Revision: 1.8 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/08/05 05:22:07 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Jari Pusa
//
//Description:
//
//
//Copyright:
//
//
//Licence:
//
//
//History: 

#ifndef __UNI_UNIRSNPROTOCOL_H__
#define __UNI_UNIRSNPROTOCOL_H__

#include "pf/protocol.h"
#include "pf/storage.h"

class uniRSNProtocol : public pfProtocol, public pfStorage
{
    public:
        static pfConduit create(void);

        uniRSNProtocol(const uniRSNProtocol &other_);
        virtual ~uniRSNProtocol(void);
        pfProtocol *cloneImplementation(void) const;

        void sendRESTARTpdu(void);
        void sendRESTARTpdu(pfStorage &storage_);
        void sendRESET_ERRORind(pfUlong reason_, pfUlong callState_);
        void sendRESETconf(void);
        
        virtual void changeToNullState(void);
        virtual void changeToRestartRequestState(void);
    private:
        uniRSNProtocol(void);
        
};

#endif // __UNI_UNIRSNPROTOCOL_H__
