#ifndef MESSAGEEXECUTOR_H
#define MESSAGEEXECUTOR_H
#include <stdlib.h>
#include "Message.h"
#include "Connector.h"
/**
 * Message Executor Executes messages
 * MessageExecutor will call upon the XML Parser to parse the message into treeNode structure. The message executor will recognize the various messages sent by the configurator and execute them. Message Includes:
 *                o Patch Connections
 *                o Unpatch Connections
 *                o Disconnect Connections
 *                o Update - get the current status of the system. 
 */
class MessageExecutor {
	public:
	/**
	 * Empty Constructor
	 * */
	MessageExecutor();
	/**
	 * execute a message using the current Connector in the 
	 * ConnectorSingleton.
	 * */
	void executeMessage(Message * m);
};
#endif
