Class: IncomingFaceId

IncomingFaceId

new IncomingFaceId()

IncomingFaceId represents the incoming face ID header field in an NDNLPv2 packet. http://redmine.named-data.net/projects/nfd/wiki/NDNLPv2
Source:

Methods

(static) getFirstHeader(lpPacket) → {IncomingFaceId}

Get the first header field in lpPacket which is an IncomingFaceId. This is an internal method which the application normally would not use.
Parameters:
Name Type Description
lpPacket LpPacket The LpPacket with the header fields to search.
Source:
Returns:
The first IncomingFaceId header field, or null if not found.
Type
IncomingFaceId

getFaceId() → {number}

Get the incoming face ID value.
Source:
Returns:
The face ID value.
Type
number

setFaceId(faceId)

Set the face ID value.
Parameters:
Name Type Description
faceId number The incoming face ID value.
Source: