Files
NFD/daemon/face/tcp-face.cpp
T
Davide Pesavento bc4dd8c812 face: UnixStream{Face,Channel,ChannelFactory} implementation.
refs: #1174

Change-Id: I14d1e357c96a02995355e7970323fe40847580aa
2014-02-17 23:03:06 +01:00

22 lines
570 B
C++

/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (C) 2014 Named Data Networking Project
* See COPYING for copyright and distribution information.
*/
#include "tcp-face.hpp"
namespace nfd {
// The whole purpose of this file is to specialize the logger,
// otherwise, everything could be put into the header file.
NFD_LOG_INCLASS_TEMPLATE_SPECIALIZATION_DEFINE(StreamFace, TcpFace::protocol, "TcpFace");
TcpFace::TcpFace(const shared_ptr<TcpFace::protocol::socket>& socket)
: StreamFace<protocol>(socket)
{
}
} // namespace nfd