31 Face::Face(unique_ptr<LinkService> service, unique_ptr<Transport> transport)
32 : afterReceiveInterest(service->afterReceiveInterest)
33 , afterReceiveData(service->afterReceiveData)
34 , afterReceiveNack(service->afterReceiveNack)
35 , afterStateChange(transport->afterStateChange)
37 , m_service(
std::move(service))
38 , m_transport(
std::move(transport))
39 , m_counters(m_service->getCounters(), m_transport->getCounters())
41 m_service->setFaceAndTransport(*
this, *m_transport);
42 m_transport->setFaceAndLinkService(*
this, *m_service);
46 operator<<(std::ostream& os, const FaceLogHelper<Face>& flh)
48 const Face& face = flh.obj;
FaceUri getRemoteUri() const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
generalization of a network interface
FaceUri getLocalUri() const
Face(unique_ptr< LinkService > service, unique_ptr< Transport > transport)
const FaceId INVALID_FACEID
indicates an invalid FaceId