1#ifndef ESP8266NDN_UNIX_TIME_HPP
2#define ESP8266NDN_UNIX_TIME_HPP
4#include "../port/port.hpp"
30 void begin(
int interval = 60000);
40 ndnph::port::Clock::Time m_lastRequest;
41 ndnph::port::Clock::Time m_nextRequest;
Retrieve and maintain UnixTime clock.
Definition unix-time.hpp:22
void loop() final
Override to be invoked periodically.
bool processData(ndnph::Data data) final
Override to receive Data packets.
UnixTime(ndnph::Face &face)
void begin(int interval=60000)
Enable UnixTime requests.
Network layer face.
Definition face.hpp:12
Helper to keep track an outgoing pending Interest.
Definition packet-handler.hpp:125
Base class to receive packets from Face.
Definition packet-handler.hpp:10
Definition autoconfig.hpp:24