question on get the whole FE object LFB?

Jia Fenggen <[email protected]>
Newsgroups gmane.ietf.forces
Message-ID <[email protected]>
In draft-forces-portocol-8.txt Appendix D use case section,the 19 use case 
is about how to get a whole LFB,it uses FE object LFB as a example: 
Get a whole LFB (all its attributes, etc.).

For example:  at startup a CE might well want the entire FE
           OBJECT LFB.  So, in a request targeted at class 1, instance
           1, one might find:



   operation = GET-TLV
           Path-data-TLV
                   flags = 0  IDCount = 0

   result:
   operation = GET-RESPONSE-TLV
           Path-data-TLV
                   flags = 0  IDCount = 0
                   FULLDATA encoding of the FE Object LFB
here it uses FULLDATA to encoding the FE Object LFB,I think it's probably 
not correct,in FE Object LFB we have several variable arrays and when 
encoding in FULLDATA,the CE may not figure out what is the ending of a 
array,I think we could use flat Path data encoding or Nested Path data 
encoding to solve this like follows:
Flat path data:
operation = GET-RESPONSE-TLV
     Path-data-TLV
       flags = 0  IDCount = 1 IDs=1
       FULLDATA TLV, Length = XXXX, V = FULLDATA encoding of element 1
     Path-data-TLV
       flags = 0  IDCount = 1 IDs=2
       FULLDATA TLV, Length = XXXX, V = FULLDATA encoding of element 2
     Path-data-TLV
       flags = 0  IDCount = 1 IDs=3 
       FULLDATA TLV, Length = XXXX, V = FULLDATA encoding of element 3 
     ...
Nested path data:
operation = GET-RESPONSE-TLV
      Path-data-TLV
         flags = 0  IDCount = 0
         Path-data-TLV
            flags = 0  IDCount = 1 IDs=1 
            FULLDATA TLV, Length = XXXX, V = FULLDATA encoding of element 1
         Path-data-TLV
            flags = 0  IDCount = 1 IDs=2 
            FULLDATA TLV, Length = XXXX, V = FULLDATA encoding of element 2
         ...
am i misunderstand something?

Yours,Fenggen

_________________________________________________________________
浜ㄤ涓澶х靛欢绯荤 MSN Hotmail  http://www.hotmail.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.