Project

General

Profile

Actions

Bug #2555

closed

Emission semantics of Face::onSend(Interest|Data) is too vague

Added by Davide Pesavento over 9 years ago. Updated almost 9 years ago.

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

0%

Estimated time:

Description

Current doxygen says:

  /// fires when an Interest is sent out
  signal::Signal<Face, Interest> onSendInterest;

  /// fires when a Data is sent out
  signal::Signal<Face, Data> onSendData;

When are they emitted exactly?

  1. before attempting to send
  2. after the send operation has been scheduled
  3. when the result of the operation is known

(2 and 3 are indistinguishable if the send path is blocking/synchronous)

In the second and third cases, are the signals emitted only if the operation was successful or even in case of failure?

Actions

Also available in: Atom PDF