Page 1 of 1

CITP_MSEX_1.2_ELUp

Posted: Tue Jul 03, 2012 1:55 pm
by tomgr
Could you provide some illumination regarding the Element Update message, CITP_MSEX_1.2_ELUp, please? There looks to be ambiguity regarding the mix of LibraryId, AffectedElements and AffectedLibraries members of the structure.

Is the implied hierarchy of the structure members LibraryId, then the sub libraries of the referenced LibraryId, and then the elements of the flagged sub libraries? Or, are the AffectedElements member and the AffectedLibraries member at the same level of the implied hierarchy? I'm not quite sure how to sort which flagged elements apply to which flagged sublibrary.

Could you provide an example or three to clarify the intent and implementation of this message?

Thanks in advance.
tom

Re: CITP_MSEX_1.2_ELUp

Posted: Sat Jul 14, 2012 9:14 am
by lasso
tomgr wrote:Is the implied hierarchy of the structure members LibraryId, then the sub libraries of the referenced LibraryId, and then the elements of the flagged sub libraries? Or, are the AffectedElements member and the AffectedLibraries member at the same level of the implied hierarchy? I'm not quite sure how to sort which flagged elements apply to which flagged sublibrary.


The AffectedElements and AffectedLibraries are both a the same "level" immediately under LibraryId. That is, each library can contain both elements and libraries. I think this duality is what complects it a bit. Does that help?

Re: CITP_MSEX_1.2_ELUp

Posted: Tue Jul 17, 2012 1:05 pm
by tomgr
Then a LibraryId which contains elements (i.e. media files) but no sublibraries (i.e. subdirectories) would only ever have AffectedElements bits set and never AffectedLibraries bits set?

Not sure of the intent of the AffectedLibraries bit field. Is this intended to provide a hint to the client to dig deeper into the library structure for further changes?

Pardon my mental density, but some explicit intent my be helpful.

Thanks in advance.
tom

Re: CITP_MSEX_1.2_ELUp

Posted: Mon Aug 13, 2012 3:58 pm
by tomgr
If Lars is not going to respond with some explicit examples, it would be helpful if a person or three writing CITP client code would chime in with an example or three of what they are expecting to receive in this update message.

Thanks in advance.
tom

Re: CITP_MSEX_1.2_ELUp

Posted: Mon Aug 20, 2012 6:30 am
by lasso
tomgr wrote:Not sure of the intent of the AffectedLibraries bit field. Is this intended to provide a hint to the client to dig deeper into the library structure for further changes?


Well, the element library as such has properties too such as its name, which is perhaps the most likely to change.