//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / ILMI
//
//File: ilmicommand.h
//
//Version: $Revision: 1.5 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/10/20 13:03:13 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Timo Pärnänen
//
//Description:
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __ILMI_COMMAND_H__
#define __ILMI_COMMAND_H__

#include <typeinfo>
#include <string>
#include <asn-incl.h>

#include "pf/types.h"

#include "asn/rfc1155-smi.h"
#include "asn/rfc1157-snmp.h"

//
//Class: ilmiCommand
//
//Description:
//

class ilmiCommand
{
    public:
        ilmiCommand(void);
        ilmiCommand(const ilmiCommand &other_);

        // TARVITAANKO ?
        virtual ~ilmiCommand(void);
        
        VarBind *append(void);
        VarBindList &getVarBindList(void) const;

        virtual void response(PDUInt &errorStatus_,
                              AsnInt &errorIndex_,
                              VarBindList &list_) = 0;
        
    protected:
        
        AsnInt _requestID;
        VarBindList _list;
};

#endif // __ILMI_COMMAND_H__

