Class SyncStrategyType

  • Direct Known Subclasses:
    FixedFrameStreamType.SyncStrategy, VariableFrameStreamType.SyncStrategy

    public class SyncStrategyType
    extends Object
    A Sync Strategy specifies the strategy on how to find frames within a stream of PCM data. The sync strategy is based upon a state machine that begins in the 'Search' state until the first sync marker is found. Then it goes into the 'Verify' state until a specified number of successive good sync markers are found. Then, the state machine goes into the 'Lock' state, in the 'Lock' state frames are considered good. Should a sync marker be missed in the 'Lock' state, the state machine will transition into the 'Check' state, if the next sync marker is where it's expected within a specified number of frames, then the state machine will transition back to the 'Lock' state, it not it will transition back to 'Search'.

    Java class for SyncStrategyType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="SyncStrategyType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="AutoInvert" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="InvertAlgorithm" type="{http://www.omg.org/space/xtce}InputAlgorithmType" minOccurs="0"/>
                     </sequence>
                     <attribute name="badFramesToAutoInvert" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1024" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
           <attribute name="verifyToLockGoodFrames" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="4" />
           <attribute name="checkToLockGoodFrames" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="1" />
           <attribute name="maxBitErrorsInSyncPattern" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="0" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • SyncStrategyType

        public SyncStrategyType()
    • Method Detail

      • getVerifyToLockGoodFrames

        public BigInteger getVerifyToLockGoodFrames()
        Gets the value of the verifyToLockGoodFrames property.
        Returns:
        possible object is BigInteger
      • setVerifyToLockGoodFrames

        public void setVerifyToLockGoodFrames​(BigInteger value)
        Sets the value of the verifyToLockGoodFrames property.
        Parameters:
        value - allowed object is BigInteger
      • getCheckToLockGoodFrames

        public BigInteger getCheckToLockGoodFrames()
        Gets the value of the checkToLockGoodFrames property.
        Returns:
        possible object is BigInteger
      • setCheckToLockGoodFrames

        public void setCheckToLockGoodFrames​(BigInteger value)
        Sets the value of the checkToLockGoodFrames property.
        Parameters:
        value - allowed object is BigInteger
      • getMaxBitErrorsInSyncPattern

        public BigInteger getMaxBitErrorsInSyncPattern()
        Gets the value of the maxBitErrorsInSyncPattern property.
        Returns:
        possible object is BigInteger
      • setMaxBitErrorsInSyncPattern

        public void setMaxBitErrorsInSyncPattern​(BigInteger value)
        Sets the value of the maxBitErrorsInSyncPattern property.
        Parameters:
        value - allowed object is BigInteger