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

Also available in: Atom PDF