22 #ifndef NDN_ARDUINO_YUN_TRANSPORT_LITE_HPP
23 #define NDN_ARDUINO_YUN_TRANSPORT_LITE_HPP
27 #include <YunClient.h>
28 #include "../../c/common.h"
29 #include "../../c/errors.h"
30 #include "../../c/encoding/element-reader-types.h"
31 #include "../util/dynamic-uint8-array-lite.hpp"
32 #include "../encoding/element-listener-lite.hpp"
41 class ArduinoYunTcpTransportLite {
54 ArduinoYunTcpTransportLite(DynamicUInt8ArrayLite& buffer);
68 connect(
const char* host,
int port, ElementListenerLite& elementListener);
77 send(
const uint8_t* data,
size_t dataLength);
94 processEvents(uint8_t *buffer,
size_t bufferLength);
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
A ndn_ElementReader lets you call ndn_ElementReader_onReceivedData multiple times which uses an ndn_T...
Definition: element-reader-types.h:59