Project

General

Profile

Actions

Task #3088

closed

Refactor Face as LinkService+Transport

Added by Junxiao Shi over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
5.00 h

Description

Refactor Face to support NDNLPv2 link service and permanent faces.

High-level design: https://gist.github.com/yoursunny/22a7d53711b4e9bc198a

This issue implements:

  • LinkService and Transport base classes
  • minimal GenericLinkService that only does Interest/Data/Nack <=> LpPacket encoding and decoding
  • non-inheritable Face class that combines a LinkService and a Transport; to avoid conflicts with old nfd::Face, this class is temporarily named LpFace
  • sendNack method and onReceiveNack signal on old nfd::Face, so that forwarding can use them; in nfd::Face base class, these do nothing
  • LpFaceWrapper class which is an adapter that inherits from old nfd::Face but wraps an LpFace

This is an initial step toward a Face that supports NDNLPv2 and full-featured permanent face.


Files

IMG_20150825_234945754.jpg (3 MB) IMG_20150825_234945754.jpg Unicast Logic Eric Newberry, 08/25/2015 11:53 PM
IMG_20150825_234955350.jpg (2.99 MB) IMG_20150825_234955350.jpg Multicast Logic Eric Newberry, 08/25/2015 11:54 PM

Related issues 11 (0 open11 closed)

Related to NFD - Feature #2222: NDNLPv2 design: link serviceClosedJunxiao Shi

Actions
Blocks NFD - Feature #3104: NDNLPv2: GenericLinkService encoding/decodingClosedEric Newberry

Actions
Blocks NFD - Feature #3156: NACK in forwarding and best-routeClosedJunxiao Shi

Actions
Blocks NFD - Feature #3165: UnixStreamTransportClosedYukai Tu

Actions
Blocks NFD - Feature #3166: TcpTransportClosedYukai Tu

Actions
Blocks NFD - Feature #3168: UdpTransportClosedYukai Tu

Actions
Blocks NFD - Feature #3169: WebSocketTransportClosedYukai Tu

Actions
Blocks NFD - Feature #3170: EthernetTransportClosedDavide Pesavento

Actions
Blocks NFD - Feature #3177: LpFace countersClosedJunxiao Shi

Actions
Blocks NFD - Feature #3179: EndpointIdClosedJunxiao Shi

Actions
Blocks NFD - Task #3225: Refactor InternalFaceClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF