#ifndef _REMOTEAGENTSERVER_H
#define _REMOTEAGENTSERVER_H

#include "RemoteAgentIF_SK.h"
#include "RemoteAgentCommand.h"
#include "RemoteAgentOutput.h"

class RemoteAgentServer : public RemoteAgentIF_SK {

 public:

    RemoteAgentServer();
    virtual ~RemoteAgentServer();

    ////////////////////////////////////////////////////////////
    // Sets the debug level
    // Writes higher then this will actually be sent
    void setDebugLevel(short lev);
    
    ///////////////////////////////////////////////////////////
    // Gets the current debug level
    short getDebugLevel();

    void requestCommand(short mmtype, short timeType, short period);
    
    void poinkerCommand(char * j);

    void reregisterServer();

 protected:


 private:

    RemoteAgentCommand *_command;
    RemoteAgentOutput *_output;
    RemoteAgentOutput::Data *_data;

};

#endif
