26 #ifndef NFD_DAEMON_FACE_TRANSPORT_HPP    27 #define NFD_DAEMON_FACE_TRANSPORT_HPP    31 #include <ndn-cxx/encoding/nfd-constants.hpp>   167   getLinkService() 
const;
   174   virtual const Counters&
   212   getRemoteUri() 
const;
   222   getPersistency() 
const;
   271   getExpirationTime() 
const;
   275   setLocalUri(
const FaceUri& uri);
   278   setRemoteUri(
const FaceUri& uri);
   297   setState(TransportState newState);
   338   doSend(
Packet&& packet) = 0;
   349   TransportState m_state;
   416   return m_persistency;
   428   m_linkType = linkType;
   440   BOOST_ASSERT(mtu == MTU_UNLIMITED || mtu > 0);
   453   return m_expirationTime;
   459   m_expirationTime = expirationTime;
   463 operator<<(std::ostream& os, const FaceLogHelper<Transport>& flh);
   468 operator<<(std::ostream& os, const FaceLogHelper<T>& flh)
   470   return os << FaceLogHelper<Transport>(flh.obj);
   476 #endif // NFD_DAEMON_FACE_TRANSPORT_HPP 
void setExpirationTime(const time::steady_clock::TimePoint &expirationTime)
 
time::steady_clock::TimePoint getExpirationTime() const 
 
TransportCounters Counters
counters provided by Transport 
 
generalization of a network interface 
 
std::ostream & operator<<(std::ostream &os, const Face &face)
 
const ssize_t MTU_UNLIMITED
indicates the transport has no limit on payload size 
 
TransportState
indicates the state of a transport 
 
void setRemoteUri(const FaceUri &uri)
 
const ssize_t MTU_INVALID
(for internal use) indicates MTU field is unset 
 
ndn::nfd::LinkType getLinkType() const 
 
virtual const Counters & getCounters() const 
 
stores a packet along with the remote endpoint 
 
FaceUri getLocalUri() const 
 
counters provided by Transport 
 
PacketCounter nOutPackets
count of outgoing packets 
 
const LinkService * getLinkService() const 
 
Represents a TLV element of NDN packet format. 
 
void setLinkType(ndn::nfd::LinkType linkType)
 
represents a counter of number of packets 
 
ByteCounter nOutBytes
total outgoing bytes 
 
provides a lightweight signal / event system 
 
const Face * getFace() const 
 
the transport is being closed due to a failure 
 
void setScope(ndn::nfd::FaceScope scope)
 
ByteCounter nInBytes
total incoming bytes 
 
represents a counter of number of bytes 
 
Copyright (c) 2011-2015 Regents of the University of California. 
 
EndpointId remoteEndpoint
identifies the remote endpoint 
 
signal::Signal< Transport, TransportState, TransportState > afterStateChange
signals when transport state changes 
 
the transport is closed, and can be safely deallocated 
 
FaceUri getRemoteUri() const 
 
ndn::nfd::LinkType getLinkType(const std::string &ifName)
Obtain information about WiFi link type. 
 
void setLocalUri(const FaceUri &uri)
 
void close(T *e, websocketpp::connection_hdl hdl)
 
the transport is being closed gracefully, either by the peer or by a call to close() ...
 
represents the underlying protocol and address used by a Face 
 
TransportState getState() const 
 
the transport is up and can transmit packets 
 
PacketCounter nInPackets
count of incoming packets 
 
uint64_t EndpointId
identifies an endpoint on the link 
 
ndn::nfd::FaceScope getScope() const 
 
Block packet
the packet as a TLV block 
 
the transport is temporarily down, and is being recovered 
 
ndn::nfd::FacePersistency getPersistency() const