//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / testing/mgmtswitch
//
//File: mgmttest.h
//
//Version: $Revision: 1.2 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/07/03 12:11:55 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Timo Kokkonen
//
//Description:
//      Class for testing mgmt
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History:
//
#ifndef __TESTING_MGMT_H__
#define __TESTING_MGMT_H__

#include <typeinfo>
#include <string>
#include "pf/types.h"
#include "mgmt/mgmtdelegationbase.h"

class mgmtTest : public mgmtDelegationBase
{
    public:
        mgmtTest(void);
        virtual ~mgmtTest(void);

        virtual string receiveGet(const string &name_);
        virtual void receiveSet(const string &name_, const string &value_);
        virtual void receiveExecute(mgmtCommand &command_);

        void createOB_(void);

        void registerToNameService_(string name_);
        void unRegisterToNameService_(void);
        void registerToOther_(string name_);
        void unRegisterToOther_(void);
};
#endif //__TESTING_MGMT__
