Actions
Task #1153
closedabstract Face class
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.
Actions