Project

General

Profile

Actions

Task #1250

closed

Face close method

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

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

100%

Estimated time:
3.00 h

Description

Add a void Face::close() method to Face class.

When close is invoked, the Face

  • deregisters itself from Forwarder class
  • stops receiving packets
  • stops accepting new packets for transmission
  • continues to send packets already scheduled for transmission

After all packets scheduled for transmission are sent (or are failed to send), the Face

  • deregisters itself from the channel
  • cleans up kernel resources (such as file descriptor)

Related issues 1 (0 open1 closed)

Blocks NFD - Task #1195: FaceManagerClosed

Actions
Actions

Also available in: Atom PDF