Project

General

Profile

Actions

Task #1153

closed

abstract Face class

Added by Junxiao Shi almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Faces
Target version:
Start date:
01/25/2014
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

Define the abstract Face class, which includes these APIs:

EventEmitter<shared_ptr<Interest>,shared_ptr<LocalControlHeader> > didReceiveInterest;
EventEmitter<shared_ptr<Data>,shared_ptr<LocalControlHeader> > didReceiveData;
void SendInterest(shared_ptr<Interest>,shared_ptr<LocalControlHeader>);
void SendData(shared_ptr<Data>,shared_ptr<LocalControlHeader>);
bool isUp(); //in base class: returns true
void setDescription(const std::string&);
const std::string& getDescription();
bool isMultiAccess(); //in base class: returns false
bool isLocalControlHeaderEnabled(); //in base class: returns false

All methods are virtual.


Related issues 1 (0 open1 closed)

Precedes NFD - Task #1133: Mock implementation of TCP faceClosedAlex Afanasyev01/26/201401/26/2014

Actions
Actions #1

Updated by Junxiao Shi almost 11 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Junxiao Shi almost 11 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi almost 11 years ago

  • Status changed from Resolved to Closed
Actions #4

Updated by Junxiao Shi almost 11 years ago

  • Category set to Faces
Actions

Also available in: Atom PDF