face: Implementing Face::getUri() method

Change-Id: I9a9f774b95784e5b7ec75472f1cc6cf64c4e5d7b
Refs: #1319
This commit is contained in:
Alexander Afanasyev committed 2014-03-06 09:25:06 +00:00
1 parent 61e3cc51ed
commit a39b90b2aa
18 files changed
+224 -39

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ NFD_LOG_INCLASS_2TEMPLATE_SPECIALIZATION_DEFINE(StreamFace,
"UnixStreamFace");
UnixStreamFace::UnixStreamFace(const shared_ptr<UnixStreamFace::protocol::socket>& socket)
: StreamFace<protocol, LocalFace>(socket)
: StreamFace<protocol, LocalFace>(FaceUri(socket->local_endpoint()), socket)
{
}