
#ifndef CLIENT_MART_H
#define CLIENT_MART_H

#include <ptime.h>
#include <pasync.h>
#include <string>

USING_PTYPES

class Thread_Client_Mart: public thread
{
   protected:
      char *ip_terra;
      int port_terra;
      std::string tasca;
      char *emergencia;
      virtual void execute();
   public:
      //Thread_Client_Mart(char *ipTerra, int portTerra, const std::string &feina);
      Thread_Client_Mart(char *ipTerra, int portTerra, const std::string &feina, char *alarma);
      ~Thread_Client_Mart()  { }
};

#endif
