Project

General

Profile

Actions

Task #3278

closed

Refactor NullFace

Added by Junxiao Shi over 8 years ago. Updated over 8 years ago.

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

100%

Estimated time:
2.00 h

Description

Refactor NullFace to use LinkService+Transport structure.


Related issues 1 (0 open1 closed)

Blocks NFD - Task #3172: Refactor Face: completionClosedJunxiao Shi

Actions
Actions #1

Updated by Junxiao Shi over 8 years ago

  • Assignee set to Junxiao Shi

The optimal implementation would be to create a LinkService that discards all outgoing packets, and use it with a dummy Transport.

However, since NullFace is not performance critical, I plan to keep it simple: use GenericLinkService with InternalForwarderTransport.

When InternalForwarderTransport is not connected to another InternalTransportBase subclass, it discards all outgoing packets.
The overhead in this approach is that GenericLinkService would still perform packet encoding, etc.

Actions #2

Updated by Junxiao Shi over 8 years ago

  • Blocks Task #3172: Refactor Face: completion added
Actions #3

Updated by Junxiao Shi over 8 years ago

20151020 conference call approves note-1 design.

Beichuan suggests that in long term we should have a discard-all LinkService.

Actions #4

Updated by Junxiao Shi over 8 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Junxiao Shi over 8 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #6

Updated by Junxiao Shi over 8 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF