Contains a list of propValues.
Inheritance: SyntacticalBase
コード例 #1
0
 /// <summary>
 /// Parse fields from a FastTransferStream.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 public override void Parse(FastTransferStream stream)
 {
     if (stream.ReadMarker() == Markers.IncrSyncStateBegin)
     {
         this.StartMarker = Markers.IncrSyncStateBegin;
         this.PropList = new PropList(stream);
         if (stream.ReadMarker() == Markers.IncrSyncStateEnd)
         {
             this.EndMarker = Markers.IncrSyncStateEnd;
         }
         else
         {
             throw new Exception("The State cannot be parsed successfully. The IncrSyncStateEnd Marker is missed.");
         }
     }
 }
コード例 #2
0
 /// <summary>
 /// Parse fields from a FastTransferStream.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 public override void Parse(FastTransferStream stream)
 {
     if (stream.VerifyMetaProperty(MetaProperties.MetaTagIncrementalSyncMessagePartial))
     {
         this.Meta_SyncMessagePartial = new MetaPropValue(stream);
     }
     this.PropList = new PropList(stream);
 }
コード例 #3
0
 /// <summary>
 /// Parse fields from a FastTransferStream.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 public override void Parse(FastTransferStream stream)
 {
     if (stream.ReadMarker() == Markers.StartRecip)
     {
         this.StartMarker = Markers.StartRecip;
         this.PropList = new PropList(stream);
         if (stream.ReadMarker() == Markers.EndToRecip)
         {
             this.EndMarker = Markers.EndToRecip;
         }
         else
         {
             throw new Exception("The Recipient cannot be parsed successfully. The EndToRecip Marker is missed.");
         }
     }
 }
コード例 #4
0
 /// <summary>
 /// Parse fields from a FastTransferStream.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 public override void Parse(FastTransferStream stream)
 {
     if (stream.ReadMarker() == Markers.IncrSyncDel)
     {
         this.StartMarker = Markers.IncrSyncDel;
         this.PropList = new PropList(stream);
     }
 }
コード例 #5
0
 /// <summary>
 /// Parse fields from a FastTransferStream.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 public override void Parse(FastTransferStream stream)
 {
     this.PropList = new PropList(stream);
     if (EmbeddedMessage.Verify(stream))
     {
         this.EmbeddedMessage = new EmbeddedMessage(stream);
     }
 }
コード例 #6
0
 /// <summary>
 /// Parse fields from a FastTransferStream.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 public override void Parse(FastTransferStream stream)
 {
     this.PropList = new PropList(stream);
     this.MessageChildren = new MessageChildren(stream);
 }
コード例 #7
0
        /// <summary>
        /// Parse fields from a FastTransferStream.
        /// </summary>
        /// <param name="stream">A FastTransferStream.</param>
        public override void Parse(FastTransferStream stream)
        {
            List<SyncMessagePartialPropList> InterMessagePartialList = new List<SyncMessagePartialPropList>();
            this.groupInfo = new GroupInfo(stream);
            if (stream.VerifyMetaProperty(MetaProperties.MetaTagIncrSyncGroupId))
            {
                this.MetaTagIncrSyncGroupId = new MetaPropValue(stream);
            }

            if (stream.ReadMarker() == Markers.IncrSyncChgPartial)
            {
                this.Marker = Markers.IncrSyncChgPartial;
                this.messageChangeHeader = new PropList(stream);

                while (stream.VerifyMetaProperty(MetaProperties.MetaTagIncrementalSyncMessagePartial))
                {
                    InterMessagePartialList.Add(new SyncMessagePartialPropList(stream));
                }
                this.SyncMessagePartialPropList = InterMessagePartialList.ToArray();
                this.MessageChildren = new MessageChildren(stream);
            }
            else
            {
                throw new Exception("The MessageChangePartial cannot be parsed successfully. The IncrSyncChgPartial Marker is missed.");
            }
        }
コード例 #8
0
        /// <summary>
        /// Parse fields from a FastTransferStream.
        /// </summary>
        /// <param name="stream">A FastTransferStream.</param>
        public override void Parse(FastTransferStream stream)
        {
            if (stream.ReadMarker() == Markers.IncrSyncChg)
            {
                this.StartMarker = Markers.IncrSyncChg;
                this.messageChangeHeader = new PropList(stream);

                if (stream.ReadMarker() == Markers.IncrSyncMessage)
                {
                    this.SecondMarker = Markers.IncrSyncMessage;
                    this.propList = new PropList(stream);
                    this.messageChildren = new MessageChildren(stream);
                }
                else
                {
                    throw new Exception("The MessageChangeFull cannot be parsed successfully. The IncrSyncMessage Marker is missed.");
                }
            }
        }
コード例 #9
0
        /// <summary>
        ///  Parse fields from a FastTransferStream.
        /// </summary>
        /// <param name="stream">A FastTransferStream.</param>
        public override void Parse(FastTransferStream stream)
        {
            this.PropList = new PropList(stream);
            if (!stream.IsEndOfStream)
            {
                List<SubFolderNoDelProps> InterSubFolders = new List<SubFolderNoDelProps>();
                if (stream.VerifyMetaProperty(MetaProperties.MetaTagNewFXFolder))
                {
                    this.MetaTagNewFXFolder = new MetaPropValue(stream);
                }
                else
                {
                    this.FolderMessagesNoDelProps = new FolderMessagesNoDelProps(stream);
                }

                if (!stream.IsEndOfStream)
                {
                    while (SubFolderNoDelProps.Verify(stream))
                    {
                        InterSubFolders.Add(new SubFolderNoDelProps(stream));
                    }
                    this.SubFolderNoDelPropList = InterSubFolders.ToArray();
                }
            }
        }