#ifndef TSTATUSCONTROL_AMCS_H
#define TSTATUSCONTROL_AMCS_H
#include "tconnection_amcs.hpp"
#include "tmessages_amcs.hpp"
#include "tvsp_amcs.hpp"

#include <sys/socket.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <string>
#include <unistd.h>
#include <iostream>
#include <netinet/in.h>

class TStatusControl_AMCS{
public:
	
	//Attributes Declaration
	TConnection_AMCS amcsConnection;
	TClientAMCS clientBulletinAndEvent;
	TVSP_AMCS vspSettings;	
	int timeoutAMCSMultiplier;
	
	
    	TStatusControl_AMCS();

    	~TStatusControl_AMCS();

	//Launch method
	//this is used to launch the object and sequence of process
	bool Launch();

	//Status Monitor Method
	//Method responsible for checking periodically the bulletin and send appropriate messages
	bool statusMonitor(int i);
	
	
};

#endif
