blob: 2753f570382407d40382df37737bdaf4584c0119 [file] [log] [blame]
Davide Pesaventobc4dd8c2014-02-14 20:01:01 +01001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (C) 2014 Named Data Networking Project
4 * See COPYING for copyright and distribution information.
5 */
6
7#include "unix-stream-face.hpp"
8
9namespace nfd {
10
11// The whole purpose of this file is to specialize the logger,
12// otherwise, everything could be put into the header file.
13
Alexander Afanasyevbd220a02014-02-20 00:29:56 -080014NFD_LOG_INCLASS_2TEMPLATE_SPECIALIZATION_DEFINE(StreamFace,
15 UnixStreamFace::protocol, LocalFace,
16 "UnixStreamFace");
Davide Pesaventobc4dd8c2014-02-14 20:01:01 +010017
18UnixStreamFace::UnixStreamFace(const shared_ptr<UnixStreamFace::protocol::socket>& socket)
Alexander Afanasyev355c0662014-03-20 18:08:17 -070019 : StreamFace<protocol, LocalFace>(FaceUri(socket->local_endpoint()), socket, true)
Davide Pesaventobc4dd8c2014-02-14 20:01:01 +010020{
21}
22
Davide Pesaventobc4dd8c2014-02-14 20:01:01 +010023} // namespace nfd