#ifndef _REMOTEAGENTCOMMAND_H
#define _REMOTEAGENTCOMMAND_H

#include "MessageQueue.h"
#include <string.h>

class RemoteAgentCommand : public MessageQueue {
 public:
    enum RemoteAgentCommands {
	None = 0,
	RequestCommand
    };

    struct Command {
	RemoteAgentCommands cmd;
	
	short _mm;
	short _tt;
	short _p;

	Command( )
	{ cmd = None; };
       
	Command(short mmtype, short timeType, short period) {
	    cmd = RequestCommand;
	    _mm = mmtype;
	    _tt = timeType;
	    _p = period;
	};
    };

    RemoteAgentCommand( MessageQueue::Access access = NoAccess );
    ~RemoteAgentCommand();

    int read( Command *cmd );
    int write( Command *cmd );

 protected:

 private:

};

#endif
