[Nfd-dev] LINK spec discussion

Junxiao Shi shijunxiao at email.arizona.edu
Sun Sep 14 15:06:14 PDT 2014


Hi Wentao

"sub-type of Data packet" refers to a Data packet with a specific
ContentType.
http://named-data.net/doc/ndn-tlv/data.html#contenttype

It's more accurate to say: We define LINK as a Data packet with LINK as its
ContentType.

Yours, Junxiao

On Sun, Sep 14, 2014 at 2:55 PM, Wentao Shang <wentaoshang at gmail.com> wrote:

> I wasn't involved in the previous discussion and I have a quick question:
> the document says the LINK type will be a "sub-type of NDN DATA packet". Is
> the "sub-type" referring to implementation mechanism (i.e., Link class is
> inherited from Data class) or do we actually have some way to encode the
> "sub-type" relationship in the TLV format?
>
> I remember the type field is using flat number so not sure whether the
> latter is possible. If it is the former case, I don't think specifying
> implementation detail in the document is a good idea (what if the
> programming language doesn't support inheritance?).
>
> Wentao
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140914/8d892979/attachment.html>


More information about the Nfd-dev mailing list