MQTT
MQTTEthernet.h
- Committer:
- Ian Craggs
- Date:
- 2017-11-02
- Revision:
- 59:9cff7b6bbd01
- Parent:
- 54:ff9e5c4b52d0
File content as of revision 59:9cff7b6bbd01:
#if !defined(MQTTETHERNET_H)
#define MQTTETHERNET_H
#include "MQTTmbed.h"
#include "EthernetInterface.h"
#include "MQTTSocket.h"
class MQTTEthernet : public MQTTSocket
{
public:
MQTTEthernet() : MQTTSocket(ð)
{
eth.connect();
}
EthernetInterface& getEth()
{
return eth;
}
private:
EthernetInterface eth;
};
#endif