Class SerialSugar


  • public class SerialSugar
    extends Object
    Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for the construction of various serial types such as Segment or Section type instances (and the like).
    • Constructor Detail

      • SerialSugar

        protected SerialSugar()
        Instantiates a new serial sugar.
    • Method Detail

      • allocSegment

        public static <DECORATEE extends SectionAllocSectionDecoratorSegment<DECORATEE> allocSegment​(DECORATEE aDecoratee,
                                                                                                       int aLengthWidth,
                                                                                                       org.refcodes.numerical.Endianess aEndianess)
        Constructs the AllocSectionDecoratorSegment with the given decoratee and with the given number of bytes used to specify the decoratee's length and the provided Endianess representation of the decoratee's length.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee used for this decorator.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created AllocSectionDecoratorSegment.
      • allocSegmentHead

        public static AllocSegmentHead allocSegmentHead​(AllocSegmentBody<?> aBody,
                                                        org.refcodes.numerical.Endianess aEndianess)
        Constructs the head with the given body and a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH bytes used to specify the body's length and the provided Endianess representation of the body's length.
        Parameters:
        aBody - The body referenced by this head.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created AllocSegmentHead.
      • allocSegmentHead

        public static AllocSegmentHead allocSegmentHead​(AllocSegmentBody<?> aBody,
                                                        int aLengthWidth)
        Constructs the head with the given body and with the given number of bytes used to specify the body's length and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the body's length.
        Parameters:
        aBody - The body referenced by this head.
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created AllocSegmentHead.
      • allocSegmentHead

        public static AllocSegmentHead allocSegmentHead​(AllocSegmentBody<?> aBody,
                                                        int aLengthWidth,
                                                        org.refcodes.numerical.Endianess aEndianess)
        Constructs the head with the given body and with the given number of bytes used to specify the body's length and the provided Endianess representation of the body's length.
        Parameters:
        aBody - The body referenced by this head.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created AllocSegmentHead.
      • allocSegmentHead

        public static AllocSegmentHead allocSegmentHead​(AllocSegmentBody<?> aBody,
                                                        TransmissionMetrics aTransmissionMetrics)
        Constructs the head with the given body. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aBody - The body referenced by this head.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created AllocSegmentHead.
      • allocSegmentHead

        public static AllocSegmentHead allocSegmentHead​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty head with a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH bytes used to specify the body's length and the provided Endianess representation of the body's length.
        Parameters:
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created AllocSegmentHead.
      • allocSegmentHead

        public static AllocSegmentHead allocSegmentHead​(int aLengthWidth)
        Constructs an empty head with the given number of bytes used to specify the body's length and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the body's length.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created AllocSegmentHead.
      • allocSegmentHead

        public static AllocSegmentHead allocSegmentHead​(int aLengthWidth,
                                                        org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty head with a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH bytes used to specify the body's length and the provided Endianess representation of the body's length.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created AllocSegmentHead.
      • arraySection

        public static <ARRAY extends SegmentSegmentArraySection<ARRAY> arraySection​(ARRAY... aSegmentArray)
        Constructs a SegmentArraySection with the given Segment elements. Segment instances for the array are created using the provided array's component type.
        Type Parameters:
        ARRAY - The type of the Segment elements to be contained in this SegmentArraySection.
        Parameters:
        aSegmentArray - The array containing the according Segment elements.
        Returns:
        The accordingly created Segment.
      • arraySection

        public static <ARRAY extends SegmentSegmentArraySection<ARRAY> arraySection​(Class<ARRAY> aSegmentClass)
        Constructs a SegmentArraySection with instances of the array being created using the provided Class instance.
        Type Parameters:
        ARRAY - The type of the Segment elements to be contained in this SegmentArraySection.
        Parameters:
        aSegmentClass - The class from which to produce the the fixed length Segment elements.
        Returns:
        The accordingly created Segment.
      • arraySection

        public static <ARRAY extends SegmentSegmentArraySection<ARRAY> arraySection​(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory)
        Constructs a SegmentArraySection with instances of the array being created using the provided TypeFactory instance.
        Type Parameters:
        ARRAY - The type of the Segment elements to be contained in this SegmentArraySection.
        Parameters:
        aSegmentFactory - The factory producing the the fixed length Segment elements.
        Returns:
        The accordingly created Segment.
      • arraySection

        public static <ARRAY extends SegmentSegmentArraySection<ARRAY> arraySection​(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory,
                                                                                      ARRAY... aSegmentArray)
        Constructs a SegmentArraySection with the given elements. Segment instances for the array are created using the provided TypeFactory instance.
        Type Parameters:
        ARRAY - The type of the Segment elements to be contained in this SegmentArraySection.
        Parameters:
        aSegmentFactory - The factory producing the the fixed length Segment elements.
        aSegmentArray - The array containing the according Segment elements.
        Returns:
        The accordingly created Segment.
      • asciizArraySegment

        public static AsciizArraySegment asciizArraySegment​(byte aEndOfStringByte,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            String... aPayload)
        Constructs an AsciizArraySegment using the provided String elements and using the provided Segment class for creating Segment instances.
        Parameters:
        aEndOfStringByte - The alternate value instead of 0 "zero" identifying the end of the string.
        aLengthWidth - The width (in bytes) to be used for size values (number of elements in the payload array). * @param aEndianess The Endianess to be used for size values.
        aEndianess - the endianess
        aPayload - The String elements being contained in this instance.
        Returns:
        The accordingly created AsciizArraySegment.
      • asciizArraySegment

        public static AsciizArraySegment asciizArraySegment​(int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            String... aPayload)
        Constructs an AsciizArraySegment using the provided String elements and using the provided Segment class for creating Segment instances.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for size values (number of elements in the payload array). * @param aEndianess The Endianess to be used for size values.
        aEndianess - the endianess
        aPayload - The String elements being contained in this instance.
        Returns:
        The accordingly created AsciizArraySegment.
      • asciizArraySegment

        public static AsciizArraySegment asciizArraySegment​(String aAlias,
                                                            byte aEndOfStringByte,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            String... aPayload)
        Constructs an AsciizArraySegment using the provided arguments.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndOfStringByte - The alternate value instead of 0 "zero" identifying the end of the string.
        aLengthWidth - The width (in bytes) to be used for size values (number of elements in the payload array).
        aEndianess - The Endianess to be used for size values.
        aPayload - The String elements being contained in this instance.
        Returns:
        The accordingly created AsciizArraySegment.
      • asciizArraySegment

        public static AsciizArraySegment asciizArraySegment​(String aAlias,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            String... aPayload)
        Constructs an AsciizArraySegment using the provided arguments.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aLengthWidth - The width (in bytes) to be used for size values (number of elements in the payload array).
        aEndianess - The Endianess to be used for size values.
        aPayload - The String elements being contained in this instance.
        Returns:
        The accordingly created AsciizArraySegment.
      • asciizArraySegment

        public static AsciizArraySegment asciizArraySegment​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an AsciizArraySegment from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created AsciizArraySegment.
      • asciizArraySegment

        public static AsciizArraySegment asciizArraySegment​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics,
                                                            byte aEndOfStringByte)
        Constructs an AsciizArraySegment from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aEndOfStringByte - The alternate value instead of 0 "zero" identifying the end of the string.
        Returns:
        The accordingly created AsciizArraySegment.
      • asciizSegment

        public static AsciizSegment asciizSegment​(String aAlias,
                                                  byte[] aValue,
                                                  byte aEndOfStringByte)
        Constructs an AsciizSegment with the given (ASCII encoded) bytes payload. The serialized content (as of AsciizSegment.toTransmission() or Transmission.transmitTo(java.io.OutputStream)) of an AsciizSegment represents an an ASCIIZ String (also known as CString). It is in the responsibility of the programmer to make sure that the bytes do not contain any 0 ("zero") values as a value of 0 unintendedly terminates the resulting String.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The payload to be contained by this AsciizSegment.
        aEndOfStringByte - The alternate value instead of 0 "zero" identifying the end of the string.
        Returns:
        The accordingly created AsciizSegment.
      • booleanSegment

        public static BooleanSegment booleanSegment​(String aAlias)
        Constructs an empty BooleanSegment.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        Returns:
        The accordingly created BooleanSegment.
      • booleanSegment

        public static BooleanSegment booleanSegment​(String aAlias,
                                                    boolean aValue)
        Constructs a BooleanSegment with the given boolean payload.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the BooleanSegment.
        Returns:
        The accordingly created BooleanSegment.
      • breakerSection

        public static <DECORATEE extends SectionBreakerSectionDecorator<DECORATEE> breakerSection​(DECORATEE aDecoratee,
                                                                                                    int aBreakNumber)
        Constructs a BreakerSectionDecorator instance with the given decoratee breaking deserialization of the decorated segments by the given number of times. After the total number of breaking the decoratee has been reached, the decorator behaves transparent (it just delegates without breaking the decoratee any more). This is good to see if a retry mechanism works when using some kind of error correction segment.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be contained by this facade.
        aBreakNumber - The number of times to break deserialization.
        Returns:
        The accordingly created BreakerSectionDecorator.
      • breakerSegment

        public static <DECORATEE extends SegmentBreakerSegmentDecorator<DECORATEE> breakerSegment​(DECORATEE aDecoratee,
                                                                                                    int aBreakNumber)
        Constructs a BreakerSegmentDecorator instance with the given decoratee breaking deserialization of the decorated segments by the given number of times. After the total number of breaking the decoratee has been reached, the decorator behaves transparent (it just delegates without breaking the decoratee any more). This is good to see if a retry mechanism works when using some kind of error correction segment.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be contained by this facade.
        aBreakNumber - The number of times to break deserialization.
        Returns:
        The accordingly created BreakerSegmentDecorator.
      • byteArraySection

        public static ByteArraySection byteArraySection​(String aAlias,
                                                        byte... aArray)
        Constructs a ByteArraySection with the given byte array payload.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aArray - The array (payload) to be contained by the ByteArraySection.
        Returns:
        The accordingly created ByteArraySection.
      • byteSegment

        public static ByteSegment byteSegment​(Byte aValue)
        Constructs a ByteSegment with the given byte payload.
        Parameters:
        aValue - The value (payload) to be contained by the ByteSegment.
        Returns:
        The accordingly created ByteSegment.
      • byteSegment

        public static ByteSegment byteSegment​(String aAlias)
        Constructs an empty ByteSegment.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        Returns:
        The accordingly created ByteSegment.
      • byteSegment

        public static ByteSegment byteSegment​(String aAlias,
                                              Byte aValue)
        Constructs a ByteSegment with the given byte payload.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the ByteSegment.
        Returns:
        The accordingly created ByteSegment.
      • charArraySection

        public static CharArraySection charArraySection​(String aAlias)
        Constructs an empty CharArraySection. Uses UTF-16 by default for encoding.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        Returns:
        The accordingly created CharArraySection.
      • charArraySection

        public static CharArraySection charArraySection​(String aAlias,
                                                        Charset aCharset)
        Constructs an empty CharArraySection.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aCharset - The charset to be used for encoding.
        Returns:
        The accordingly created CharArraySection.
      • charArraySection

        public static CharArraySection charArraySection​(String aAlias,
                                                        TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharArraySection.
      • charArraySection

        public static CharArraySection charArraySection​(String aAlias,
                                                        TransmissionMetrics aTransmissionMetrics,
                                                        char... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the CharArraySection.
        Returns:
        The accordingly created CharArraySection.
      • charArraySection

        public static CharArraySection charArraySection​(String aAlias,
                                                        TransmissionMetrics aTransmissionMetrics,
                                                        Character... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the CharArraySection.
        Returns:
        The accordingly created CharArraySection.
      • charArraySection

        public static CharArraySection charArraySection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharArraySection.
      • charArraySection

        public static CharArraySection charArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                        char... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the CharArraySection.
        Returns:
        The accordingly created CharArraySection.
      • charArraySection

        public static CharArraySection charArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                        Character... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the CharArraySection.
        Returns:
        The accordingly created CharArraySection.
      • charSection

        public static CharSection charSection​(char aValue,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the CharSection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(Character aPayload,
                                              Charset aCharset)
        Constructs a CharSection with the given char payload and the given Charset.
        Parameters:
        aPayload - The payload to be contained by the Section.
        aCharset - The charset to be used for encoding.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(Character aValue,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the CharSection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(Charset aCharset)
        Constructs an empty CharSection with the given Charset.
        Parameters:
        aCharset - The charset to be used for encoding.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(String aAlias)
        Constructs an empty CharSection.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(String aAlias,
                                              char aValue,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the CharSection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(String aAlias,
                                              Character aPayload)
        Constructs a CharSection with the given char payload.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aPayload - The payload to be contained by the Section.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(String aAlias,
                                              Character aPayload,
                                              Charset aCharset)
        Constructs a CharSection with the given char payload and the given Charset.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aPayload - The payload to be contained by the Section.
        aCharset - The charset to be used for encoding.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(String aAlias,
                                              Character aValue,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the CharSection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(String aAlias,
                                              Charset aCharset)
        Constructs an empty CharSection with the given Charset.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aCharset - The charset to be used for encoding.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(String aAlias,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharSection.
      • charSection

        public static CharSection charSection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CharSection.
      • cipherSection

        public static <DECORATEE extends SectionCipherSectionDecorator<DECORATEE> cipherSection​(DECORATEE aDecoratee,
                                                                                                  Cipher aCipher)
        Constructs a Cipher transmission decorator applying bijective and inverse functions upon the delegated methods.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decorator having applied the Cipher's BijectiveFunction to encode and the Cipher's InverseFunction to decode any data being delegated.
        aCipher - The Cipher providing the BijectiveFunction to encode and the Cipher's InverseFunction to decode any data being delegated.
        Returns:
        The accordingly created CipherSectionDecorator.
      • cipherSegment

        public static <DECORATEE extends SegmentCipherSegmentDecorator<DECORATEE> cipherSegment​(DECORATEE aDecoratee,
                                                                                                  Cipher aCipher)
        Constructs a Cipher transmission decorator applying bijective and inverse functions upon the delegated methods.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decorator having applied the Cipher's BijectiveFunction to encode and the Cipher's InverseFunction to decode any data being delegated.
        aCipher - The Cipher providing the BijectiveFunction to encode and the Cipher's InverseFunction to decode any data being delegated.
        Returns:
        The accordingly created CipherSegmentDecorator.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(Class<T> aType)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aType - The data structure's type.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(Class<T> aType,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aType - The data structure's type.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(Class<T> aType,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aType - The data structure's type.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(Class<T> aType,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aType - The data structure's type.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(Class<T> aType,
                                                                   TransmissionMetrics aTransmissionMetrics)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, TransmissionMetrics, String[]) instead! The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aType - The data structure's type.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(Class<T> aType,
                                                                   TransmissionMetrics aTransmissionMetrics,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed using the predefined set of attributes in their according order The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aType - The data structure's type.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   Class<T> aType)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aType - The data structure's type.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   Class<T> aType,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aType - The data structure's type.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   Class<T> aType,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aType - The data structure's type.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   Class<T> aType,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given Class for the according type T. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aType - The data structure's type.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   T aValue)
        Constructs the ComplexTypeSegment from the given data structure instance. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure instance.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   T aValue,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset)
        Constructs the ComplexTypeSegment from the given data structure instance. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure instance.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   T aValue,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given data structure instance.. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value from which to construct the complex type..
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(String aAlias,
                                                                   T aValue,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given data structure instance.. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value from which to construct the complex type..
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(T aValue)
        Constructs the ComplexTypeSegment from the given data structure instance. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure instance.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(T aValue,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset)
        Constructs the ComplexTypeSegment from the given data structure instance. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, String[]) instead!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure instance.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(T aValue,
                                                                   int aLengthWidth,
                                                                   org.refcodes.numerical.Endianess aEndianess,
                                                                   Charset aCharset,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given data structure instance.. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The value from which to construct the complex type..
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(T aValue,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given data structure instance.. The attributes of the given data structure are processed using the predefined set of attributes in their according order
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The value from which to construct the complex type..
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(T aValue,
                                                                   TransmissionMetrics aTransmissionMetrics)
        Constructs the ComplexTypeSegment from the given data structure instance. The attributes of the given data structure are processed all and in alphabetical order. For specifying a predefined set of attributes and their order, please invoke complexTypeSegment(Class, TransmissionMetrics, String[]) instead! The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ComplexTypeSegment.
      • complexTypeSegment

        public static <T> ComplexTypeSegment<T> complexTypeSegment​(T aValue,
                                                                   TransmissionMetrics aTransmissionMetrics,
                                                                   String... aAttributes)
        Constructs the ComplexTypeSegment from the given data structure instance.. The attributes of the given data structure are processed using the predefined set of attributes in their according order. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The value from which to construct the complex type..
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created ComplexTypeSegment.
      • crcPrefixSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcPrefixSection​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs a CrcSectionDecorator wrapping the given Section (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcPrefixSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcPrefixSection​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSectionDecorator wrapping the given Section.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcPrefixSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcPrefixSection​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSectionDecorator wrapping the given Section.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcPrefixSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcPrefixSegment​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs a CrcSegmentDecorator wrapping the given Segment (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcPrefixSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcPrefixSegment​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSegmentDecorator wrapping the given Segment.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcPrefixSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcPrefixSegment​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSegmentDecorator wrapping the given Segment.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcSection​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs a CrcSectionDecorator wrapping the given Section (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcSection​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs a CrcSectionDecorator wrapping the given Section (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcSection​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSectionDecorator wrapping the given Section.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcSection​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSectionDecorator wrapping the given Section.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcSegment​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs a CrcSegmentDecorator wrapping the given Segment (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcSegment​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs a CrcSegmentDecorator wrapping the given Segment (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcSegment​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSegmentDecorator wrapping the given Segment.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcSegment​(DECORATEE aDecoratee,
                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSegmentDecorator wrapping the given Segment.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Parameters:
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence..
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum.
        Parameters:
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Parameters:
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum.
        Parameters:
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Parameters:
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence..
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Parameters:
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence..
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum.
        Parameters:
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence..
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum.
        Parameters:
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum.
        Parameters:
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSegmentPackager

        public static CrcSegmentPackager crcSegmentPackager​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according CrcSegmentPackager for packaging and extracting of packets with a CRC checksum. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created CrcSegmentPackager.
      • crcSuffixSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcSuffixSection​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs a CrcSectionDecorator wrapping the given Section (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcSuffixSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcSuffixSection​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSectionDecorator wrapping the given Section.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcSuffixSection

        public static <DECORATEE extends SectionCrcSectionDecorator<DECORATEE> crcSuffixSection​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSectionDecorator wrapping the given Section.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The Section to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSectionDecorator.
      • crcSuffixSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcSuffixSegment​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs a CrcSegmentDecorator wrapping the given Segment (using TransmissionMetrics.DEFAULT_ENDIANESS by default).
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcSuffixSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcSuffixSegment​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSegmentDecorator wrapping the given Segment.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • crcSuffixSegment

        public static <DECORATEE extends SegmentCrcSegmentDecorator<DECORATEE> crcSuffixSegment​(DECORATEE aDecoratee,
                                                                                                  org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a CrcSegmentDecorator wrapping the given Segment.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment to be wrapped.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        Returns:
        The accordingly created CrcSegmentDecorator.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty DoubleArraySection with the given Endianess.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                            double... aValue)
        Constructs a DoubleArraySection with the given double array payload and the given Endianess for the representation of the DoubleArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the DoubleArraySection.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(String aAlias,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty DoubleArraySection with the given Endianess.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(String aAlias,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            double... aValue)
        Constructs a DoubleArraySection with the given double array payload and the given Endianess for the representation of the DoubleArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the DoubleArraySection.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(String aAlias,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            Double... aValue)
        Constructs a DoubleArraySection with the given double array payload and the given Endianess for the representation of the DoubleArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the DoubleArraySection.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics,
                                                            double... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics,
                                                            Double... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                            double... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleArraySection

        public static DoubleArraySection doubleArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                            Double... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        Returns:
        The accordingly created DoubleArraySection.
      • doubleSegment

        public static DoubleSegment doubleSegment​(Double aValue,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a DoubleSegment with the given double payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aValue - The value (payload) to be contained by the DoubleSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created DoubleSegment.
      • doubleSegment

        public static DoubleSegment doubleSegment​(Double aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DoubleSegment.
      • doubleSegment

        public static DoubleSegment doubleSegment​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty DoubleSegment with the given Endianess endian representation of the DoubleSegment's value.
        Parameters:
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created DoubleSegment.
      • doubleSegment

        public static DoubleSegment doubleSegment​(String aAlias,
                                                  Double aValue,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a DoubleSegment with the given double payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the DoubleSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created DoubleSegment.
      • doubleSegment

        public static DoubleSegment doubleSegment​(String aAlias,
                                                  Double aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DoubleSegment.
      • doubleSegment

        public static DoubleSegment doubleSegment​(String aAlias,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty DoubleSegment with the given Endianess endian representation of the DoubleSegment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created DoubleSegment.
      • doubleSegment

        public static DoubleSegment doubleSegment​(String aAlias,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DoubleSegment.
      • doubleSegment

        public static DoubleSegment doubleSegment​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DoubleSegment.
      • dynamicTypeSection

        public static DynamicTypeSection dynamicTypeSection​(int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSection with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static DynamicTypeSection dynamicTypeSection​(int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            Charset aCharset)
        Constructs the DynamicTypeSection with the given properties.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSection with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            Charset aCharset)
        Constructs the DynamicTypeSection with the given properties.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSection with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset)
        Constructs the DynamicTypeSection with the given properties. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset,
                                                                String... aAttributes)
        Constructs the DynamicTypeSection with the given properties. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                String... aAttributes)
        Constructs the DynamicTypeSection with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                                T aValue,
                                                                TransmissionMetrics aTransmissionMetrics)
        Constructs the DynamicTypeSection with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                                T aValue,
                                                                TransmissionMetrics aTransmissionMetrics,
                                                                String... aAttributes)
        Constructs the DynamicTypeSection with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static DynamicTypeSection dynamicTypeSection​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs the DynamicTypeSection with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSection with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset)
        Constructs the DynamicTypeSection with the given properties. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset,
                                                                String... aAttributes)
        Constructs the DynamicTypeSection with the given properties. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                String... aAttributes)
        Constructs the DynamicTypeSection with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSection.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(T aValue,
                                                                TransmissionMetrics aTransmissionMetrics)
        Constructs the DynamicTypeSection with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSection

        public static <T> DynamicTypeSection dynamicTypeSection​(T aValue,
                                                                TransmissionMetrics aTransmissionMetrics,
                                                                String... aAttributes)
        Constructs the DynamicTypeSection with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSection.
      • dynamicTypeSegment

        public static DynamicTypeSegment dynamicTypeSegment​(int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSegment with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static DynamicTypeSegment dynamicTypeSegment​(int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            Charset aCharset)
        Constructs the DynamicTypeSegment with the given properties.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSegment with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            Charset aCharset)
        Constructs the DynamicTypeSegment with the given properties.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSegment with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset)
        Constructs the DynamicTypeSegment with the given properties. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset,
                                                                String... aAttributes)
        Constructs the DynamicTypeSegment with the given properties. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                                T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                String... aAttributes)
        Constructs the DynamicTypeSegment with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                                T aValue,
                                                                TransmissionMetrics aTransmissionMetrics)
        Constructs the DynamicTypeSegment with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                                T aValue,
                                                                TransmissionMetrics aTransmissionMetrics,
                                                                String... aAttributes)
        Constructs the DynamicTypeSegment with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static DynamicTypeSegment dynamicTypeSegment​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs the DynamicTypeSegment with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs the DynamicTypeSegment with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset)
        Constructs the DynamicTypeSegment with the given properties. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                Charset aCharset,
                                                                String... aAttributes)
        Constructs the DynamicTypeSegment with the given properties. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aCharset - The Charset to be used for encoding and decoding String instances.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(T aValue,
                                                                int aLengthWidth,
                                                                org.refcodes.numerical.Endianess aEndianess,
                                                                String... aAttributes)
        Constructs the DynamicTypeSegment with the given properties as well as with the TransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as of DynamicTypeSegment.fromType(Object, String...).
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for (length) values.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(T aValue,
                                                                TransmissionMetrics aTransmissionMetrics)
        Constructs the DynamicTypeSegment with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created DynamicTypeSegment.
      • dynamicTypeSegment

        public static <T> DynamicTypeSegment dynamicTypeSegment​(T aValue,
                                                                TransmissionMetrics aTransmissionMetrics,
                                                                String... aAttributes)
        Constructs the DynamicTypeSegment with the given properties. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        T - The type of the data structure representing the body.
        Parameters:
        aValue - The data structure's value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aAttributes - The attributes or null if all attributes are to be processed in alphabetical order.
        Returns:
        The accordingly created DynamicTypeSegment.
      • fileSection

        public static FileSection fileSection​(File aBasePath,
                                              Supplier<String> aFilePathSupplier)
        Constructs a FileSection, the underlying File is created on demand dynamically using the provided Supplier.
        Parameters:
        aBasePath - The File representing the base path for the path provided by the Supplier.
        aFilePathSupplier - The Supplier of the file path of File representing the FileSection. Whenever the underlying file is to be accessed, then the Supplier is called to construct the according File.
        Returns:
        The accordingly created FileSection.
      • fileSection

        public static FileSection fileSection​(String aBasePath,
                                              Supplier<String> aFilePathSupplier)
        Constructs a FileSection, the underlying File is created on demand dynamically using the provided Supplier.
        Parameters:
        aBasePath - The base path for the path provided by the Supplier.
        aFilePathSupplier - The Supplier of the file path of File representing the FileSection. Whenever the underlying file is to be accessed, then the Supplier is called to construct the according File.
        Returns:
        The accordingly created FileSection.
      • fixedSegmentArraySection

        public static <ARRAY extends SegmentFixedSegmentArraySection<ARRAY> fixedSegmentArraySection​(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory)
        Constructs a FixedSegmentArraySection with instances of the array being created using the provided TypeFactory instance.
        Type Parameters:
        ARRAY - The type of the Segment elements to be contained in this FixedSegmentArraySection.
        Parameters:
        aSegmentFactory - The factory producing the the fixed length Segment elements.
        Returns:
        The accordingly created Segment.
      • fixedSegmentArraySection

        public static <ARRAY extends SegmentFixedSegmentArraySection<ARRAY> fixedSegmentArraySection​(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory,
                                                                                                       ARRAY... aSegmentArray)
        Constructs a FixedSegmentArraySection with the given elements. Segment instances for the array are created using the provided TypeFactory instance.
        Type Parameters:
        ARRAY - The type of the Segment elements to be contained in this FixedSegmentArraySection.
        Parameters:
        aSegmentFactory - The factory producing the the fixed length Segment elements.
        aSegmentArray - The array containing the according Segment elements.
        Returns:
        The accordingly created Segment.
      • floatArraySection

        public static FloatArraySection floatArraySection​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty FloatArraySection with the given Endianess.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                          float... aValue)
        Constructs a FloatArraySection with the given float array payload and the given Endianess for the representation of the FloatArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                          Float... aValue)
        Constructs a FloatArraySection with the given float array payload and the given Endianess for the representation of the FloatArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(String aAlias,
                                                          org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty FloatArraySection with the given Endianess.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(String aAlias,
                                                          org.refcodes.numerical.Endianess aEndianess,
                                                          float... aValue)
        Constructs a FloatArraySection with the given float array payload and the given Endianess for the representation of the FloatArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(String aAlias,
                                                          org.refcodes.numerical.Endianess aEndianess,
                                                          Float... aValue)
        Constructs a FloatArraySection with the given float array payload and the given Endianess for the representation of the FloatArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(String aAlias,
                                                          TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(String aAlias,
                                                          TransmissionMetrics aTransmissionMetrics,
                                                          float... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(String aAlias,
                                                          TransmissionMetrics aTransmissionMetrics,
                                                          Float... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                          float... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatArraySection

        public static FloatArraySection floatArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                          Float... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the FloatArraySection.
        Returns:
        The accordingly created FloatArraySection.
      • floatSegment

        public static FloatSegment floatSegment​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty FloatSegment with the given Endianess endian representation of the FloatSegment's value.
        Parameters:
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created FloatSegment.
      • floatSegment

        public static FloatSegment floatSegment​(Float aValue,
                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs a FloatSegment with the given float payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aValue - The value (payload) to be contained by the FloatSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created FloatSegment.
      • floatSegment

        public static FloatSegment floatSegment​(Float aValue,
                                                TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created FloatSegment.
      • floatSegment

        public static FloatSegment floatSegment​(String aAlias,
                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty FloatSegment with the given Endianess endian representation of the FloatSegment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created FloatSegment.
      • floatSegment

        public static FloatSegment floatSegment​(String aAlias,
                                                Float aValue,
                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs a FloatSegment with the given float payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the FloatSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created FloatSegment.
      • floatSegment

        public static FloatSegment floatSegment​(String aAlias,
                                                Float aValue,
                                                TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created FloatSegment.
      • floatSegment

        public static FloatSegment floatSegment​(String aAlias,
                                                TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created FloatSegment.
      • floatSegment

        public static FloatSegment floatSegment​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created FloatSegment.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                        ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        int aAcknowledgeRetryNumber,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - the generic type
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        int aAcknowledgeRetryNumber,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                        ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - the generic type
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        int aAcknowledgeRetryNumber,
                                                                                                        long aAcknowledgeTimeoutInMs,
                                                                                                        int aSequenceNumberWidth,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        int aAcknowledgeRetryNumber,
                                                                                                        long aAcknowledgeTimeoutInMs,
                                                                                                        int aSequenceNumberWidth,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                        ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        int aAcknowledgeRetryNumber,
                                                                                                        long aAcknowledgeTimeoutInMs,
                                                                                                        int aSequenceNumberInitValue,
                                                                                                        int aSequenceNumberWidth,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberInitValue - The initialization value for the sequence number counter.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        byte[] aTransmissionMagicBytes,
                                                                                                        byte[] aAcknowledgeMagicBytes,
                                                                                                        int aAcknowledgeRetryNumber,
                                                                                                        long aAcknowledgeTimeoutInMs,
                                                                                                        int aSequenceNumberInitValue,
                                                                                                        int aSequenceNumberWidth,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                        ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aTransmissionMagicBytes - The magic bytes identifying a regular transmission (as of FullDuplexTransmissionPortDecorator.transmitSegment(Segment) or the like).
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAcknowledgeRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAcknowledgeTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aSequenceNumberInitValue - The initialization value for the sequence number counter.
        aSequenceNumberWidth - The width in bytes to be used for the binary sequence number representation.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                        ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • fullDuplexTxPort

        public static <PM extends PortMetricsFullDuplexTransmissionPortDecorator<PM> fullDuplexTxPort​(Port<PM> aPort,
                                                                                                        org.refcodes.numerical.Endianess aEndianess,
                                                                                                        org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                        ExecutorService aExecutorService)
        Decorates the given Port with full duplex Segment multiplexer functionality as of the given arguments.
        Type Parameters:
        PM - The actual PortMetrics type to use.
        Parameters:
        aPort - The Port to be decorated.
        aEndianess - The Endianess to use when calculating the CRC checksum.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aExecutorService - The ExecutorService to be used when creating Thread instances for handling input and output data simultaneously.
        Returns:
        The accordingly created FullDuplexTransmissionPortDecorator.
      • intArraySection

        public static IntArraySection intArraySection​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty IntArraySection with the given Endianess.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                      int... aValue)
        Constructs a IntArraySection with the given int array payload and the given Endianess for the representation of the IntArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                      Integer... aValue)
        Constructs a IntArraySection with the given int array payload and the given Endianess for the representation of the IntArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(String aAlias,
                                                      org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty IntArraySection with the given Endianess.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(String aAlias,
                                                      org.refcodes.numerical.Endianess aEndianess,
                                                      int... aValue)
        Constructs a IntArraySection with the given int array payload and the given Endianess for the representation of the IntArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(String aAlias,
                                                      org.refcodes.numerical.Endianess aEndianess,
                                                      Integer... aValue)
        Constructs a IntArraySection with the given int array payload and the given Endianess for the representation of the IntArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(String aAlias,
                                                      TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(String aAlias,
                                                      TransmissionMetrics aTransmissionMetrics,
                                                      int... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(String aAlias,
                                                      TransmissionMetrics aTransmissionMetrics,
                                                      Integer... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                      int... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intArraySection

        public static IntArraySection intArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                      Integer... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the IntArraySection.
        Returns:
        The accordingly created IntArraySection.
      • intSegment

        public static IntSegment intSegment​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty IntSegment with the given Endianess endian representation of the IntSegment's value.
        Parameters:
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created IntSegment.
      • intSegment

        public static IntSegment intSegment​(Integer aValue,
                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs a IntSegment with the given int payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aValue - The value (payload) to be contained by the IntSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created IntSegment.
      • intSegment

        public static IntSegment intSegment​(Integer aValue,
                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created IntSegment.
      • intSegment

        public static IntSegment intSegment​(String aAlias,
                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty IntSegment with the given Endianess endian representation of the IntSegment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created IntSegment.
      • intSegment

        public static IntSegment intSegment​(String aAlias,
                                            Integer aValue,
                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs a IntSegment with the given int payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the IntSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created IntSegment.
      • intSegment

        public static IntSegment intSegment​(String aAlias,
                                            Integer aValue,
                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created IntSegment.
      • intSegment

        public static IntSegment intSegment​(String aAlias,
                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created IntSegment.
      • intSegment

        public static IntSegment intSegment​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created IntSegment.
      • invertibleSection

        public static <DECORATEE extends SectionInvertibleSectionDecorator<DECORATEE> invertibleSection​(DECORATEE aDecoratee,
                                                                                                          org.refcodes.numerical.BijectiveFunction<Byte,​Byte> aBijectiveFunction,
                                                                                                          org.refcodes.numerical.InverseFunction<Byte,​Byte> aInverseFunction)
        Constructs an invertible transmission decorator applying bijective and inverse functions upon the delegated methods.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decorator having applied the BijectiveFunction to encode and the InverseFunction to decode any data being delegated.
        aBijectiveFunction - The BijectiveFunction to encode any data being delegated.
        aInverseFunction - The InverseFunction to decode any data being delegated.
        Returns:
        The accordingly created InvertibleSectionDecorator.
      • invertibleSection

        public static <DECORATEE extends SectionInvertibleSectionDecorator<DECORATEE> invertibleSection​(DECORATEE aDecoratee,
                                                                                                          org.refcodes.numerical.Invertible<Byte,​Byte> aInvertible)
        Constructs an invertible transmission decorator applying bijective and inverse functions upon the delegated methods.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decorator having applied the Invertible's BijectiveFunction to encode and the Invertible's InverseFunction to decode any data being delegated.
        aInvertible - The Invertible providing the BijectiveFunction to encode and the Invertible's InverseFunction to decode any data being delegated.
        Returns:
        The accordingly created InvertibleSectionDecorator.
      • invertibleSegment

        public static <DECORATEE extends SegmentInvertibleSegmentDecorator<DECORATEE> invertibleSegment​(DECORATEE aDecoratee,
                                                                                                          org.refcodes.numerical.BijectiveFunction<Byte,​Byte> aBijectiveFunction,
                                                                                                          org.refcodes.numerical.InverseFunction<Byte,​Byte> aInverseFunction)
        Constructs an invertible transmission decorator applying bijective and inverse functions upon the delegated methods.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decorator having applied the BijectiveFunction to encode and the InverseFunction to decode any data being delegated.
        aBijectiveFunction - The BijectiveFunction to encode any data being delegated.
        aInverseFunction - The InverseFunction to decode any data being delegated.
        Returns:
        The accordingly created InvertibleSegmentDecorator.
      • invertibleSegment

        public static <DECORATEE extends SegmentInvertibleSegmentDecorator<DECORATEE> invertibleSegment​(DECORATEE aDecoratee,
                                                                                                          org.refcodes.numerical.Invertible<Byte,​Byte> aInvertible)
        Constructs an invertible transmission decorator applying bijective and inverse functions upon the delegated methods.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decorator having applied the Invertible's BijectiveFunction to encode and the Invertible's InverseFunction to decode any data being delegated.
        aInvertible - The Invertible providing the BijectiveFunction to encode and the Invertible's InverseFunction to decode any data being delegated.
        Returns:
        The accordingly created InvertibleSegmentDecorator.
      • lengthSegment

        public static <DECORATEE extends SegmentLengthSegmentDecoratorSegment<DECORATEE> lengthSegment​(DECORATEE aSegment,
                                                                                                         int aLengthWidth,
                                                                                                         org.refcodes.numerical.Endianess aEndianess)
        Constructs the LengthSegmentDecoratorSegment with the given decoratee and with the given number of bytes used to specify the decoratee's length and the provided Endianess representation of the decoratee's length.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aSegment - The decoratee used for this decorator.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created LengthSegmentDecoratorSegment.
      • longArraySection

        public static LongArraySection longArraySection​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty LongArraySection with the given Endianess.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                        long... aValue)
        Constructs a LongArraySection with the given long array payload and the given Endianess for the representation of the LongArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                        Long... aValue)
        Constructs a LongArraySection with the given long array payload and the given Endianess for the representation of the LongArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(String aAlias,
                                                        org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty LongArraySection with the given Endianess.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(String aAlias,
                                                        org.refcodes.numerical.Endianess aEndianess,
                                                        long... aValue)
        Constructs a LongArraySection with the given long array payload and the given Endianess for the representation of the LongArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(String aAlias,
                                                        org.refcodes.numerical.Endianess aEndianess,
                                                        Long... aValue)
        Constructs a LongArraySection with the given long array payload and the given Endianess for the representation of the LongArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(String aAlias,
                                                        TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(String aAlias,
                                                        TransmissionMetrics aTransmissionMetrics,
                                                        long... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(String aAlias,
                                                        TransmissionMetrics aTransmissionMetrics,
                                                        Long... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                        long... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longArraySection

        public static LongArraySection longArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                        Long... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the LongArraySection.
        Returns:
        The accordingly created LongArraySection.
      • longSegment

        public static LongSegment longSegment​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty LongSegment with the given Endianess endian representation of the LongSegment's value.
        Parameters:
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created LongSegment.
      • longSegment

        public static LongSegment longSegment​(Long aValue,
                                              org.refcodes.numerical.Endianess aEndianess)
        Constructs a LongSegment with the given long payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aValue - The value (payload) to be contained by the LongSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created LongSegment.
      • longSegment

        public static LongSegment longSegment​(Long aValue,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LongSegment.
      • longSegment

        public static LongSegment longSegment​(String aAlias,
                                              org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty LongSegment with the given Endianess endian representation of the LongSegment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created LongSegment.
      • longSegment

        public static LongSegment longSegment​(String aAlias,
                                              Long aValue,
                                              org.refcodes.numerical.Endianess aEndianess)
        Constructs a LongSegment with the given long payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the LongSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created LongSegment.
      • longSegment

        public static LongSegment longSegment​(String aAlias,
                                              Long aValue,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LongSegment.
      • longSegment

        public static LongSegment longSegment​(String aAlias,
                                              TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LongSegment.
      • longSegment

        public static LongSegment longSegment​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LongSegment.
      • magicBytesSection

        public static <DECORATEE extends SectionMagicBytesSectionDecorator<DECORATEE> magicBytesSection​(DECORATEE aDecoratee,
                                                                                                          byte... aMagicBytes)
        Enriches the provided Section with the given magic bytes being prefixed.
        Type Parameters:
        DECORATEE - The Section type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Section which is to be prefixed with magic bytes.
        aMagicBytes - The magic bytes to be prefixed.
        Returns:
        The accordingly created MagicBytesSectionDecorator.
      • magicBytesSection

        public static <DECORATEE extends SectionMagicBytesSectionDecorator<DECORATEE> magicBytesSection​(DECORATEE aDecoratee,
                                                                                                          int aMagicBytesLength)
        Enriches the provided Section with magic bytes of the given length to be prefixed.
        Type Parameters:
        DECORATEE - The Section type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Section which is to be prefixed with magic bytes.
        aMagicBytesLength - The length of the magic bytes sequence.
        Returns:
        The accordingly created MagicBytesSectionDecorator.
      • magicBytesSection

        public static <DECORATEE extends SectionMagicBytesSectionDecorator<DECORATEE> magicBytesSection​(DECORATEE aDecoratee,
                                                                                                          String aMagicBytes,
                                                                                                          Charset aCharset)
        Enriches the provided Section with magic bytes being prefixed (retrieved from the given String).
        Type Parameters:
        DECORATEE - The Section type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Section which is to be prefixed with magic bytes.
        aMagicBytes - The String to be stored by this instance as magic bytes.
        aCharset - The Charset to use when converting the String to a byte array.
        Returns:
        The accordingly created MagicBytesSectionDecorator.
      • magicBytesSection

        public static <DECORATEE extends SectionMagicBytesSectionDecorator<DECORATEE> magicBytesSection​(String aAlias,
                                                                                                          DECORATEE aDecoratee,
                                                                                                          byte... aMagicBytes)
        Enriches the provided Section with the given magic bytes being prefixed.
        Type Parameters:
        DECORATEE - The Section type describing the Segment subclass decoratee.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aDecoratee - The Section which is to be prefixed with magic bytes.
        aMagicBytes - The magic bytes to be prefixed.
        Returns:
        The accordingly created MagicBytesSectionDecorator.
      • magicBytesSection

        public static <DECORATEE extends SectionMagicBytesSectionDecorator<DECORATEE> magicBytesSection​(String aAlias,
                                                                                                          DECORATEE aDecoratee,
                                                                                                          int aMagicBytesLength)
        Enriches the provided Section with magic bytes of the given length to be prefixed.
        Type Parameters:
        DECORATEE - The Section type describing the Segment subclass decoratee.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aDecoratee - The Section which is to be prefixed with magic bytes.
        aMagicBytesLength - The length of the magic bytes sequence.
        Returns:
        The accordingly created MagicBytesSectionDecorator.
      • magicBytesSection

        public static <DECORATEE extends SectionMagicBytesSectionDecorator<DECORATEE> magicBytesSection​(String aAlias,
                                                                                                          DECORATEE aDecoratee,
                                                                                                          String aMagicBytes,
                                                                                                          Charset aCharset)
        Enriches the provided Section with magic bytes being prefixed (retrieved from the given String).
        Type Parameters:
        DECORATEE - The Section type describing the Segment subclass decoratee.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aDecoratee - The Section which is to be prefixed with magic bytes.
        aMagicBytes - The String to be stored by this instance as magic bytes.
        aCharset - The Charset to use when converting the String to a byte array.
        Returns:
        The accordingly created MagicBytesSectionDecorator.
      • magicBytesSegment

        public static MagicBytesSegment magicBytesSegment​(byte[] aMagicBytes,
                                                          TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance for magic bytes of the given length. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aMagicBytes - The bytes to be stored by this instance as magic bytes.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created MagicBytesSegment.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(DECORATEE aDecoratee,
                                                                                                          byte... aMagicBytes)
        Enriches the provided Segment with the given magic bytes being prefixed.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment which is to be prefixed with magic bytes.
        aMagicBytes - The magic bytes to be prefixed.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(DECORATEE aDecoratee,
                                                                                                          int aMagicBytesLength)
        Enriches the provided Segment with magic bytes of the given length to be prefixed.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment which is to be prefixed with magic bytes.
        aMagicBytesLength - The length of the magic bytes sequence.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(DECORATEE aDecoratee,
                                                                                                          String aMagicBytes,
                                                                                                          Charset aCharset)
        Enriches the provided Segment with magic bytes being prefixed (retrieved from the given String).
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The Segment which is to be prefixed with magic bytes.
        aMagicBytes - The String to be stored by this instance as magic bytes.
        aCharset - The Charset to use when converting the String to a byte array.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(DECORATEE aDecoratee,
                                                                                                          TransmissionMetrics aTransmissionMetrics)
        Enriches the provided decoratee with magic bytes of the given length to be prefixed. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee which to be prefixed with magic bytes.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static MagicBytesSegment magicBytesSegment​(String aAlias,
                                                          byte... aMagicBytes)
        Constructs an AbstractMagicBytesTransmission with the according magic bytes.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aMagicBytes - The magic bytes to be stored by this instance.
        Returns:
        The accordingly created MagicBytesSegment.
      • magicBytesSegment

        public static MagicBytesSegment magicBytesSegment​(String aAlias,
                                                          byte[] aMagicBytes,
                                                          TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance for magic bytes of the given length. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aMagicBytes - The bytes to be stored by this instance as magic bytes.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created MagicBytesSegment.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(String aAlias,
                                                                                                          DECORATEE aDecoratee,
                                                                                                          byte... aMagicBytes)
        Enriches the provided Segment with the given magic bytes being prefixed.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aDecoratee - The Segment which is to be prefixed with magic bytes.
        aMagicBytes - The magic bytes to be prefixed.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(String aAlias,
                                                                                                          DECORATEE aDecoratee,
                                                                                                          int aMagicBytesLength)
        Enriches the provided Segment with magic bytes of the given length to be prefixed.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aDecoratee - The Segment which is to be prefixed with magic bytes.
        aMagicBytesLength - The length of the magic bytes sequence.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(String aAlias,
                                                                                                          DECORATEE aDecoratee,
                                                                                                          String aMagicBytes,
                                                                                                          Charset aCharset)
        Enriches the provided Segment with magic bytes being prefixed (retrieved from the given String).
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aDecoratee - The Segment which is to be prefixed with magic bytes.
        aMagicBytes - The String to be stored by this instance as magic bytes.
        aCharset - The Charset to use when converting the String to a byte array.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static <DECORATEE extends SegmentMagicBytesSegmentDecorator<DECORATEE> magicBytesSegment​(String aAlias,
                                                                                                          DECORATEE aDecoratee,
                                                                                                          TransmissionMetrics aTransmissionMetrics)
        Enriches the provided decoratee with magic bytes of the given length to be prefixed. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aDecoratee - The decoratee which to be prefixed with magic bytes.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created MagicBytesSegmentDecorator.
      • magicBytesSegment

        public static MagicBytesSegment magicBytesSegment​(String aAlias,
                                                          int aMagicBytesLength)
        Constructs an AbstractMagicBytesTransmission with magic bytes of the given length.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aMagicBytesLength - The length of the magic bytes sequence..
        Returns:
        The accordingly created MagicBytesSegment.
      • magicBytesSegment

        public static MagicBytesSegment magicBytesSegment​(String aAlias,
                                                          String aMagicBytes,
                                                          TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance for magic bytes of the given length. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aMagicBytes - The String to be stored by this instance as magic bytes.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created MagicBytesSegment.
      • magicBytesSegment

        public static MagicBytesSegment magicBytesSegment​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance for magic bytes of the given length. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created MagicBytesSegment.
      • magicBytesSegment

        public static MagicBytesSegment magicBytesSegment​(TransmissionMetrics aTransmissionMetrics,
                                                          String aMagicBytes)
        Constructs an according instance for magic bytes of the given length. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aMagicBytes - The String to be stored by this instance as magic bytes.
        Returns:
        The accordingly created MagicBytesSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty NumberSegment with the given Endianess.
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created NumberSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  Long aValue,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a NumberSegment with the given long payload and the given Endianess for the representation of the NumberSegment's value (payload).
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aValue - The value (payload) to be contained by the NumberSegment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created NumberSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  Long aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created NumberSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  String aAlias,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty NumberSegment with the given Endianess.
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created NumberSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  String aAlias,
                                                  Long aValue,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a NumberSegment with the given long payload and the given Endianess for the representation of the NumberSegment's value (payload).
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the NumberSegment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created NumberSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  String aAlias,
                                                  Long aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created NumberSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  String aAlias,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created NumberSegment.
      • numberSegment

        public static NumberSegment numberSegment​(int aNumberWidth,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aNumberWidth - The number of bytes to be occupied by the number.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created NumberSegment.
      • propertiesSection

        public static PropertiesSection propertiesSection​(org.refcodes.properties.Properties aPayload)
        Constructs a PropertiesSection with the given Properties payload being UTF-8 encoded. The properties from the payload are copied into the PropertiesSection.
        Parameters:
        aPayload - The payload to be contained by the Section.
        Returns:
        The accordingly created PropertiesSection.
      • propertiesSection

        public static PropertiesSection propertiesSection​(org.refcodes.properties.Properties aPayload,
                                                          TransmissionMetrics aTransmissionMetrics)
        Constructs a PropertiesSection with the given Properties payload being encoded with the given Charset. The properties from the payload are copied into the PropertiesSection. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aPayload - The payload to be contained by the Section.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created PropertiesSection.
      • propertiesSection

        public static PropertiesSection propertiesSection​(String aAlias)
        Constructs an empty PropertiesSection using UTF-8 encoding for the payload.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        Returns:
        The accordingly created PropertiesSection.
      • propertiesSection

        public static PropertiesSection propertiesSection​(String aAlias,
                                                          org.refcodes.properties.Properties aPayload)
        Constructs a PropertiesSection with the given Properties payload being UTF-8 encoded. The properties from the payload are copied into the PropertiesSection.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aPayload - The payload to be contained by the Section.
        Returns:
        The accordingly created PropertiesSection.
      • propertiesSection

        public static PropertiesSection propertiesSection​(String aAlias,
                                                          org.refcodes.properties.Properties aPayload,
                                                          Charset aCharset)
        Constructs a PropertiesSection with the given Properties payload being encoded with the given Charset. The properties from the payload are copied into the PropertiesSection.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aPayload - The payload to be contained by the Section.
        aCharset - The Charset to be used for encoding the String.
        Returns:
        The accordingly created PropertiesSection.
      • propertiesSection

        public static PropertiesSection propertiesSection​(String aAlias,
                                                          org.refcodes.properties.Properties aPayload,
                                                          TransmissionMetrics aTransmissionMetrics)
        Constructs a PropertiesSection with the given Properties payload being encoded with the given Charset. The properties from the payload are copied into the PropertiesSection. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aPayload - The payload to be contained by the Section.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created PropertiesSection.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte[] aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSection

        public static <DECORATEE extends SectionReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection​(DECORATEE aDecoratee,
                                                                                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the control-flow decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ReadyToReceiveSectionDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte aReadyToReceiveMagicBytes,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  byte[] aReadyToReceiveMagicBytes,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveMagicBytes - The RTR magic bytes to be used to signal a RTR.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  int aReadyToReceiveRetryNumber,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveRetryNumber - The number of retries sending an RTR over the return channel.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  long aReadyToReceiveTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aCtsTimeoutInMs,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aCtsTimeoutInMs - The timeout in milliseconds to wait for an RTR request (transmitter) from the receiver.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  long aReadyToReceiveTimeoutInMs,
                                                                                                                  SegmentPackager aReadyToReceiveSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToReceiveTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTR ("ready-to-send") to the transmitter.
        aReadyToReceiveSegmentPackager - The RTR SegmentPackager for packaging RTR responses.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToReceiveSegment

        public static <DECORATEE extends SegmentReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment​(DECORATEE aDecoratee,
                                                                                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be wrapped by the according decorator.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the control-flow decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ReadyToReceiveSegmentDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes no timeout (blocking mode).
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a CTS response (transmitter) from the receiver after signaling a RTS ("ready-to-send") to the receiver.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSectionPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSectionPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSectionPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSectionPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSection

        public static <DECORATEE extends SectionReadyToSendSectionDecorator<DECORATEE> readyToSendSection​(DECORATEE aDecoratee,
                                                                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the control-flow decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ReadyToSendSectionDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes no timeout (blocking mode).
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            byte[] aClearToSendMagicBytes)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a CTS response (transmitter) from the receiver after signaling a RTS ("ready-to-send") to the receiver.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            byte[] aReadyToSendMagicBytes,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            byte[] aClearToSendMagicBytes,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            int aReadyToSendRetryNumber,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            long aClearToSendTimeoutInMs)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aEnquiryStandbyTimeInMs,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            long aReadyToSendTimeoutInMs,
                                                                                                            SegmentPackager aReadyToSendSegmentPackager,
                                                                                                            long aClearToSendTimeoutInMs,
                                                                                                            SegmentPackager aClearToSendSegmentPackager)
        Constructs an according flow-control decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the flow-control decorator.
        aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
        aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
        aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
        aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • readyToSendSegment

        public static <DECORATEE extends SegmentReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment​(DECORATEE aDecoratee,
                                                                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be enriched.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the control-flow decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ReadyToSendSegmentDecorator.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty allocation value with a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH bytes used to specify the referencee's length and the provided Endianess representation of the referencee's length.
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created LengthSegment.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(int aLengthWidth)
        Constructs an empty allocation value with the given number of bytes used to specify the referencee's length and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the referencee's length.
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created LengthSegment.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(int aLengthWidth,
                                                                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty allocation value with the given number of bytes used to specify the referencee's length and the provided Endianess representation of the referencee's length.
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created LengthSegment.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(REFERENCEE aReferencee,
                                                                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs the allocation value with the given referencee and a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH bytes used to specify the referencee's length and the provided Endianess representation of the referencee's length.
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aReferencee - The referencee used for this allocation value.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created LengthSegment.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(REFERENCEE aReferencee,
                                                                                                int aLengthWidth)
        Constructs the allocation value with the given referencee and with the given number of bytes used to specify the referencee's length and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the referencee's length.
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aReferencee - The referencee used for this allocation value.
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created LengthSegment.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(REFERENCEE aReferencee,
                                                                                                int aLengthWidth,
                                                                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs the allocation value with the given referencee and with the given number of bytes used to specify the referencee's length and the provided Endianess representation of the referencee's length.
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aReferencee - The referencee used for this allocation value.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created LengthSegment.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(REFERENCEE aReferencee,
                                                                                                TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aReferencee - The referencee used for this allocation value.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LengthSegment.
      • segmentLength

        public static <REFERENCEE extends TransmissionLengthSegment<REFERENCEE> segmentLength​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        REFERENCEE - The type of the Segment referencee.
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created LengthSegment.
      • sequenceNumberSegment

        public static SequenceNumberSegment sequenceNumberSegment​(int aSequenceNumberWidth,
                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a SequenceNumberSegment with the given TransmissionMetrics. Only those properties of the TransmissionMetrics are considered which are also supported by the other constructors.
        Parameters:
        aSequenceNumberWidth - The number of bytes to be occupied by the number.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created SequenceNumberSegment.
      • sequenceNumberSegment

        public static SequenceNumberSegment sequenceNumberSegment​(int aSequenceNumberWidth,
                                                                  Long aSequenceNumber,
                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a SequenceNumberSegment with the given TransmissionMetrics. Only those properties of the TransmissionMetrics are considered which are also supported by the other constructors.
        Parameters:
        aSequenceNumberWidth - The number of bytes to be occupied by the number.
        aSequenceNumber - The value (payload) to be contained by the NumberSegment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created SequenceNumberSegment.
      • sequenceNumberSegment

        public static SequenceNumberSegment sequenceNumberSegment​(String aAlias,
                                                                  int aSequenceNumberWidth,
                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a SequenceNumberSegment with the given TransmissionMetrics. Only those properties of the TransmissionMetrics are considered which are also supported by the other constructors.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aSequenceNumberWidth - The number of bytes to be occupied by the number.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created SequenceNumberSegment.
      • sequenceNumberSegment

        public static SequenceNumberSegment sequenceNumberSegment​(String aAlias,
                                                                  int aSequenceNumberWidth,
                                                                  Long aSequenceNumber,
                                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a SequenceNumberSegment with the given TransmissionMetrics. Only those properties of the TransmissionMetrics are considered which are also supported by the other constructors.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aSequenceNumberWidth - The number of bytes to be occupied by the number.
        aSequenceNumber - The value (payload) to be contained by the NumberSegment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created SequenceNumberSegment.
      • shortArraySection

        public static ShortArraySection shortArraySection​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty ShortArraySection with the given Endianess.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                          short... aValue)
        Constructs a ShortArraySection with the given short array payload and the given Endianess for the representation of the ShortArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(org.refcodes.numerical.Endianess aEndianess,
                                                          Short... aValue)
        Constructs a ShortArraySection with the given short array payload and the given Endianess for the representation of the ShortArraySection's value.
        Parameters:
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(String aAlias,
                                                          org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty ShortArraySection with the given Endianess.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(String aAlias,
                                                          org.refcodes.numerical.Endianess aEndianess,
                                                          short... aValue)
        Constructs a ShortArraySection with the given short array payload and the given Endianess for the representation of the ShortArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(String aAlias,
                                                          org.refcodes.numerical.Endianess aEndianess,
                                                          Short... aValue)
        Constructs a ShortArraySection with the given short array payload and the given Endianess for the representation of the ShortArraySection's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for payload values.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(String aAlias,
                                                          TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(String aAlias,
                                                          TransmissionMetrics aTransmissionMetrics,
                                                          short... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(String aAlias,
                                                          TransmissionMetrics aTransmissionMetrics,
                                                          Short... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                          short... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortArraySection

        public static ShortArraySection shortArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                          Short... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the ShortArraySection.
        Returns:
        The accordingly created ShortArraySection.
      • shortSegment

        public static ShortSegment shortSegment​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty ShortSegment with the given Endianess endian representation of the ShortSegment's value.
        Parameters:
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created ShortSegment.
      • shortSegment

        public static ShortSegment shortSegment​(Short aValue,
                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs a ShortSegment with the given short payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aValue - The value (payload) to be contained by the ShortSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created ShortSegment.
      • shortSegment

        public static ShortSegment shortSegment​(Short aValue,
                                                TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ShortSegment.
      • shortSegment

        public static ShortSegment shortSegment​(String aAlias,
                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty ShortSegment with the given Endianess endian representation of the ShortSegment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created ShortSegment.
      • shortSegment

        public static ShortSegment shortSegment​(String aAlias,
                                                Short aValue,
                                                org.refcodes.numerical.Endianess aEndianess)
        Constructs a ShortSegment with the given short payload and the given Endianess for the representation of the Segment's value.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The value (payload) to be contained by the ShortSegment.
        aEndianess - The Endianess to be used for the payload values.
        Returns:
        The accordingly created ShortSegment.
      • shortSegment

        public static ShortSegment shortSegment​(String aAlias,
                                                Short aValue,
                                                TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the DoubleArraySection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ShortSegment.
      • shortSegment

        public static ShortSegment shortSegment​(String aAlias,
                                                TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ShortSegment.
      • shortSegment

        public static ShortSegment shortSegment​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created ShortSegment.
      • stopAndWaitPacketStreamSection

        public static <DECORATEE extends SectionStopAndWaitPacketStreamSectionDecorator<DECORATEE> stopAndWaitPacketStreamSection​(DECORATEE aDecoratee,
                                                                                                                                    int aBlockSize,
                                                                                                                                    int aPacketLengthWidth,
                                                                                                                                    byte[] aPacketMagicBytes,
                                                                                                                                    byte[] aLastPacketMagicBytes,
                                                                                                                                    int aSequenceNumberInitValue,
                                                                                                                                    int aSequenceNumberWidth,
                                                                                                                                    org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                                                    SegmentPackager aPacketSegmentPackager,
                                                                                                                                    byte[] aAcknowledgeMagicBytes,
                                                                                                                                    int aAckRetryNumber,
                                                                                                                                    long aAckTimeoutInMs,
                                                                                                                                    SegmentPackager aAckSegmentPackager,
                                                                                                                                    org.refcodes.numerical.Endianess aEndianess)
        Constructs an according packet-stream decorator instance wrapping the given OutputStream.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be chunked into blocks and enriched with a CRC checksum and a sequence number.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the packet-stream decorator.
        aBlockSize - The block size of a data block for each packet.
        aPacketLengthWidth - The width (bytes) for declaring the (max) length of a package.
        aPacketMagicBytes - The magic bytes identifying a packet and distinguishing a packet from a last package.
        aLastPacketMagicBytes - the a last packet magic bytes
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aPacketSegmentPackager - An (optional) SegmentPackager used to modify a packet's data e.g. with a CRC checksum.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - An (optional) SegmentPackager used to modify a ACK response data e.g. with a CRC checksum.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitPacketStreamSectionDecorator.
      • stopAndWaitPacketStreamSection

        public static <DECORATEE extends SectionStopAndWaitPacketStreamSectionDecorator<DECORATEE> stopAndWaitPacketStreamSection​(DECORATEE aDecoratee,
                                                                                                                                    TransmissionMetrics aTransmissionMetrics)
        Constructs an according packet-stream decorator instance wrapping the given OutputStream. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be chunked into blocks and enriched with a CRC checksum and a sequence number.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the packet-stream decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StopAndWaitPacketStreamSectionDecorator.
      • stopAndWaitPacketStreamSegment

        public static <DECORATEE extends SegmentStopAndWaitPacketStreamSegmentDecorator<DECORATEE> stopAndWaitPacketStreamSegment​(DECORATEE aDecoratee,
                                                                                                                                    int aBlockSize,
                                                                                                                                    int aPacketLengthWidth,
                                                                                                                                    byte[] aPacketMagicBytes,
                                                                                                                                    byte[] aLastPacketMagicBytes,
                                                                                                                                    int aSequenceNumberInitValue,
                                                                                                                                    int aSequenceNumberWidth,
                                                                                                                                    org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                                                    SegmentPackager aPacketSegmentPackager,
                                                                                                                                    byte[] aAcknowledgeMagicBytes,
                                                                                                                                    int aAckRetryNumber,
                                                                                                                                    long aAckTimeoutInMs,
                                                                                                                                    SegmentPackager aAckSegmentPackager,
                                                                                                                                    org.refcodes.numerical.Endianess aEndianess)
        Constructs an according packet-stream decorator instance wrapping the given OutputStream.
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be chunked into blocks and enriched with a CRC checksum and a sequence number.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the packet-stream decorator.
        aBlockSize - The block size of a data block for each packet.
        aPacketLengthWidth - The width (bytes) for declaring the (max) length of a package.
        aPacketMagicBytes - The magic bytes identifying a packet and distinguishing a packet from a last package.
        aLastPacketMagicBytes - the a last packet magic bytes
        aSequenceNumberInitValue - the a sequence number init value
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aPacketSegmentPackager - An (optional) SegmentPackager used to modify a packet's data e.g. with a CRC checksum.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - An (optional) SegmentPackager used to modify a ACK response data e.g. with a CRC checksum.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitPacketStreamSegmentDecorator.
      • stopAndWaitPacketStreamSegment

        public static <DECORATEE extends SegmentStopAndWaitPacketStreamSegmentDecorator<DECORATEE> stopAndWaitPacketStreamSegment​(DECORATEE aDecoratee,
                                                                                                                                    TransmissionMetrics aTransmissionMetrics)
        Constructs an according packet-stream decorator instance wrapping the given OutputStream. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The decoratee type describing the according subclass to be chunked into blocks and enriched with a CRC checksum and a sequence number.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the packet-stream decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StopAndWaitPacketStreamSegmentDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            SegmentPackager aAckSegmentPackager,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - the ack segment packager
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            SegmentPackager aAckSegmentPackager,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - the ack segment packager
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            SegmentPackager aAckSegmentPackager,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - the ack segment packager
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            SegmentPackager aAckSegmentPackager)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAckSegmentPackager - the ack segment packager
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSection

        public static <DECORATEE extends SectionStopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection​(DECORATEE aDecoratee,
                                                                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The Section type describing the Section subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StopAndWaitSectionDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            SegmentPackager aAckSegmentPackager,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - the ack segment packager
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            SegmentPackager aAckSegmentPackager,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - the ack segment packager
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.ChecksumValidationMode aCrcChecksumValidationMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aCrcChecksumValidationMode - The mode of operation when validating provided CRC checksums against calculated ones.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aCrcChecksumConcatenateMode - The mode of concatenation to use when concatenating the CRC checksum with the transmission's Sequence.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aCrcAlgorithm - The CrcAlgorithm to be used for CRC checksum calculation.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            int aSequenceNumberInitValue,
                                                                                                            int aSequenceNumberWidth,
                                                                                                            org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode,
                                                                                                            byte[] aAcknowledgeMagicBytes,
                                                                                                            int aAckRetryNumber,
                                                                                                            long aAckTimeoutInMs,
                                                                                                            SegmentPackager aAckSegmentPackager,
                                                                                                            org.refcodes.numerical.Endianess aEndianess)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aSequenceNumberInitValue - The initial sequence number from where to start counting the blocks.
        aSequenceNumberWidth - The width (in bytes) to be used for sequence number values.
        aSequenceNumberConcatenateMode - The mode of concatenation to use when creating a Sequence from this Transmission and the decorated Transmission.
        aAcknowledgeMagicBytes - The ACK character to be used by the return channel to transmit an ACK (acknowledge) response after successful receiving a transmission.
        aAckRetryNumber - The number of retries waiting for an ACK from the return channel.
        aAckTimeoutInMs - The timeout in milliseconds to pend till the next retry.
        aAckSegmentPackager - the ack segment packager
        aEndianess - The Endianess to use for integer (double) numbers and the like.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            SegmentPackager aAckSegmentPackager)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee.
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aAckSegmentPackager - the ack segment packager
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stopAndWaitSegment

        public static <DECORATEE extends SegmentStopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment​(DECORATEE aDecoratee,
                                                                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according stop-and-wait decorator instance wrapping the given decoratee. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Type Parameters:
        DECORATEE - The Segment type describing the Segment subclass decoratee.
        Parameters:
        aDecoratee - The decoratee to be wrapped by the stop-and-wait decorator.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StopAndWaitSegmentDecorator.
      • stringArraySection

        public static StringArraySection stringArraySection​(int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            Charset aCharset,
                                                            String... aValue)
        Constructs a StringArraySection using containing the provided StringSection elements and using the provided Segment class for creating Segment instances.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for size values.
        aEndianess - The Endianess to be used for size values.
        aCharset - The Charset to use when encoding or decoding the String instances.
        aValue - The String elements being contained in this instance.
        Returns:
        The accordingly created StringArraySection.
      • stringArraySection

        public static StringArraySection stringArraySection​(String aAlias,
                                                            int aLengthWidth,
                                                            org.refcodes.numerical.Endianess aEndianess,
                                                            Charset aCharset,
                                                            String... aValue)
        Constructs a StringArraySection using containing the provided StringSection elements and using the provided Segment class for creating Segment instances.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aLengthWidth - The width (in bytes) to be used for size values.
        aEndianess - The Endianess to be used for size values.
        aCharset - The Charset to use when encoding or decoding the String instances.
        aValue - The String elements being contained in this instance.
        Returns:
        The accordingly created StringArraySection.
      • stringArraySection

        public static StringArraySection stringArraySection​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringArraySection.
      • stringArraySection

        public static StringArraySection stringArraySection​(String aAlias,
                                                            TransmissionMetrics aTransmissionMetrics,
                                                            String... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the StringArraySection.
        Returns:
        The accordingly created StringArraySection.
      • stringArraySection

        public static StringArraySection stringArraySection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringArraySection.
      • stringArraySection

        public static StringArraySection stringArraySection​(TransmissionMetrics aTransmissionMetrics,
                                                            String... aValue)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        aValue - The payload to be contained by the StringArraySection.
        Returns:
        The accordingly created StringArraySection.
      • stringSection

        public static StringSection stringSection​(String aAlias,
                                                  String aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the StringSection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringSection.
      • stringSection

        public static StringSection stringSection​(String aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the StringSection.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringSection.
      • stringSection

        public static StringSection stringSection​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringSection.
      • stringSegment

        public static StringSegment stringSegment()
        Instantiates a new string segment.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(Charset aEncoding,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with a payload expected to be encoded with the given Charset.
        Parameters:
        aEncoding - The Charset to be used for encoding and decoding String instances.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(Charset aEncoding,
                                                  int aLengthWidth)
        Constructs a StringSegment with a payload expected to be encoded with the given Charset.
        Parameters:
        aEncoding - The Charset to be used for encoding and decoding String instances.
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(Charset aEncoding,
                                                  int aLengthWidth,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with a payload expected to be encoded with the given Charset.
        Parameters:
        aEncoding - The Charset to be used for encoding and decoding String instances.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty allocation value with a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH bytes used to specify the decoratee's length and the provided Endianess representation of the decoratee's length.
        Parameters:
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(int aLengthWidth)
        Constructs an empty allocation value with the given number of bytes used to specify the decoratee's length and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the decoratee's length.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(int aLengthWidth,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs an empty allocation value with the given number of bytes used to specify the decoratee's length and the provided Endianess representation of the decoratee's length.
        Parameters:
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aValue,
                                                  Charset aEncoding,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with the given String payload being encoded with the given Charset.
        Parameters:
        aValue - The payload to be contained by this StringSegment.
        aEncoding - The Charset to be used for encoding the String.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aValue,
                                                  Charset aEncoding,
                                                  int aLengthWidth)
        Constructs a StringSegment with the given String payload being encoded with the given Charset.
        Parameters:
        aValue - The payload to be contained by this StringSegment.
        aEncoding - The Charset to be used for encoding the String.
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aValue,
                                                  Charset aEncoding,
                                                  int aLengthWidth,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with the given String payload being encoded with the given Charset.
        Parameters:
        aValue - The payload to be contained by this StringSegment.
        aEncoding - The Charset to be used for encoding the String.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aValue,
                                                  int aLengthWidth,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with the given String payload being encoded with the TransmissionMetrics.DEFAULT_ENCODING.
        Parameters:
        aValue - The payload to be contained by this StringSegment.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aAlias,
                                                  String aValue,
                                                  Charset aEncoding,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with the given String payload being encoded with the given Charset.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The payload to be contained by this StringSegment.
        aEncoding - The Charset to be used for encoding the String.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aAlias,
                                                  String aValue,
                                                  Charset aEncoding,
                                                  int aLengthWidth)
        Constructs a StringSegment with the given String payload being encoded with the given Charset.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The payload to be contained by this StringSegment.
        aEncoding - The Charset to be used for encoding the String.
        aLengthWidth - The width (in bytes) to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aAlias,
                                                  String aValue,
                                                  Charset aEncoding,
                                                  int aLengthWidth,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with the given String payload being encoded with the given Charset.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The payload to be contained by this StringSegment.
        aEncoding - The Charset to be used for encoding the String.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aAlias,
                                                  String aValue,
                                                  int aLengthWidth,
                                                  org.refcodes.numerical.Endianess aEndianess)
        Constructs a StringSegment with the given String payload being encoded with the TransmissionMetrics.DEFAULT_ENCODING.
        Parameters:
        aAlias - The alias which identifies the content of this segment.
        aValue - The payload to be contained by this StringSegment.
        aLengthWidth - The width (in bytes) to be used for length values.
        aEndianess - The Endianess to be used for length values.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aAlias,
                                                  String aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aAlias - The alias which identifies the content of this instance.
        aValue - The payload to be contained by the StringSegment.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(String aValue,
                                                  TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aValue - The payload to be contained by the StringSegment.
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringSegment.
      • stringSegment

        public static StringSegment stringSegment​(TransmissionMetrics aTransmissionMetrics)
        Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
        Parameters:
        aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
        Returns:
        The accordingly created StringSegment.