//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / ILMI protocol
//
//File: ilmiarstate_poll.h
//
//Version: $Revision: 1.3 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/07/09 13:09:07 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Timo Pärnänen
//
//Description:
//      Definitions for ILMI Address Registraton
//      Poll state.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __ILMI_AR_STATE_POLL_H__
#define __ILMI_AR_STATE_POLL_H__

#include "ilmiarstate.h"

//
//Class: ilmiARState_Poll
//
//Description:
//    
//

class ilmiARState_Poll : public ilmiARState
{
    public:
        // singleton
        static ilmiARState_Poll *instance(void);

        virtual void listPrefixes(ilmiAddressRegistration *protocol_,
                                  mgmtCommand &command_);

        virtual void receiveGetResponse(ilmiAddressRegistration *protocol_,
                                        PDUInt &errorStatus_,
                                        AsnInt &errorIndex_,
                                        VarBindList &list_);

        virtual void ilmiARresponseTimeoutAct(
            ilmiAddressRegistration *protocol_);

    protected:
        ilmiARState_Poll(void);
        virtual ~ilmiARState_Poll(void);
        
    private:
        // singleton
        static ilmiARState_Poll *_only;
};

#endif // __ILMI_AR_STATE_POLL_H__
