/* Name: EthernetProps.cpp Created: 29/10/2019 09:20:31 Author: Marie Faure Editor: https://github.com/fauresystems License: MIT License (c) Marie Faure Class Props for Arduino with Ethernet shield. */ #include "EthernetProps.h" EthernetProps::EthernetProps(const char* client_id, const char* in_box, const char* out_box, const char* broker, const int port) : Props(client_id, in_box, out_box, broker, port) { _client.setClient(_ethernetClient); } void EthernetProps::begin(void(*on_message)(String)) { if (on_message) onInboxMessageReceived = on_message; }