| Package | Description |
|---|---|
| net.named_data.jndn |
| Modifier and Type | Method and Description |
|---|---|
static NetworkNack |
NetworkNack.getFirstHeader(LpPacket lpPacket)
Get the first header field in lpPacket which is a NetworkNack.
|
NetworkNack |
NetworkNack.setOtherReasonCode(int otherReasonCode)
Set the packet's reason code to use when the reason enum is
Reason.OTHER_CODE.
|
NetworkNack |
NetworkNack.setReason(NetworkNack.Reason reason)
Set the network Nack reason.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OnNetworkNack.onNetworkNack(Interest interest,
NetworkNack networkNack)
When a network Nack packet is received, onNetworkNack is called.
|
void |
Node.putNack(Interest interest,
NetworkNack networkNack)
The OnInterest callback can call this to put a Nack for the received Interest.
|
void |
Face.putNack(Interest interest,
NetworkNack networkNack)
The OnInterest callback can call this to put a Nack for the received Interest.
|
Copyright © 2019. All rights reserved.