Class: NdnCommon

NdnCommon

new NdnCommon()

NdnCommon has static NDN utility methods and constants.
Source:

Members

(static) MAX_NDN_PACKET_SIZE

The practical limit of the size of a network-layer packet. If a packet is larger than this, the library or application MAY drop it. This constant is defined in this low-level class so that internal code can use it, but applications should use the static API method Face.getMaxNdnPacketSize() which is equivalent.
Source:

Methods

(static) getErrorWithStackTrace(error) → {string}

Get the error message plus its stack trace.
Parameters:
Name Type Description
error Error The error object.
Source:
Returns:
The error message, plus the stack trace with each line separated by '\n'.
Type
string