blob: 1aa51842914d2eaa86f24c063bbc470f616ccc0f [file] [log] [blame]
Junxiao Shi32bfeb32014-01-25 18:22:02 -07001/* -*- 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 "face.hpp"
8
9namespace ndn {
10
11Face::Face(FaceId id)
12 : m_id(id)
13{
14}
15
16Face::~Face()
17{
18}
19
20bool
21Face::isUp() const
22{
23 return true;
24}
25
26void
27Face::setDescription(const std::string& description)
28{
29 m_description = description;
30}
31
32const std::string&
33Face::getDescription() const
34{
35 return m_description;
36}
37
38bool
39Face::isMultiAccess() const
40{
41 return false;
42}
43
44bool
45Face::isLocalControlHeaderEnabled() const
46{
47 // TODO add local control header functionality
48 return false;
49}
50
51
52} //namespace ndn