This module defines the IncomingFaceId class which represents the incoming face ID header field in an NDNLPv2 packet. http://redmine.named-data.net/projects/nfd/wiki/NDNLPv2
Bases: object
Get the first header field in lpPacket which is an IncomingFaceId. This is an internal method which the application normally would not use.
Parameters: | lpPacket (LpPacket) – The LpPacket with the header fields to search. |
---|---|
Returns: | The first IncomingFaceId header field, or None if not found. |
Return type: | IncomingFaceId |
This module defines the LpPacket class which represents an NDNLPv2 packet including header fields an an optional fragment. This is an internal class which the application normally would not use. http://redmine.named-data.net/projects/nfd/wiki/NDNLPv2
Bases: object
Add a header field. To add the fragment, use setFragmentWireEncoding().
Parameters: | headerField (object) – The header field to add. |
---|
Get the number of header fields. This does not include the fragment.
Returns: | The number of header fields. |
---|---|
Return type: | int |
Get the fragment wire encoding.
Returns: | The wire encoding, or an isNull Blob if not specified. |
---|---|
Return type: | Blob |