blob: 6518117abab5b7cb94500757ea37cbcd212e382a [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
Alexander Afanasyev18bbf812014-01-29 01:40:23 -08009namespace nfd {
Junxiao Shi32bfeb32014-01-25 18:22:02 -070010
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
Alexander Afanasyev18bbf812014-01-29 01:40:23 -080052} //namespace nfd