32 "UnixStreamTransport");
38 std::is_same<std::remove_cv<protocol::socket::native_handle_type>::type,
int>::value,
39 "The native handle type for UnixStreamTransport sockets must be 'int'" 44 this->
setScope(ndn::nfd::FACE_SCOPE_LOCAL);
46 this->
setLinkType(ndn::nfd::LINK_TYPE_POINT_TO_POINT);
void setLocalUri(const FaceUri &uri)
void setScope(ndn::nfd::FaceScope scope)
const ssize_t MTU_UNLIMITED
indicates the transport has no limit on payload size
boost::asio::local::stream_protocol protocol
Implements Transport for stream-based protocols.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
#define NFD_LOG_FACE_INFO(msg)
Log a message at INFO level.
#define NFD_LOG_INCLASS_TEMPLATE_SPECIALIZATION_DEFINE(cls, specialization, name)
void setLinkType(ndn::nfd::LinkType linkType)
void setPersistency(ndn::nfd::FacePersistency newPersistency)
changes face persistency setting
void setRemoteUri(const FaceUri &uri)
UnixStreamTransport(protocol::socket &&socket)
protocol::socket m_socket