[Nfd-dev] LINK spec discussion

Wentao Shang wentaoshang at gmail.com
Sun Sep 14 15:09:23 PDT 2014


On Sun, Sep 14, 2014 at 3:06 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> 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.
>

Yes, that's a better way to phrase it. Thanks for clarification.

Wentao


>
> 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
>>
>>


-- 
PhD @ IRL, CSD, UCLA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140914/e53f5ee7/attachment.html>


More information about the Nfd-dev mailing list