Get the first header field in lpPacket which is a NetworkNack.
This is an internal method which the application normally would not use.
- Parameters
-
lpPacket | The LpPacket with the header fields to search. |
- Returns
- The first NetworkNack header field, or null if not found.
int ndn::NetworkNack::getOtherReasonCode |
( |
| ) |
const |
|
inline |
Get the reason code from the packet which is other than a recognized Reason enum value.
This is only meaningful if getReason() is ndn_NetworkNackReason_OTHER_CODE.
- Returns
- The reason code.
ndn_NetworkNackReason ndn::NetworkNack::getReason |
( |
| ) |
const |
|
inline |
Get the network Nack reason.
- Returns
- The reason enum value. If this is ndn_NetworkNackReason_OTHER_CODE, then call getOtherReasonCode() to get the unrecognized reason code.
Clear this NetworkNack, and set the values by copying from networkNackLite.
- Parameters
-
The documentation for this class was generated from the following files: