java.lang.Object
org.refcodes.serial.SerialSugar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <DECORATEE extends Section>
AllocSectionDecoratorSegment<DECORATEE>allocSegment(DECORATEE aDecoratee) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static <DECORATEE extends Section>
AllocSectionDecoratorSegment<DECORATEE>allocSegment(DECORATEE aDecoratee, int aLengthWidth) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static <DECORATEE extends Section>
AllocSectionDecoratorSegment<DECORATEE>allocSegment(DECORATEE aDecoratee, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static <DECORATEE extends Section>
AllocSectionDecoratorSegment<DECORATEE>allocSegment(DECORATEE aDecoratee, org.refcodes.numerical.Endianess aEndianess) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static <DECORATEE extends Section>
AllocSectionDecoratorSegment<DECORATEE>allocSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an accordingAllocSectionDecoratorSegmentinstance.static <DECORATEE extends Section>
AllocSegmentBody<DECORATEE>allocSegmentBody(DECORATEE aDecoratee) Constructs the decorator with the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static AllocSegmentHeadConstructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadallocSegmentHead(int aLengthWidth) Constructs an empty head with the given number of bytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadallocSegmentHead(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.static AllocSegmentHeadallocSegmentHead(org.refcodes.numerical.Endianess aEndianess) Constructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.static AllocSegmentHeadallocSegmentHead(AllocSegmentBody<?> aBody) Constructs the head with the given body and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadallocSegmentHead(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 aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadallocSegmentHead(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 providedEndianessrepresentation of the body's length.static AllocSegmentHeadallocSegmentHead(AllocSegmentBody<?> aBody, org.refcodes.numerical.Endianess aEndianess) Constructs the head with the given body and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.static AllocSegmentHeadallocSegmentHead(AllocSegmentBody<?> aBody, TransmissionMetrics aTransmissionMetrics) Constructs the head with the given body.static <ARRAY extends Segment>
SegmentArraySection<ARRAY>arraySection(ARRAY... aSegmentArray) Constructs aSegmentArraySectionwith the givenSegmentelements.static <ARRAY extends Segment>
SegmentArraySection<ARRAY>arraySection(Class<ARRAY> aSegmentClass) Constructs aSegmentArraySectionwith instances of the array being created using the providedClassinstance.static <ARRAY extends Segment>
SegmentArraySection<ARRAY>arraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory) Constructs aSegmentArraySectionwith instances of the array being created using the providedTypeFactoryinstance.static <ARRAY extends Segment>
SegmentArraySection<ARRAY>arraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegmentArray) Constructs aSegmentArraySectionwith the given elements.static AsciizArraySegmentasciizArraySegment(byte aEndOfStringByte, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aPayload) Constructs anAsciizArraySegmentusing the providedStringelements and using the providedSegmentclass for creatingSegmentinstances.static AsciizArraySegmentasciizArraySegment(byte aEndOfStringByte, String... aPayload) Constructs anAsciizArraySegmentcontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTHas well as theTransmissionMetrics.DEFAULT_ENDIANESS.static AsciizArraySegmentasciizArraySegment(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aPayload) Constructs anAsciizArraySegmentusing the providedStringelements and using the providedSegmentclass for creatingSegmentinstances.static AsciizArraySegmentasciizArraySegment(String... aPayload) Constructs anAsciizArraySegmentcontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTHas well as theTransmissionMetrics.DEFAULT_ENDIANESS.static AsciizArraySegmentasciizArraySegment(String aAlias, byte aEndOfStringByte, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aPayload) Constructs anAsciizArraySegmentusing the provided arguments.static AsciizArraySegmentasciizArraySegment(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aPayload) Constructs anAsciizArraySegmentusing the provided arguments.static AsciizArraySegmentasciizArraySegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs anAsciizArraySegmentfrom the given configuration.static AsciizArraySegmentasciizArraySegment(String aAlias, TransmissionMetrics aTransmissionMetrics, byte aEndOfStringByte) Constructs anAsciizArraySegmentfrom the given configuration.static AsciizArraySegmentasciizArraySegment(String aAlias, TransmissionMetrics aTransmissionMetrics, String... aValue) Constructs anAsciizArraySegmentfrom the given configuration.static AsciizArraySegmentasciizArraySegment(TransmissionMetrics aTransmissionMetrics) Constructs anAsciizArraySegmentfrom the given configuration.static AsciizArraySegmentasciizArraySegment(TransmissionMetrics aTransmissionMetrics, String... aValue) Constructs anAsciizArraySegmentfrom the given configuration.static AsciizSegmentConstructs an emptyAsciizSegment.static AsciizSegmentasciizSegment(byte aEndOfStringByte) Constructs an emptyAsciizSegment.static AsciizSegmentasciizSegment(byte[] aValue) Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload.static AsciizSegmentasciizSegment(byte[] aValue, byte aEndOfStringByte) Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload.static AsciizSegmentasciizSegment(String aValue) Constructs anAsciizSegmentwith the givenStringpayload.static AsciizSegmentasciizSegment(String aValue, byte aEndOfStringByte) Constructs anAsciizSegmentwith the givenStringpayload.static AsciizSegmentasciizSegment(String aAlias, byte[] aValue) Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload.static AsciizSegmentasciizSegment(String aAlias, byte[] aValue, byte aEndOfStringByte) Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload.static AsciizSegmentasciizSegment(String aAlias, String aValue) Constructs anAsciizSegmentwith the givenStringpayload.static AsciizSegmentasciizSegment(String aAlias, String aValue, byte aEndOfStringByte) Constructs anAsciizSegmentwith the givenStringpayload.static AsciizSegmentasciizSegment(String aAlias, TransmissionMetrics aTransmissionMetrics, byte[] aValue) Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload.static AsciizSegmentasciizSegment(String aAlias, TransmissionMetrics aTransmissionMetrics, String aValue) Constructs anAsciizSegmentwith the givenStringpayload.static AsciizSegmentasciizSegment(TransmissionMetrics aTransmissionMetrics) Constructs an emptyAsciizSegment.static AsciizSegmentasciizSegment(TransmissionMetrics aTransmissionMetrics, byte[] aValue) Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload.static AsciizSegmentasciizSegment(TransmissionMetrics aTransmissionMetrics, String aValue) Constructs anAsciizSegmentwith the givenStringpayload.static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>assertMagicBytesSection(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>assertMagicBytesSection(DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>assertMagicBytesSection(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static AssertMagicBytesSegmentassertMagicBytesSegment(byte... aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes.static AssertMagicBytesSegmentassertMagicBytesSegment(byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes.static <DECORATEE extends Segment>
AssertMagicBytesSegmentDecorator<DECORATEE>assertMagicBytesSegment(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed.static <DECORATEE extends Segment>
AssertMagicBytesSegmentDecorator<DECORATEE>assertMagicBytesSegment(DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Segment>
AssertMagicBytesSegmentDecorator<DECORATEE>assertMagicBytesSegment(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static AssertMagicBytesSegmentassertMagicBytesSegment(String aMagicBytes) Constructs anAssertMagicBytesSegmentwith the according magic bytes (retrieved from the givenString).static AssertMagicBytesSegmentassertMagicBytesSegment(String aAlias, byte... aMagicBytes) Constructs anAssertMagicBytesSegmentwith the according magic bytes.static AssertMagicBytesSegmentassertMagicBytesSegment(String aAlias, byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAssertMagicBytesSegmentwith the according magic bytes.static <DECORATEE extends Segment>
AssertMagicBytesSegmentDecorator<DECORATEE>assertMagicBytesSegment(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed.static <DECORATEE extends Segment>
AssertMagicBytesSegmentDecorator<DECORATEE>assertMagicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Segment>
AssertMagicBytesSegmentDecorator<DECORATEE>assertMagicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static AssertMagicBytesSegmentassertMagicBytesSegment(String aAlias, String aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static AssertMagicBytesSegmentassertMagicBytesSegment(String aAlias, String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static AssertMagicBytesSegmentassertMagicBytesSegment(String aAlias, String aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static AssertMagicBytesSegmentassertMagicBytesSegment(String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static AssertMagicBytesSegmentassertMagicBytesSegment(String aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static AssertMagicBytesSegmentassertMagicBytesSegment(TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static BooleanArraySectionConstructs an emptyBooleanArraySection.static BooleanArraySectionbooleanArraySection(boolean... aValue) Constructs aBooleanArraySectionwith the given boolean array payload.static BooleanArraySectionbooleanArraySection(Boolean... aValue) Constructs aBooleanArraySectionwith the given boolean array payload.static BooleanArraySectionbooleanArraySection(String aAlias) Constructs an emptyBooleanArraySection.static BooleanArraySectionbooleanArraySection(String aAlias, boolean... aValue) Constructs aBooleanArraySectionwith the given boolean array payload.static BooleanArraySectionbooleanArraySection(String aAlias, Boolean... aValue) Constructs aBooleanArraySectionwith the given boolean array payload.static BooleanSegmentConstructs an emptyBooleanSegment.static BooleanSegmentbooleanSegment(boolean aValue) Constructs aBooleanSegmentwith the given boolean payload.static BooleanSegmentbooleanSegment(String aAlias) Constructs an emptyBooleanSegment.static BooleanSegmentbooleanSegment(String aAlias, boolean aValue) Constructs aBooleanSegmentwith the given boolean payload.static <DECORATEE extends Section>
BreakerSectionDecorator<DECORATEE>breakerSection(DECORATEE aDecoratee, int aBreakNumber) Constructs aBreakerSectionDecoratorinstance with the given decoratee breaking deserialization of the decorated segments by the given number of times.static <DECORATEE extends Segment>
BreakerSegmentDecorator<DECORATEE>breakerSegment(DECORATEE aDecoratee, int aBreakNumber) Constructs aBreakerSegmentDecoratorinstance with the given decoratee breaking deserialization of the decorated segments by the given number of times.static ByteArraySectionConstructs an emptyByteArraySection.static ByteArraySectionbyteArraySection(byte... aArray) Constructs aByteArraySectionwith the given byte array payload.static ByteArraySectionbyteArraySection(Byte... aArray) Constructs aByteArraySectionwith the given byte array payload.static ByteArraySectionbyteArraySection(String aAlias) Constructs an emptyByteArraySection.static ByteArraySectionbyteArraySection(String aAlias, byte... aArray) Constructs aByteArraySectionwith the given byte array payload.static ByteArraySectionbyteArraySection(String aAlias, Byte... aArray) Constructs aByteArraySectionwith the given byte array payload.static ByteSegmentConstructs an emptyByteSegment.static ByteSegmentbyteSegment(Byte aValue) Constructs aByteSegmentwith the given byte payload.static ByteSegmentbyteSegment(String aAlias) Constructs an emptyByteSegment.static ByteSegmentbyteSegment(String aAlias, Byte aValue) Constructs aByteSegmentwith the given byte payload.static CharArraySectionConstructs an emptyCharArraySection.static CharArraySectioncharArraySection(char[] aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(Character[] aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(String aAlias) Constructs an emptyCharArraySection.static CharArraySectioncharArraySection(String aAlias, char[] aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(String aAlias, Character[] aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(String aAlias, Charset aCharset) Constructs an emptyCharArraySection.static CharArraySectioncharArraySection(String aAlias, Charset aCharset, char... aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(String aAlias, Charset aCharset, Character... aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static CharArraySectioncharArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, char... aValue) Constructs an according instance from the given configuration.static CharArraySectioncharArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, Character... aValue) Constructs an according instance from the given configuration.static CharArraySectioncharArraySection(Charset aCharset) Constructs an emptyCharArraySection.static CharArraySectioncharArraySection(Charset aCharset, char... aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(Charset aCharset, Character... aPayload) Constructs aCharArraySectionwith the given char array payload.static CharArraySectioncharArraySection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static CharArraySectioncharArraySection(TransmissionMetrics aTransmissionMetrics, char... aValue) Constructs an according instance from the given configuration.static CharArraySectioncharArraySection(TransmissionMetrics aTransmissionMetrics, Character... aValue) Constructs an according instance from the given configuration.static CharSectionConstructs an emptyCharSection.static CharSectioncharSection(char aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static CharSectioncharSection(Character aPayload) Constructs aCharSectionwith the given char payload.static CharSectioncharSection(Character aPayload, Charset aCharset) Constructs aCharSectionwith the given char payload and the givenCharset.static CharSectioncharSection(Character aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static CharSectioncharSection(String aAlias) Constructs an emptyCharSection.static CharSectioncharSection(String aAlias, char aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static CharSectioncharSection(String aAlias, Character aPayload) Constructs aCharSectionwith the given char payload.static CharSectioncharSection(String aAlias, Character aPayload, Charset aCharset) Constructs aCharSectionwith the given char payload and the givenCharset.static CharSectioncharSection(String aAlias, Character aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static CharSectioncharSection(String aAlias, Charset aCharset) Constructs an emptyCharSectionwith the givenCharset.static CharSectioncharSection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static CharSectioncharSection(Charset aCharset) Constructs an emptyCharSectionwith the givenCharset.static CharSectioncharSection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <DECORATEE extends Section>
CipherSectionDecorator<DECORATEE>cipherSection(DECORATEE aDecoratee, Cipher aCipher) Constructs aCiphertransmission decorator applying bijective and inverse functions upon the delegated methods.static <DECORATEE extends Segment>
CipherSegmentDecorator<DECORATEE>cipherSegment(DECORATEE aDecoratee, Cipher aCipher) Constructs aCiphertransmission decorator applying bijective and inverse functions upon the delegated methods.static <T> ComplexTypeSegment<T>complexTypeSegment(Class<T> aType) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(Class<T> aType, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(Class<T> aType, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(Class<T> aType, String... aAttributes) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(Class<T> aType, TransmissionMetrics aTransmissionMetrics) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(Class<T> aType, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, Class<T> aType) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, Class<T> aType, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, Class<T> aType, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, Class<T> aType, String... aAttributes) Constructs aComplexTypeSegmentfrom the givenClassfor the according type T.static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, T aValue) Constructs aComplexTypeSegmentfrom the given data structure instance.static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aComplexTypeSegmentfrom the given data structure instance.static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aComplexTypeSegmentfrom the given data structure instance..static <T> ComplexTypeSegment<T>complexTypeSegment(String aAlias, T aValue, String... aAttributes) Constructs aComplexTypeSegmentfrom the given data structure instance..static <T> ComplexTypeSegment<T>complexTypeSegment(T aValue) Constructs aComplexTypeSegmentfrom the given data structure instance.static <T> ComplexTypeSegment<T>complexTypeSegment(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aComplexTypeSegmentfrom the given data structure instance.static <T> ComplexTypeSegment<T>complexTypeSegment(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aComplexTypeSegmentfrom the given data structure instance..static <T> ComplexTypeSegment<T>complexTypeSegment(T aValue, String... aAttributes) Constructs aComplexTypeSegmentfrom the given data structure instance..static <T> ComplexTypeSegment<T>complexTypeSegment(T aValue, TransmissionMetrics aTransmissionMetrics) Constructs aComplexTypeSegmentfrom the given data structure instance.static <T> ComplexTypeSegment<T>complexTypeSegment(T aValue, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aComplexTypeSegmentfrom the given data structure instance..static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcPrefixSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSegmentDecoratorwrapping the givenSegment.static CrcSegmentPackagercrcSegmentPackager(org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static CrcSegmentPackagercrcSegmentPackager(org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.static CrcSegmentPackagercrcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.static CrcSegmentPackagercrcSegmentPackager(TransmissionMetrics aTransmissionMetrics) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.static <DECORATEE extends Segment>
CrcSegmentDecorator<DECORATEE>crcSuffixSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static DoubleArraySectionConstructs an emptyDoubleArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static DoubleArraySectiondoubleArraySection(double... aValue) Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(Double... aValue) Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(String aAlias) Constructs an emptyDoubleArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static DoubleArraySectiondoubleArraySection(String aAlias, double... aValue) Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(String aAlias, Double... aValue) Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyDoubleArraySectionwith the givenEndianess.static DoubleArraySectiondoubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, double... aValue) Constructs aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Double... aValue) Constructs aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static DoubleArraySectiondoubleArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, double... aValue) Constructs an according instance from the given configuration.static DoubleArraySectiondoubleArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, Double... aValue) Constructs an according instance from the given configuration.static DoubleArraySectiondoubleArraySection(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyDoubleArraySectionwith the givenEndianess.static DoubleArraySectiondoubleArraySection(org.refcodes.numerical.Endianess aEndianess, double... aValue) Constructs aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(org.refcodes.numerical.Endianess aEndianess, Double... aValue) Constructs aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.static DoubleArraySectiondoubleArraySection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static DoubleArraySectiondoubleArraySection(TransmissionMetrics aTransmissionMetrics, double... aValue) Constructs an according instance from the given configuration.static DoubleArraySectiondoubleArraySection(TransmissionMetrics aTransmissionMetrics, Double... aValue) Constructs an according instance from the given configuration.static DoubleSegmentConstructs an emptyDoubleSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.static DoubleSegmentdoubleSegment(Double aValue) Constructs aDoubleSegmentwith the given double payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.static DoubleSegmentdoubleSegment(Double aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aDoubleSegmentwith the given double payload and the givenEndianessfor the representation of theSegment's value.static DoubleSegmentdoubleSegment(Double aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static DoubleSegmentdoubleSegment(String aAlias) Constructs an emptyDoubleSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.static DoubleSegmentdoubleSegment(String aAlias, Double aValue) Constructs aDoubleSegmentwith the given double payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.static DoubleSegmentdoubleSegment(String aAlias, Double aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aDoubleSegmentwith the given double payload and the givenEndianessfor the representation of theSegment's value.static DoubleSegmentdoubleSegment(String aAlias, Double aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static DoubleSegmentdoubleSegment(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyDoubleSegmentwith the givenEndianessendian representation of theDoubleSegment's value.static DoubleSegmentdoubleSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static DoubleSegmentdoubleSegment(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyDoubleSegmentwith the givenEndianessendian representation of theDoubleSegment's value.static DoubleSegmentdoubleSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.Constructs an accordingSegmentPackager.DummySegmentPackager.static DynamicTypeSectionConstructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static DynamicTypeSectiondynamicTypeSection(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static DynamicTypeSectiondynamicTypeSection(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSectionwith the given properties.static DynamicTypeSectiondynamicTypeSection(String aAlias) Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static DynamicTypeSectiondynamicTypeSection(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static DynamicTypeSectiondynamicTypeSection(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSectionwith the given properties.static DynamicTypeSectiondynamicTypeSection(String aAlias, Charset aCharset) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static DynamicTypeSectiondynamicTypeSection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue) Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aAttributes) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, String... aAttributes) Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, Charset aCharset) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(String aAlias, T aValue, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aDynamicTypeSectionwith the given properties.static DynamicTypeSectiondynamicTypeSection(Charset aCharset) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static DynamicTypeSectiondynamicTypeSection(TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(T aValue) Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSectiondynamicTypeSection(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSectiondynamicTypeSection(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aAttributes) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSectiondynamicTypeSection(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(T aValue, String... aAttributes) Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSectiondynamicTypeSection(T aValue, Charset aCharset) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSectiondynamicTypeSection(T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSectiondynamicTypeSection(T aValue, TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSectionwith the given properties.static <T> DynamicTypeSectiondynamicTypeSection(T aValue, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aDynamicTypeSectionwith the given properties.static DynamicTypeSegmentConstructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static DynamicTypeSegmentdynamicTypeSegment(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static DynamicTypeSegmentdynamicTypeSegment(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSegmentwith the given properties.static DynamicTypeSegmentdynamicTypeSegment(String aAlias) Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static DynamicTypeSegmentdynamicTypeSegment(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static DynamicTypeSegmentdynamicTypeSegment(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSegmentwith the given properties.static DynamicTypeSegmentdynamicTypeSegment(String aAlias, Charset aCharset) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static DynamicTypeSegmentdynamicTypeSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue) Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aAttributes) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, String... aAttributes) Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, Charset aCharset) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(String aAlias, T aValue, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aDynamicTypeSegmentwith the given properties.static DynamicTypeSegmentdynamicTypeSegment(Charset aCharset) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static DynamicTypeSegmentdynamicTypeSegment(TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue) Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aAttributes) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, String... aAttributes) Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, Charset aCharset) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, TransmissionMetrics aTransmissionMetrics) Constructs aDynamicTypeSegmentwith the given properties.static <T> DynamicTypeSegmentdynamicTypeSegment(T aValue, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aDynamicTypeSegmentwith the given properties.static <E extends Enum<E>>
EnumSegment<E>enumSegment(Class<E> aType) Constructs an emptyEnumSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>enumSegment(Class<E> aType, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyEnumSegmentwith the givenEndianess.static <E extends Enum<E>>
EnumSegment<E>enumSegment(Class<E> aType, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <E extends Enum<E>>
EnumSegment<E>enumSegment(Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>enumSegment(Enum<E> aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <E extends Enum<E>>
EnumSegment<E>enumSegment(String aAlias, Class<E> aType) Constructs an emptyEnumSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>enumSegment(String aAlias, Class<E> aType, Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>enumSegment(String aAlias, Class<E> aType, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyEnumSegmentwith the givenEndianess.static <E extends Enum<E>>
EnumSegment<E>enumSegment(String aAlias, Class<E> aType, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <E extends Enum<E>>
EnumSegment<E>enumSegment(String aAlias, Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>enumSegment(String aAlias, Enum<E> aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static FileSectionfileSection(File aFile) Constructs aFileSection.static FileSectionfileSection(File aBasePath, Supplier<String> aFilePathSupplier) Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.static FileSectionfileSection(String aFilePath) Constructs aFileSection.static FileSectionfileSection(String aAlias, File aFile) Constructs aFileSection.static FileSectionfileSection(String aAlias, File aBasePath, Supplier<String> aFilePathSupplier) Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.static FileSectionfileSection(String aAlias, String aFilePath) Constructs aFileSection.static FileSectionfileSection(String aAlias, String aBasePath, Supplier<String> aFilePathSupplier) Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.static FileSectionfileSection(String aBasePath, Supplier<String> aFilePathSupplier) Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.static FileSectionfileSection(Supplier<String> aFilePathSupplier) Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.static FixedLengthSequenceSegmentfixedLengthSequenceSegment(int aSequenceSize) Constructs aFixedLengthSequenceSegment.static FixedLengthSequenceSegmentfixedLengthSequenceSegment(String aAlias, int aSequenceSize) Constructs aFixedLengthSequenceSegment.static FixedLengthSequenceSegmentfixedLengthSequenceSegment(String aAlias, Sequence aSequence) Constructs aFixedLengthSequenceSegment.static FixedLengthSequenceSegmentfixedLengthSequenceSegment(Sequence aSequence) Constructs aFixedLengthSequenceSegment.static <ARRAY extends Segment>
FixedSegmentArraySection<ARRAY>fixedSegmentArraySection(ARRAY... aSegmentArray) Constructs aFixedSegmentArraySectionwith the givenSegmentelements.static <ARRAY extends Segment>
FixedSegmentArraySection<ARRAY>fixedSegmentArraySection(Class<ARRAY> aSegmentClass) Constructs aFixedSegmentArraySectionwith instances of the array being created using the providedClassinstance.static <ARRAY extends Segment>
FixedSegmentArraySection<ARRAY>fixedSegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory) Constructs aFixedSegmentArraySectionwith instances of the array being created using the providedTypeFactoryinstance.static <ARRAY extends Segment>
FixedSegmentArraySection<ARRAY>fixedSegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegmentArray) Constructs aFixedSegmentArraySectionwith the given elements.static FloatArraySectionConstructs an emptyFloatArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static FloatArraySectionfloatArraySection(float... aValue) Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(Float... aValue) Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(String aAlias) Constructs an emptyFloatArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static FloatArraySectionfloatArraySection(String aAlias, float... aValue) Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(String aAlias, Float... aValue) Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyFloatArraySectionwith the givenEndianess.static FloatArraySectionfloatArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, float... aValue) Constructs aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Float... aValue) Constructs aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static FloatArraySectionfloatArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, float... aValue) Constructs an according instance from the given configuration.static FloatArraySectionfloatArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, Float... aValue) Constructs an according instance from the given configuration.static FloatArraySectionfloatArraySection(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyFloatArraySectionwith the givenEndianess.static FloatArraySectionfloatArraySection(org.refcodes.numerical.Endianess aEndianess, float... aValue) Constructs aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(org.refcodes.numerical.Endianess aEndianess, Float... aValue) Constructs aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.static FloatArraySectionfloatArraySection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static FloatArraySectionfloatArraySection(TransmissionMetrics aTransmissionMetrics, float... aValue) Constructs an according instance from the given configuration.static FloatArraySectionfloatArraySection(TransmissionMetrics aTransmissionMetrics, Float... aValue) Constructs an according instance from the given configuration.static FloatSegmentConstructs an emptyFloatSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.static FloatSegmentfloatSegment(Float aValue) Constructs aFloatSegmentwith the given float payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.static FloatSegmentfloatSegment(Float aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aFloatSegmentwith the given float payload and the givenEndianessfor the representation of theSegment's value.static FloatSegmentfloatSegment(Float aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static FloatSegmentfloatSegment(String aAlias) Constructs an emptyFloatSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.static FloatSegmentfloatSegment(String aAlias, Float aValue) Constructs aFloatSegmentwith the given float payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.static FloatSegmentfloatSegment(String aAlias, Float aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aFloatSegmentwith the given float payload and the givenEndianessfor the representation of theSegment's value.static FloatSegmentfloatSegment(String aAlias, Float aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static FloatSegmentfloatSegment(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyFloatSegmentwith the givenEndianessendian representation of theFloatSegment's value.static FloatSegmentfloatSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static FloatSegmentfloatSegment(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyFloatSegmentwith the givenEndianessendian representation of theFloatSegment's value.static FloatSegmentfloatSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static IntArraySectionConstructs an emptyIntArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static IntArraySectionintArraySection(int... aValue) Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.static IntArraySectionintArraySection(Integer... aValue) Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.static IntArraySectionintArraySection(String aAlias) Constructs an emptyIntArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static IntArraySectionintArraySection(String aAlias, int... aValue) Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.static IntArraySectionintArraySection(String aAlias, Integer... aValue) Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.static IntArraySectionintArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyIntArraySectionwith the givenEndianess.static IntArraySectionintArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, int... aValue) Constructs aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.static IntArraySectionintArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Integer... aValue) Constructs aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.static IntArraySectionintArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static IntArraySectionintArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, int... aValue) Constructs an according instance from the given configuration.static IntArraySectionintArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, Integer... aValue) Constructs an according instance from the given configuration.static IntArraySectionintArraySection(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyIntArraySectionwith the givenEndianess.static IntArraySectionintArraySection(org.refcodes.numerical.Endianess aEndianess, int... aValue) Constructs aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.static IntArraySectionintArraySection(org.refcodes.numerical.Endianess aEndianess, Integer... aValue) Constructs aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.static IntArraySectionintArraySection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static IntArraySectionintArraySection(TransmissionMetrics aTransmissionMetrics, int... aValue) Constructs an according instance from the given configuration.static IntArraySectionintArraySection(TransmissionMetrics aTransmissionMetrics, Integer... aValue) Constructs an according instance from the given configuration.static IntSegmentConstructs an emptyIntSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.static IntSegmentintSegment(Integer aValue) Constructs aIntSegmentwith the given int payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.static IntSegmentintSegment(Integer aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aIntSegmentwith the given int payload and the givenEndianessfor the representation of theSegment's value.static IntSegmentintSegment(Integer aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static IntSegmentintSegment(String aAlias) Constructs an emptyIntSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.static IntSegmentintSegment(String aAlias, Integer aValue) Constructs aIntSegmentwith the given int payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.static IntSegmentintSegment(String aAlias, Integer aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aIntSegmentwith the given int payload and the givenEndianessfor the representation of theSegment's value.static IntSegmentintSegment(String aAlias, Integer aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static IntSegmentintSegment(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyIntSegmentwith the givenEndianessendian representation of theIntSegment's value.static IntSegmentintSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static IntSegmentintSegment(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyIntSegmentwith the givenEndianessendian representation of theIntSegment's value.static IntSegmentintSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <DECORATEE extends Section>
InvertibleSectionDecorator<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.static <DECORATEE extends Section>
InvertibleSectionDecorator<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.static <DECORATEE extends Segment>
InvertibleSegmentDecorator<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.static <DECORATEE extends Segment>
InvertibleSegmentDecorator<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.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>lengthSegment(DECORATEE aSegment) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>lengthSegment(DECORATEE aSegment, int aLengthWidth) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>lengthSegment(DECORATEE aSegment, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>lengthSegment(DECORATEE aSegment, org.refcodes.numerical.Endianess aEndianess) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>lengthSegment(DECORATEE aSegment, TransmissionMetrics aTransmissionMetrics) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static LongArraySectionConstructs an emptyLongArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static LongArraySectionlongArraySection(long... aValue) Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.static LongArraySectionlongArraySection(Long... aValue) Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.static LongArraySectionlongArraySection(String aAlias) Constructs an emptyLongArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static LongArraySectionlongArraySection(String aAlias, long... aValue) Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.static LongArraySectionlongArraySection(String aAlias, Long... aValue) Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.static LongArraySectionlongArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyLongArraySectionwith the givenEndianess.static LongArraySectionlongArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, long... aValue) Constructs aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.static LongArraySectionlongArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Long... aValue) Constructs aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.static LongArraySectionlongArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static LongArraySectionlongArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, long... aValue) Constructs an according instance from the given configuration.static LongArraySectionlongArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, Long... aValue) Constructs an according instance from the given configuration.static LongArraySectionlongArraySection(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyLongArraySectionwith the givenEndianess.static LongArraySectionlongArraySection(org.refcodes.numerical.Endianess aEndianess, long... aValue) Constructs aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.static LongArraySectionlongArraySection(org.refcodes.numerical.Endianess aEndianess, Long... aValue) Constructs aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.static LongArraySectionlongArraySection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static LongArraySectionlongArraySection(TransmissionMetrics aTransmissionMetrics, long... aValue) Constructs an according instance from the given configuration.static LongArraySectionlongArraySection(TransmissionMetrics aTransmissionMetrics, Long... aValue) Constructs an according instance from the given configuration.static LongSegmentConstructs an emptyLongSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.static LongSegmentlongSegment(Long aValue) Constructs aLongSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.static LongSegmentlongSegment(Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aLongSegmentwith the given long payload and the givenEndianessfor the representation of theSegment's value.static LongSegmentlongSegment(Long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static LongSegmentlongSegment(String aAlias) Constructs an emptyLongSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.static LongSegmentlongSegment(String aAlias, Long aValue) Constructs aLongSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.static LongSegmentlongSegment(String aAlias, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aLongSegmentwith the given long payload and the givenEndianessfor the representation of theSegment's value.static LongSegmentlongSegment(String aAlias, Long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static LongSegmentlongSegment(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyLongSegmentwith the givenEndianessendian representation of theLongSegment's value.static LongSegmentlongSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static LongSegmentlongSegment(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyLongSegmentwith the givenEndianessendian representation of theLongSegment's value.static LongSegmentlongSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSectionwith magic bytes of the given length to be prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(String aAlias, DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSectionwith magic bytes of the given length to be prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static MagicBytesSectionMultiplexermagicBytesSectionMultiplexer(int aReadLimit, Section... aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.static MagicBytesSectionMultiplexermagicBytesSectionMultiplexer(Collection<Section> aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.static MagicBytesSectionMultiplexermagicBytesSectionMultiplexer(Collection<Section> aSections, int aReadLimit) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.static MagicBytesSectionMultiplexermagicBytesSectionMultiplexer(Section... aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.static MagicBytesSegmentmagicBytesSegment(byte... aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes.static MagicBytesSegmentmagicBytesSegment(byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentmagicBytesSegment(int aMagicBytesLength) Constructs anAbstractMagicBytesTransmissionwith magic bytes of the given length.static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed.static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSegmentwith magic bytes of the given length to be prefixed.static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Enriches the provided decoratee with magic bytes of the given length to be prefixed.static MagicBytesSegmentmagicBytesSegment(String aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentmagicBytesSegment(String aAlias, byte... aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes.static MagicBytesSegmentmagicBytesSegment(String aAlias, byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentmagicBytesSegment(String aAlias, int aMagicBytesLength) Constructs anAbstractMagicBytesTransmissionwith magic bytes of the given length.static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed.static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(String aAlias, DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSegmentwith magic bytes of the given length to be prefixed.static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Segment>
MagicBytesSegmentDecorator<DECORATEE>magicBytesSegment(String aAlias, DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Enriches the provided decoratee with magic bytes of the given length to be prefixed.static MagicBytesSegmentmagicBytesSegment(String aAlias, String aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentmagicBytesSegment(String aAlias, String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentmagicBytesSegment(String aAlias, String aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentmagicBytesSegment(String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentmagicBytesSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentmagicBytesSegment(TransmissionMetrics aTransmissionMetrics, String aMagicBytes) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentMultiplexermagicBytesSegmentMultiplexer(int aReadLimit, Segment... aSegments) Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.static MagicBytesSegmentMultiplexermagicBytesSegmentMultiplexer(Collection<Segment> aSegments) Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.static MagicBytesSegmentMultiplexermagicBytesSegmentMultiplexer(Collection<Segment> aSegments, int aReadLimit) Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.static MagicBytesSegmentMultiplexermagicBytesSegmentMultiplexer(Segment... aSegments) Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.static NullSegmentstatic NumberSegmentnumberSegment(int aNumberWidth) Constructs an emptyNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.static NumberSegmentnumberSegment(int aNumberWidth, Long aValue) Constructs aNumberSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.static NumberSegmentnumberSegment(int aNumberWidth, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aNumberSegmentwith the given long payload and the givenEndianessfor the representation of theNumberSegment's value (payload).static NumberSegmentnumberSegment(int aNumberWidth, Long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static NumberSegmentnumberSegment(int aNumberWidth, String aAlias) Constructs an emptyNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.static NumberSegmentnumberSegment(int aNumberWidth, String aAlias, Long aValue) Constructs aNumberSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.static NumberSegmentnumberSegment(int aNumberWidth, String aAlias, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aNumberSegmentwith the given long payload and the givenEndianessfor the representation of theNumberSegment's value (payload).static NumberSegmentnumberSegment(int aNumberWidth, String aAlias, Long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static NumberSegmentnumberSegment(int aNumberWidth, String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyNumberSegmentwith the givenEndianess.static NumberSegmentnumberSegment(int aNumberWidth, String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static NumberSegmentnumberSegment(int aNumberWidth, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyNumberSegmentwith the givenEndianess.static NumberSegmentnumberSegment(int aNumberWidth, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static PropertiesSectionConstructs an emptyPropertiesSectionusing UTF-8 encoding for the payload.static PropertiesSectionpropertiesSection(String aAlias) Constructs an emptyPropertiesSectionusing UTF-8 encoding for the payload.static PropertiesSectionpropertiesSection(String aAlias, Charset aCharset) Constructs aPropertiesSectionwith a payload expected to be encoded with the givenCharset.static PropertiesSectionpropertiesSection(String aAlias, org.refcodes.properties.Properties aPayload) Constructs aPropertiesSectionwith the givenPropertiespayload being UTF-8 encoded.static PropertiesSectionpropertiesSection(String aAlias, org.refcodes.properties.Properties aPayload, Charset aCharset) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset.static PropertiesSectionpropertiesSection(String aAlias, org.refcodes.properties.Properties aPayload, TransmissionMetrics aTransmissionMetrics) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset.static PropertiesSectionpropertiesSection(Charset aCharset) Constructs aPropertiesSectionwith a payload expected to be encoded with the givenCharset.static PropertiesSectionpropertiesSection(org.refcodes.properties.Properties aPayload) Constructs aPropertiesSectionwith the givenPropertiespayload being UTF-8 encoded.static PropertiesSectionpropertiesSection(org.refcodes.properties.Properties aPayload, Charset aCharset) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset.static PropertiesSectionpropertiesSection(org.refcodes.properties.Properties aPayload, TransmissionMetrics aTransmissionMetrics) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<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.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>readyToReceiveSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aCtsTimeoutInMs, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToReceiveSegmentDecorator<DECORATEE>readyToReceiveSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, long aReadyToSendTimeoutInMs, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, SegmentPackager aReadyToSendSectionPackager, byte[] aClearToSendMagicBytes, SegmentPackager aClearToSendSectionPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<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.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSectionPackager, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSectionPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>readyToSendSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator.Builder<DECORATEE>Constructs a builder to build an accordingReadyToSendSectionDecoratorinstance.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, long aReadyToSendTimeoutInMs, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, SegmentPackager aClearToSendSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<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.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator<DECORATEE>readyToSendSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
ReadyToSendSegmentDecorator.Builder<DECORATEE>Constructs a builder to build an accordingReadyToSendSegmentDecoratorinstance.static <CHILD extends Segment>
SegmentComposite<CHILD>segmentComposite(CHILD... aChildren) Constructs aSegmentCompositecontaining the providedSegmentelements.static <CHILD extends Segment>
SegmentComposite<CHILD>segmentComposite(Collection<CHILD> aChildren) Constructs aSegmentCompositecontaining the providedSegmentelements.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>segmentLength(int aLengthWidth) Constructs an empty allocation value with the given number of bytes used to specify the referencee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<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 providedEndianessrepresentation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>segmentLength(org.refcodes.numerical.Endianess aEndianess) Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length and the providedEndianessrepresentation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>segmentLength(TransmissionMetrics aTransmissionMetrics) Constructs an according instance.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>segmentLength(REFERENCEE aReferencee) Constructs the allocation value with the given referencee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<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 aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<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 providedEndianessrepresentation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>segmentLength(REFERENCEE aReferencee, org.refcodes.numerical.Endianess aEndianess) Constructs the allocation value with the given referencee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length and the providedEndianessrepresentation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>segmentLength(REFERENCEE aReferencee, TransmissionMetrics aTransmissionMetrics) Constructs an according instance.static SequenceNumberSegmentsequenceNumberSegment(int aSequenceNumberWidth, Long aSequenceNumberInitValue, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics.static SequenceNumberSegmentsequenceNumberSegment(int aSequenceNumberWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics.static SequenceNumberSegmentsequenceNumberSegment(long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.static SequenceNumberSegmentsequenceNumberSegment(String aAlias, int aSequenceNumberWidth, Long aSequenceNumberInitValue, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics.static SequenceNumberSegmentsequenceNumberSegment(String aAlias, int aSequenceNumberWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics.static SequenceNumberSegmentsequenceNumberSegment(String aAlias, long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.static SequenceNumberSegmentsequenceNumberSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.static SequenceNumberSegmentsequenceNumberSegment(TransmissionMetrics aTransmissionMetrics) Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.static SequenceSectionConstructs aSequenceSection.static SequenceSectionsequenceSection(int aSequenceSize) Constructs aSequenceSection.static SequenceSectionsequenceSection(String aAlias) Constructs aSequenceSection.static SequenceSectionsequenceSection(String aAlias, int aSequenceSize) Constructs aSequenceSection.static SequenceSectionsequenceSection(String aAlias, Sequence aSequence) Constructs aSequenceSection.static SequenceSectionsequenceSection(Sequence aSequence) Constructs aSequenceSection.static ShortArraySectionConstructs an emptyShortArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static ShortArraySectionshortArraySection(short... aValue) Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.static ShortArraySectionshortArraySection(Short... aValue) Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.static ShortArraySectionshortArraySection(String aAlias) Constructs an emptyShortArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.static ShortArraySectionshortArraySection(String aAlias, short... aValue) Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.static ShortArraySectionshortArraySection(String aAlias, Short... aValue) Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.static ShortArraySectionshortArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyShortArraySectionwith the givenEndianess.static ShortArraySectionshortArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, short... aValue) Constructs aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.static ShortArraySectionshortArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Short... aValue) Constructs aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.static ShortArraySectionshortArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortArraySectionshortArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, short... aValue) Constructs an according instance from the given configuration.static ShortArraySectionshortArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, Short... aValue) Constructs an according instance from the given configuration.static ShortArraySectionshortArraySection(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyShortArraySectionwith the givenEndianess.static ShortArraySectionshortArraySection(org.refcodes.numerical.Endianess aEndianess, short... aValue) Constructs aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.static ShortArraySectionshortArraySection(org.refcodes.numerical.Endianess aEndianess, Short... aValue) Constructs aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.static ShortArraySectionshortArraySection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortArraySectionshortArraySection(TransmissionMetrics aTransmissionMetrics, short... aValue) Constructs an according instance from the given configuration.static ShortArraySectionshortArraySection(TransmissionMetrics aTransmissionMetrics, Short... aValue) Constructs an according instance from the given configuration.static ShortSegmentConstructs an emptyShortSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.static ShortSegmentshortSegment(Short aValue) Constructs aShortSegmentwith the given short payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.static ShortSegmentshortSegment(Short aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aShortSegmentwith the given short payload and the givenEndianessfor the representation of theSegment's value.static ShortSegmentshortSegment(Short aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortSegmentshortSegment(String aAlias) Constructs an emptyShortSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.static ShortSegmentshortSegment(String aAlias, Short aValue) Constructs aShortSegmentwith the given short payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.static ShortSegmentshortSegment(String aAlias, Short aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aShortSegmentwith the given short payload and the givenEndianessfor the representation of theSegment's value.static ShortSegmentshortSegment(String aAlias, Short aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortSegmentshortSegment(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyShortSegmentwith the givenEndianessendian representation of theShortSegment's value.static ShortSegmentshortSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortSegmentshortSegment(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyShortSegmentwith the givenEndianessendian representation of theShortSegment's value.static ShortSegmentshortSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator<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 givenOutputStream.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator<DECORATEE>stopAndWaitPacketStreamSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according packet-stream decorator instance wrapping the givenOutputStream.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator.Builder<DECORATEE>Constructs a builder to build an accordingStopAndWaitPacketStreamSectionDecoratorinstance.static <DECORATEE extends Segment>
StopAndWaitPacketStreamSegmentDecorator<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 givenOutputStream.static <DECORATEE extends Segment>
StopAndWaitPacketStreamSegmentDecorator<DECORATEE>stopAndWaitPacketStreamSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according packet-stream decorator instance wrapping the givenOutputStream.static <DECORATEE extends Segment>
StopAndWaitPacketStreamSegmentDecorator.Builder<DECORATEE>Constructs a builder to build an accordingStopAndWaitPacketStreamSegmentDecoratorinstance.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>stopAndWaitSection(DECORATEE aDecoratee) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>stopAndWaitSection(DECORATEE aDecoratee, byte[] aAcknowledgeMagicBytes, int aAckRetryNumber, long aAckTimeoutInMs, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>stopAndWaitSection(DECORATEE aDecoratee, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>stopAndWaitSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<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.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>stopAndWaitSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>stopAndWaitSection(DECORATEE aDecoratee, SegmentPackager aAckSegmentPackager) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>stopAndWaitSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator.Builder<DECORATEE>Constructs a builder to build an accordingStopAndWaitSectionDecoratorinstance.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<DECORATEE>stopAndWaitSegment(DECORATEE aDecoratee) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<DECORATEE>stopAndWaitSegment(DECORATEE aDecoratee, byte[] aAcknowledgeMagicBytes, int aAckRetryNumber, long aAckTimeoutInMs, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<DECORATEE>stopAndWaitSegment(DECORATEE aDecoratee, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<DECORATEE>stopAndWaitSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<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.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<DECORATEE>stopAndWaitSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<DECORATEE>stopAndWaitSegment(DECORATEE aDecoratee, SegmentPackager aAckSegmentPackager) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator<DECORATEE>stopAndWaitSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator.Builder<DECORATEE>Constructs a builder to build an accordingStopAndWaitSegmentDecoratorinstance.static StringArraySectionConstructs an emptyStringArraySectionusing theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.static StringArraySectionstringArraySection(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aValue) Constructs aStringArraySectionusing containing the providedStringSectionelements and using the providedSegmentclass for creatingSegmentinstances.static StringArraySectionstringArraySection(String aAlias) Constructs an emptyStringArraySectionusing theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.static StringArraySectionstringArraySection(String... aValue) Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.static StringArraySectionstringArraySection(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aValue) Constructs aStringArraySectionusing containing the providedStringSectionelements and using the providedSegmentclass for creatingSegmentinstances.static StringArraySectionstringArraySection(String aAlias, String[] aValue) Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.static StringArraySectionstringArraySection(String aAlias, Charset aCharset, String... aValue) Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, as well as theTransmissionMetrics.DEFAULT_ENDIANESS.static StringArraySectionstringArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringArraySectionstringArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, String... aValue) Constructs an according instance from the given configuration.static StringArraySectionstringArraySection(Charset aCharset, String... aValue) Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, as well as theTransmissionMetrics.DEFAULT_ENDIANESS.static StringArraySectionstringArraySection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringArraySectionstringArraySection(TransmissionMetrics aTransmissionMetrics, String... aValue) Constructs an according instance from the given configuration.static StringSectionConstructs an emptyStringSectionusing theTransmissionMetrics.DEFAULT_ENCODINGencoding for the payload.static StringSectionstringSection(String aValue) Constructs aStringSectionwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSectionstringSection(String aAlias, String aValue) Constructs aStringSectionwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSectionstringSection(String aAlias, String aValue, Charset aCharset) static StringSectionstringSection(String aAlias, String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSectionstringSection(String aValue, Charset aCharset) static StringSectionstringSection(String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSectionstringSection(Charset aCharset) Constructs aStringSectionwith a payload expected to be encoded with the givenCharset.static StringSectionstringSection(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSegmentConstructs aStringSegment.static StringSegmentstringSegment(int aLengthWidth) Constructs an empty allocation value with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static StringSegmentstringSegment(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 providedEndianessrepresentation of the decoratee's length.static StringSegmentstringSegment(String aValue) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aValue, int aLengthWidth) Constructs aStringSegmentwith the givenStringpayload* being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aAlias, String aValue) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aAlias, String aValue, int aLengthWidth) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aAlias, String aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aAlias, String aValue, Charset aEncoding) static StringSegmentstringSegment(String aAlias, String aValue, Charset aEncoding, int aLengthWidth) static StringSegmentstringSegment(String aAlias, String aValue, Charset aEncoding, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) static StringSegmentstringSegment(String aAlias, String aValue, Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) static StringSegmentstringSegment(String aAlias, String aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aAlias, String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSegmentstringSegment(String aValue, Charset aEncoding) static StringSegmentstringSegment(String aValue, Charset aEncoding, int aLengthWidth) static StringSegmentstringSegment(String aValue, Charset aEncoding, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) static StringSegmentstringSegment(String aValue, Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) static StringSegmentstringSegment(String aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentstringSegment(String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSegmentstringSegment(Charset aEncoding) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentstringSegment(Charset aEncoding, int aLengthWidth) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentstringSegment(Charset aEncoding, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentstringSegment(Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentstringSegment(org.refcodes.numerical.Endianess aEndianess) Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static StringSegmentstringSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSegment.BuilderConstructs a builder to build an accordingStringSegmentinstance.
-
Constructor Details
-
SerialSugar
protected SerialSugar()Instantiates a new serial sugar.
-
-
Method Details
-
nullSegment
- Returns:
- The accordingly created
NullSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(Class<E> aType, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
E- The type of the enumeration.- Parameters:
aType- the enumeratrion's typeaTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(Enum<E> aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
E- The type of the enumeration.- Parameters:
aValue- The payload to be contained by theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(String aAlias, Class<E> aType, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
E- The type of the enumeration.- Parameters:
aAlias- The alias which identifies the content of this instance.aType- the enumeratrion's typeaTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(String aAlias, Enum<E> aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
E- The type of the enumeration.- Parameters:
aAlias- The alias which identifies the content of this instance.aValue- The payload to be contained by theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
Constructs an emptyEnumSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theEnumSegment's value.- Type Parameters:
E- The type of the enumeration.- Parameters:
aType- the enumeratrion's type- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(Class<E> aType, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyEnumSegmentwith the givenEndianess.- Type Parameters:
E- The type of the enumeration.- Parameters:
aType- the enumeratrion's typeaEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.- Type Parameters:
E- The type of the enumeration.- Parameters:
aValue- The value (payload) to be contained by theEnumSegment.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
Constructs an emptyEnumSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theEnumSegment's value.- Type Parameters:
E- The type of the enumeration.- Parameters:
aAlias- The alias which identifies the content of this segment.aType- the enumeratrion's type- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(String aAlias, Class<E> aType, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyEnumSegmentwith the givenEndianess.- Type Parameters:
E- The type of the enumeration.- Parameters:
aAlias- The alias which identifies the content of this segment.aType- the enumeratrion's typeaEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(String aAlias, Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.- Type Parameters:
E- The type of the enumeration.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theEnumSegment.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
EnumSegment.
-
enumSegment
public static <E extends Enum<E>> EnumSegment<E> enumSegment(String aAlias, Class<E> aType, Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.- Type Parameters:
E- The type of the enumeration.- Parameters:
aAlias- The alias which identifies the content of this segment.aType- the enumeration's typeaValue- The value (payload) to be contained by theEnumSegment.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
EnumSegment.
-
allocSegment
public static <DECORATEE extends Section> AllocSectionDecoratorSegment<DECORATEE> allocSegment(DECORATEE aDecoratee) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee used for this decorator.- Returns:
- The accordingly created
AllocSectionDecoratorSegment.
-
allocSegment
public static <DECORATEE extends Section> AllocSectionDecoratorSegment<DECORATEE> allocSegment(DECORATEE aDecoratee, org.refcodes.numerical.Endianess aEndianess) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee used for this decorator.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
AllocSectionDecoratorSegment.
-
allocSegment
public static <DECORATEE extends Section> AllocSectionDecoratorSegment<DECORATEE> allocSegment(DECORATEE aDecoratee, int aLengthWidth) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee used for this decorator.aLengthWidth- The width (in bytes) to be used for length values.- Returns:
- The accordingly created
AllocSectionDecoratorSegment.
-
allocSegment
public static <DECORATEE extends Section> AllocSectionDecoratorSegment<DECORATEE> allocSegment(DECORATEE aDecoratee, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aAllocSectionDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee used for this decorator.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
AllocSectionDecoratorSegment.
-
allocSegment
public static <DECORATEE extends Section> AllocSectionDecoratorSegment<DECORATEE> allocSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an accordingAllocSectionDecoratorSegmentinstance. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee used for this decorator.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AllocSectionDecoratorSegment.
-
allocSegmentBody
public static <DECORATEE extends Section> AllocSegmentBody<DECORATEE> allocSegmentBody(DECORATEE aDecoratee) Constructs the decorator with the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.- Type Parameters:
DECORATEE- The type of theSectiondecoratee.- Parameters:
aDecoratee- The decoratee used for this decorator.- Returns:
- The accordingly created
AllocSegmentBody.
-
allocSegmentHead
Constructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.- Returns:
- The accordingly created
AllocSegmentHead.
-
allocSegmentHead
Constructs the head with the given body and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.- Parameters:
aBody- The body referenced by this head.- Returns:
- The accordingly created
AllocSegmentHead.
-
allocSegmentHead
public static AllocSegmentHead allocSegmentHead(AllocSegmentBody<?> aBody, org.refcodes.numerical.Endianess aEndianess) Constructs the head with the given body and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.- Parameters:
aBody- The body referenced by this head.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
AllocSegmentHead.
-
allocSegmentHead
Constructs the head with the given body and with the given number of bytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian 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 providedEndianessrepresentation 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- TheEndianessto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aBody- The body referenced by this head.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AllocSegmentHead.
-
allocSegmentHead
Constructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.- Parameters:
aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
AllocSegmentHead.
-
allocSegmentHead
Constructs an empty head with the given number of bytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian 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 ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
AllocSegmentHead.
-
arraySection
public static <ARRAY extends Segment> SegmentArraySection<ARRAY> arraySection(ARRAY... aSegmentArray) Constructs aSegmentArraySectionwith the givenSegmentelements.Segmentinstances for the array are created using the provided array's component type.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisSegmentArraySection.- Parameters:
aSegmentArray- The array containing the accordingSegmentelements.- Returns:
- The accordingly created
Segment.
-
arraySection
public static <ARRAY extends Segment> SegmentArraySection<ARRAY> arraySection(Class<ARRAY> aSegmentClass) Constructs aSegmentArraySectionwith instances of the array being created using the providedClassinstance.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisSegmentArraySection.- Parameters:
aSegmentClass- The class from which to produce the the fixed lengthSegmentelements.- Returns:
- The accordingly created
Segment.
-
arraySection
public static <ARRAY extends Segment> SegmentArraySection<ARRAY> arraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory) Constructs aSegmentArraySectionwith instances of the array being created using the providedTypeFactoryinstance.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisSegmentArraySection.- Parameters:
aSegmentFactory- The factory producing the the fixed lengthSegmentelements.- Returns:
- The accordingly created
Segment.
-
arraySection
public static <ARRAY extends Segment> SegmentArraySection<ARRAY> arraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegmentArray) Constructs aSegmentArraySectionwith the given elements.Segmentinstances for the array are created using the providedTypeFactoryinstance.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisSegmentArraySection.- Parameters:
aSegmentFactory- The factory producing the the fixed lengthSegmentelements.aSegmentArray- The array containing the accordingSegmentelements.- Returns:
- The accordingly created
Segment.
-
asciizArraySegment
public static AsciizArraySegment asciizArraySegment(byte aEndOfStringByte, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, String... aPayload) Constructs anAsciizArraySegmentusing the providedStringelements and using the providedSegmentclass for creatingSegmentinstances.- 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 TheEndianessto be used for size values.aEndianess- the endianessaPayload- TheStringelements being contained in this instance.- Returns:
- The accordingly created
AsciizArraySegment.
-
asciizArraySegment
Constructs anAsciizArraySegmentcontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTHas well as theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aEndOfStringByte- The alternate value instead of 0 "zero" identifying the end of the string.aPayload- TheStringelements 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 anAsciizArraySegmentusing the providedStringelements and using the providedSegmentclass for creatingSegmentinstances.- Parameters:
aLengthWidth- The width (in bytes) to be used for size values (number of elements in the payload array). * @param aEndianess TheEndianessto be used for size values.aEndianess- the endianessaPayload- TheStringelements being contained in this instance.- Returns:
- The accordingly created
AsciizArraySegment.
-
asciizArraySegment
Constructs anAsciizArraySegmentcontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTHas well as theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aPayload- TheStringelements 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 anAsciizArraySegmentusing 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- TheEndianessto be used for size values.aPayload- TheStringelements 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 anAsciizArraySegmentusing 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- TheEndianessto be used for size values.aPayload- TheStringelements being contained in this instance.- Returns:
- The accordingly created
AsciizArraySegment.
-
asciizArraySegment
public static AsciizArraySegment asciizArraySegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs anAsciizArraySegmentfrom the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AsciizArraySegment.
-
asciizArraySegment
public static AsciizArraySegment asciizArraySegment(String aAlias, TransmissionMetrics aTransmissionMetrics, byte aEndOfStringByte) Constructs anAsciizArraySegmentfrom the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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.
-
asciizArraySegment
public static AsciizArraySegment asciizArraySegment(String aAlias, TransmissionMetrics aTransmissionMetrics, String... aValue) Constructs anAsciizArraySegmentfrom the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theAsciizArraySegment.- Returns:
- The accordingly created
AsciizArraySegment.
-
asciizArraySegment
Constructs anAsciizArraySegmentfrom the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AsciizArraySegment.
-
asciizArraySegment
public static AsciizArraySegment asciizArraySegment(TransmissionMetrics aTransmissionMetrics, String... aValue) Constructs anAsciizArraySegmentfrom the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theAsciizArraySegment.- Returns:
- The accordingly created
AsciizArraySegment.
-
asciizSegment
Constructs an emptyAsciizSegment. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString).- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs an emptyAsciizSegment. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString).- Parameters:
aEndOfStringByte- The alternate value instead of 0 "zero" identifying the end of the string.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(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 resultingString.- Parameters:
aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(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 resultingString.- Parameters:
aValue- The payload to be contained by thisAsciizSegment.aEndOfStringByte- The alternate value instead of 0 "zero" identifying the end of the string.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the givenStringpayload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString). It is in the responsibility of the programmer to make sure that theStringdoes not contain any 0 ("zero") values as a value of 0 unintendedly terminates the resultingString.- Parameters:
aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the givenStringpayload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString). It is in the responsibility of the programmer to make sure that theStringdoes not contain any 0 ("zero") values as a value of 0 unintendedly terminates the resultingString.- Parameters:
aValue- The payload to be contained by thisAsciizSegment.aEndOfStringByte- The alternate value instead of 0 "zero" identifying the end of the string.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(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 resultingString.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(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 resultingString.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisAsciizSegment.aEndOfStringByte- The alternate value instead of 0 "zero" identifying the end of the string.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the givenStringpayload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString). It is in the responsibility of the programmer to make sure that theStringdoes not contain any 0 ("zero") values as a value of 0 unintendedly terminates the resultingString.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the givenStringpayload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString). It is in the responsibility of the programmer to make sure that theStringdoes not contain any 0 ("zero") values as a value of 0 unintendedly terminates the resultingString.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisAsciizSegment.aEndOfStringByte- The alternate value instead of 0 "zero" identifying the end of the string.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
public static AsciizSegment asciizSegment(String aAlias, TransmissionMetrics aTransmissionMetrics, byte[] aValue) Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(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 resultingString.- Parameters:
aAlias- The alias which identifies the content of this segment.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
public static AsciizSegment asciizSegment(String aAlias, TransmissionMetrics aTransmissionMetrics, String aValue) Constructs anAsciizSegmentwith the givenStringpayload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString). It is in the responsibility of the programmer to make sure that theStringdoes not contain any 0 ("zero") values as a value of 0 unintendedly terminates the resultingString.- Parameters:
aAlias- The alias which identifies the content of this segment.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs an emptyAsciizSegment. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString).- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the given (ASCII encoded) bytes payload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(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 resultingString.- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
asciizSegment
Constructs anAsciizSegmentwith the givenStringpayload. The serialized content (as ofAsciizSegment.toSequence()orTransmission.transmitTo(java.io.OutputStream)) of anAsciizSegmentrepresents an an ASCIIZString(also known as CString). It is in the responsibility of the programmer to make sure that theStringdoes not contain any 0 ("zero") values as a value of 0 unintendedly terminates the resultingString.- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by thisAsciizSegment.- Returns:
- The accordingly created
AsciizSegment.
-
assertMagicBytesSection
public static <DECORATEE extends Section> AssertMagicBytesSectionDecorator<DECORATEE> assertMagicBytesSection(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed. Enforces the configured magic bytes to match the received magic bytes (as ofAssertMagicBytesSectionDecorator.fromTransmission(Sequence, int, int)andAssertMagicBytesSectionDecorator.receiveFrom(java.io.InputStream, int, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
AssertMagicBytesSectionDecorator.
-
assertMagicBytesSection
public static <DECORATEE extends Section> AssertMagicBytesSectionDecorator<DECORATEE> assertMagicBytesSection(DECORATEE aDecoratee, String aMagicBytes) Enriches the providedSectionwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofAssertMagicBytesSectionDecorator.fromTransmission(Sequence, int, int)andAssertMagicBytesSectionDecorator.receiveFrom(java.io.InputStream, int, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
AssertMagicBytesSectionDecorator.
-
assertMagicBytesSection
public static <DECORATEE extends Section> AssertMagicBytesSectionDecorator<DECORATEE> assertMagicBytesSection(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) Enriches the providedSectionwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofAssertMagicBytesSectionDecorator.fromTransmission(Sequence, int, int)andAssertMagicBytesSectionDecorator.receiveFrom(java.io.InputStream, int, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
AssertMagicBytesSectionDecorator.
-
assertMagicBytesSection
public static <DECORATEE extends Section> AssertMagicBytesSectionDecorator<DECORATEE> assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed. Enforces the configured magic bytes to match the received magic bytes (as ofAssertMagicBytesSectionDecorator.fromTransmission(Sequence, int, int)andAssertMagicBytesSectionDecorator.receiveFrom(java.io.InputStream, int, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
AssertMagicBytesSectionDecorator.
-
assertMagicBytesSection
public static <DECORATEE extends Section> AssertMagicBytesSectionDecorator<DECORATEE> assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes) Enriches the providedSectionwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofAssertMagicBytesSectionDecorator.fromTransmission(Sequence, int, int)andAssertMagicBytesSectionDecorator.receiveFrom(java.io.InputStream, int, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
AssertMagicBytesSectionDecorator.
-
assertMagicBytesSection
public static <DECORATEE extends Section> AssertMagicBytesSectionDecorator<DECORATEE> assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) Enriches the providedSectionwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofAssertMagicBytesSectionDecorator.fromTransmission(Sequence, int, int)andAssertMagicBytesSectionDecorator.receiveFrom(java.io.InputStream, int, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
AssertMagicBytesSectionDecorator.
-
assertMagicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith the according magic bytes. Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aMagicBytes- The magic bytes to be stored by this instance.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static AssertMagicBytesSegment assertMagicBytesSegment(byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes. Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aMagicBytes- The bytes to be stored by this instance as magic bytes.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static <DECORATEE extends Segment> AssertMagicBytesSegmentDecorator<DECORATEE> assertMagicBytesSegment(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed. Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
AssertMagicBytesSegmentDecorator.
-
assertMagicBytesSegment
public static <DECORATEE extends Segment> AssertMagicBytesSegmentDecorator<DECORATEE> assertMagicBytesSegment(DECORATEE aDecoratee, String aMagicBytes) Enriches the providedSegmentwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andAssertMagicBytesSegmentDecorator.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
AssertMagicBytesSegmentDecorator.
-
assertMagicBytesSegment
public static <DECORATEE extends Segment> AssertMagicBytesSegmentDecorator<DECORATEE> assertMagicBytesSegment(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) Enriches the providedSegmentwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andAssertMagicBytesSegmentDecorator.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
AssertMagicBytesSegmentDecorator.
-
assertMagicBytesSegment
Constructs anAssertMagicBytesSegmentwith the according magic bytes (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
Constructs anAssertMagicBytesSegmentwith the according magic bytes. Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- 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
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static AssertMagicBytesSegment assertMagicBytesSegment(String aAlias, byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAssertMagicBytesSegmentwith the according magic bytes. Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aAlias- The alias which identifies the content of this segment.aMagicBytes- The bytes to be stored by this instance as magic bytes.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static <DECORATEE extends Segment> AssertMagicBytesSegmentDecorator<DECORATEE> assertMagicBytesSegment(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee. Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andAssertMagicBytesSegmentDecorator.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
AssertMagicBytesSegmentDecorator.
-
assertMagicBytesSegment
public static <DECORATEE extends Segment> AssertMagicBytesSegmentDecorator<DECORATEE> assertMagicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes) Enriches the providedSegmentwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andAssertMagicBytesSegmentDecorator.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
AssertMagicBytesSegmentDecorator.
-
assertMagicBytesSegment
public static <DECORATEE extends Segment> AssertMagicBytesSegmentDecorator<DECORATEE> assertMagicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) Enriches the providedSegmentwith magic bytes being prefixed (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andAssertMagicBytesSegmentDecorator.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
AssertMagicBytesSegmentDecorator.
-
assertMagicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aAlias- The alias which identifies the content of this segment.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static AssertMagicBytesSegment assertMagicBytesSegment(String aAlias, String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aAlias- The alias which identifies the content of this segment.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static AssertMagicBytesSegment assertMagicBytesSegment(String aAlias, String aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aAlias- The alias which identifies the content of this segment.aMagicBytes- TheStringto be stored by this instance as magic bytes.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static AssertMagicBytesSegment assertMagicBytesSegment(TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
assertMagicBytesSegment
public static AssertMagicBytesSegment assertMagicBytesSegment(String aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString). Enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like). In case the assertion of the configured magic bytes fails during receiving, then aBadMagicBytesExceptionorBadMagicBytesSequenceExceptionis thrown.- Parameters:
aMagicBytes- TheStringto be stored by this instance as magic bytes.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
AssertMagicBytesSegment.
-
booleanArraySection
Constructs an emptyBooleanArraySection.- Returns:
- The empty
BooleanArraySection.
-
booleanArraySection
Constructs aBooleanArraySectionwith the given boolean array payload.- Parameters:
aValue- The array (payload) to be contained by theBooleanArraySection.- Returns:
- The accordingly created
BooleanArraySection.
-
booleanArraySection
Constructs aBooleanArraySectionwith the given boolean array payload.- Parameters:
aValue- The array (payload) to be contained by theBooleanArraySection.- Returns:
- The accordingly created
BooleanArraySection.
-
booleanArraySection
Constructs an emptyBooleanArraySection.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The empty
BooleanArraySection.
-
booleanArraySection
Constructs aBooleanArraySectionwith the given boolean array payload.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The array (payload) to be contained by theBooleanArraySection.- Returns:
- The accordingly created
BooleanArraySection.
-
booleanArraySection
Constructs aBooleanArraySectionwith the given boolean array payload.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The array (payload) to be contained by theBooleanArraySection.- Returns:
- The accordingly created
BooleanArraySection.
-
booleanSegment
Constructs an emptyBooleanSegment.- Returns:
- The accordingly created
BooleanSegment.
-
booleanSegment
Constructs aBooleanSegmentwith the given boolean payload.- Parameters:
aValue- The value (payload) to be contained by theBooleanSegment.- Returns:
- The accordingly created
BooleanSegment.
-
booleanSegment
Constructs an emptyBooleanSegment.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
BooleanSegment.
-
booleanSegment
Constructs aBooleanSegmentwith the given boolean payload.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theBooleanSegment.- Returns:
- The accordingly created
BooleanSegment.
-
breakerSection
public static <DECORATEE extends Section> BreakerSectionDecorator<DECORATEE> breakerSection(DECORATEE aDecoratee, int aBreakNumber) Constructs aBreakerSectionDecoratorinstance 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- TheSectiontype describing theSectionsubclass 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 Segment> BreakerSegmentDecorator<DECORATEE> breakerSegment(DECORATEE aDecoratee, int aBreakNumber) Constructs aBreakerSegmentDecoratorinstance 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- TheSegmenttype describing theSegmentsubclass 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
Constructs an emptyByteArraySection.- Returns:
- The empty
ByteArraySection.
-
byteArraySection
Constructs aByteArraySectionwith the given byte array payload.- Parameters:
aArray- The array (payload) to be contained by theByteArraySection.- Returns:
- The accordingly created
ByteArraySection.
-
byteArraySection
Constructs aByteArraySectionwith the given byte array payload.- Parameters:
aArray- The array (payload) to be contained by theByteArraySection.- Returns:
- The accordingly created
ByteArraySection.
-
byteArraySection
Constructs an emptyByteArraySection.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The empty
ByteArraySection.
-
byteArraySection
Constructs aByteArraySectionwith the given byte array payload.- Parameters:
aAlias- The alias which identifies the content of this segment.aArray- The array (payload) to be contained by theByteArraySection.- Returns:
- The accordingly created
ByteArraySection.
-
byteArraySection
Constructs aByteArraySectionwith the given byte array payload.- Parameters:
aAlias- The alias which identifies the content of this segment.aArray- The array (payload) to be contained by theByteArraySection.- Returns:
- The accordingly created
ByteArraySection.
-
byteSegment
Constructs an emptyByteSegment.- Returns:
- The accordingly created
ByteSegment.
-
byteSegment
Constructs aByteSegmentwith the given byte payload.- Parameters:
aValue- The value (payload) to be contained by theByteSegment.- Returns:
- The accordingly created
ByteSegment.
-
byteSegment
Constructs an emptyByteSegment.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
ByteSegment.
-
byteSegment
Constructs aByteSegmentwith the given byte payload.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theByteSegment.- Returns:
- The accordingly created
ByteSegment.
-
charArraySection
Constructs an emptyCharArraySection. Uses UTF-16 by default for encoding.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs an emptyCharArraySection.- Parameters:
aCharset- The charset to be used for encoding.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aCharset- The charset to be used for encoding.aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aCharset- The charset to be used for encoding.aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs an emptyCharArraySection. Uses UTF-16 by default for encoding.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aAlias- The alias which identifies the content of this segment.aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aAlias- The alias which identifies the content of this segment.aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs an emptyCharArraySection.- 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
Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aAlias- The alias which identifies the content of this segment.aCharset- The charset to be used for encoding.aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
public static CharArraySection charArraySection(String aAlias, Charset aCharset, Character... aPayload) Constructs aCharArraySectionwith the given char array payload. UsesTransmissionMetrics.DEFAULT_ENCODINGby default for encoding.- Parameters:
aAlias- The alias which identifies the content of this segment.aCharset- The charset to be used for encoding.aPayload- The payload to be contained by theSection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theCharArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theCharArraySection.- Returns:
- The accordingly created
CharArraySection.
-
charArraySection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theCharArraySection.- 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theCharArraySection.- Returns:
- The accordingly created
CharArraySection.
-
charSection
Constructs an emptyCharSection.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theCharSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs aCharSectionwith the given char payload.- Parameters:
aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs aCharSectionwith the given char payload and the givenCharset.- Parameters:
aPayload- The payload to be contained by theSection.aCharset- The charset to be used for encoding.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theCharSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs an emptyCharSectionwith the givenCharset.- Parameters:
aCharset- The charset to be used for encoding.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs an emptyCharSection.- 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 theTransmissionMetricsconfiguration 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 theCharSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs aCharSectionwith the given char payload.- Parameters:
aAlias- The alias which identifies the content of this segment.aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs aCharSectionwith the given char payload and the givenCharset.- Parameters:
aAlias- The alias which identifies the content of this segment.aPayload- The payload to be contained by theSection.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 theTransmissionMetricsconfiguration 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 theCharSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs an emptyCharSectionwith the givenCharset.- 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
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CharSection.
-
charSection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CharSection.
-
cipherSection
public static <DECORATEE extends Section> CipherSectionDecorator<DECORATEE> cipherSection(DECORATEE aDecoratee, Cipher aCipher) Constructs aCiphertransmission decorator applying bijective and inverse functions upon the delegated methods.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decorator having applied theCipher'sBijectiveFunctionto encode and theCipher'sInverseFunctionto decode any data being delegated.aCipher- TheCipherproviding theBijectiveFunctionto encode and theCipher'sInverseFunctionto decode any data being delegated.- Returns:
- The accordingly created
CipherSectionDecorator.
-
cipherSegment
public static <DECORATEE extends Segment> CipherSegmentDecorator<DECORATEE> cipherSegment(DECORATEE aDecoratee, Cipher aCipher) Constructs aCiphertransmission decorator applying bijective and inverse functions upon the delegated methods.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decorator having applied theCipher'sBijectiveFunctionto encode and theCipher'sInverseFunctionto decode any data being delegated.aCipher- TheCipherproviding theBijectiveFunctionto encode and theCipher'sInverseFunctionto decode any data being delegated.- Returns:
- The accordingly created
CipherSegmentDecorator.
-
complexTypeSegment
Constructs aComplexTypeSegmentfrom the givenClassfor 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 invokecomplexTypeSegment(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 aComplexTypeSegmentfrom the givenClassfor 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 invokecomplexTypeSegment(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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aComplexTypeSegmentfrom the givenClassfor 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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.aAttributes- The attributes or null if all attributes are to be processed in alphabetical order.- Returns:
- The accordingly created
ComplexTypeSegment.
-
complexTypeSegment
Constructs aComplexTypeSegmentfrom the givenClassfor 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 aComplexTypeSegmentfrom the givenClassfor 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 invokecomplexTypeSegment(Class, TransmissionMetrics, String[])instead! The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 aComplexTypeSegmentfrom the givenClassfor 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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
Constructs aComplexTypeSegmentfrom the givenClassfor 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 invokecomplexTypeSegment(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 aComplexTypeSegmentfrom the givenClassfor 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 invokecomplexTypeSegment(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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aComplexTypeSegmentfrom the givenClassfor 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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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 aComplexTypeSegmentfrom the givenClassfor 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
Constructs aComplexTypeSegmentfrom 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 invokecomplexTypeSegment(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 aComplexTypeSegmentfrom 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 invokecomplexTypeSegment(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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aComplexTypeSegmentfrom 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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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 aComplexTypeSegmentfrom 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
Constructs aComplexTypeSegmentfrom 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 invokecomplexTypeSegment(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 aComplexTypeSegmentfrom 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 invokecomplexTypeSegment(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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aComplexTypeSegmentfrom 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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.aAttributes- The attributes or null if all attributes are to be processed in alphabetical order.- Returns:
- The accordingly created
ComplexTypeSegment.
-
complexTypeSegment
Constructs aComplexTypeSegmentfrom 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 aComplexTypeSegmentfrom 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 invokecomplexTypeSegment(Class, TransmissionMetrics, String[])instead! The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 aComplexTypeSegmentfrom 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 Section> CrcSectionDecorator<DECORATEE> crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcPrefixSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcPrefixSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcPrefixSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcPrefixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcPrefixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcPrefixSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcPrefixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcPrefixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcPrefixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcPrefixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSectionDecoratorwrapping the givenSection.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSegmentDecoratorwrapping the givenSegment. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSegmentPackager
public static CrcSegmentPackager crcSegmentPackager(org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Parameters:
aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence..- Returns:
- The accordingly created
CrcSegmentPackager.
-
crcSegmentPackager
public static CrcSegmentPackager crcSegmentPackager(org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor 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'sSequence.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentPackager.
-
crcSegmentPackager
public static CrcSegmentPackager crcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.- Returns:
- The accordingly created
CrcSegmentPackager.
-
crcSegmentPackager
public static CrcSegmentPackager crcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- 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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto 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 accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence..- Returns:
- The accordingly created
CrcSegmentPackager.
-
crcSegmentPackager
public static CrcSegmentPackager crcSegmentPackager(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum (usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence..aChecksumValidationMode- 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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence..aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto 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 accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto 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 accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum.- Parameters:
aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentPackager.
-
crcSegmentPackager
Constructs an accordingCrcSegmentPackagerfor packaging and extracting of packets with a CRC checksum. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CrcSegmentPackager.
-
crcSuffixSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSuffixSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSuffixSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSuffixSection
public static <DECORATEE extends Section> CrcSectionDecorator<DECORATEE> crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- TheSectionto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSectionDecorator.
-
crcSuffixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSuffixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSuffixSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSuffixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs aCrcSegmentDecoratorwrapping the givenSegment(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSuffixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
crcSuffixSegment
public static <DECORATEE extends Segment> CrcSegmentDecorator<DECORATEE> crcSuffixSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSegmentDecoratorwrapping the givenSegment.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentto be wrapped.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use when calculating the CRC checksum.- Returns:
- The accordingly created
CrcSegmentDecorator.
-
doubleArraySection
Constructs an emptyDoubleArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.- Parameters:
aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.- Parameters:
aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
Constructs an emptyDoubleArraySectionwith the givenEndianess.- Parameters:
aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
public static DoubleArraySection doubleArraySection(org.refcodes.numerical.Endianess aEndianess, double... aValue) Constructs aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
public static DoubleArraySection doubleArraySection(org.refcodes.numerical.Endianess aEndianess, Double... aValue) Constructs aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
Constructs an emptyDoubleArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
Constructs aDoubleArraySectionwith the given double array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
public static DoubleArraySection doubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyDoubleArraySectionwith the givenEndianess.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto 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 aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
public static DoubleArraySection doubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Double... aValue) Constructs aDoubleArraySectionwith the given double array payload and the givenEndianessfor the representation of theDoubleArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theDoubleArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theDoubleArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleArraySection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theDoubleArraySection.- 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theDoubleArraySection.- Returns:
- The accordingly created
DoubleArraySection.
-
doubleSegment
Constructs an emptyDoubleSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
Constructs aDoubleSegmentwith the given double payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.- Parameters:
aValue- The value (payload) to be contained by theDoubleSegment.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
public static DoubleSegment doubleSegment(Double aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aDoubleSegmentwith the given double payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aValue- The value (payload) to be contained by theDoubleSegment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
Constructs an emptyDoubleSegmentwith the givenEndianessendian representation of theDoubleSegment's value.- Parameters:
aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
Constructs an emptyDoubleSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
Constructs aDoubleSegmentwith the given double payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theDoubleSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theDoubleSegment.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
public static DoubleSegment doubleSegment(String aAlias, Double aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aDoubleSegmentwith the given double payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theDoubleSegment.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto 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 emptyDoubleSegmentwith the givenEndianessendian representation of theDoubleSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DoubleSegment.
-
doubleSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DoubleSegment.
-
dummySegmentPackager
Constructs an accordingSegmentPackager.DummySegmentPackager.- Returns:
- The accordingly created
SegmentPackager.DummySegmentPackager.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
public static DynamicTypeSection dynamicTypeSection(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto 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 aDynamicTypeSectionwith the given properties.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aAlias- The alias which identifies the content of this segment.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
public static DynamicTypeSection dynamicTypeSection(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.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- TheEndianessto 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 aDynamicTypeSectionwith 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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSection.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.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSection.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.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
public static <T> DynamicTypeSection dynamicTypeSection(String aAlias, T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSection.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.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto 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 aDynamicTypeSectionwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aDynamicTypeSectionwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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 aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto 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, String... aAttributes) Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSection.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.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 aDynamicTypeSectionwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 aDynamicTypeSectionwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 aDynamicTypeSectionwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSection.fromType(Object).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSection.fromType(Object).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
public static <T> DynamicTypeSection dynamicTypeSection(T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSectionwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSection.fromType(Object, String...).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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) Constructs aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto 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 aDynamicTypeSectionwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aDynamicTypeSectionwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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 aDynamicTypeSectionwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSection.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- TheEndianessto 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
Constructs aDynamicTypeSectionwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSection.fromType(Object, String...).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.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 aDynamicTypeSectionwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSection
public static <T> DynamicTypeSection dynamicTypeSection(T aValue, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aDynamicTypeSectionwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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
Constructs aDynamicTypeSectionwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DynamicTypeSection.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
public static DynamicTypeSegment dynamicTypeSegment(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto 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 aDynamicTypeSegmentwith the given properties.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING).- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aAlias- The alias which identifies the content of this segment.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
public static DynamicTypeSegment dynamicTypeSegment(String aAlias, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.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- TheEndianessto 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 aDynamicTypeSegmentwith 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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSegment.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.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSegment.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.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
public static <T> DynamicTypeSegment dynamicTypeSegment(String aAlias, T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSegment.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.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto 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 aDynamicTypeSegmentwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aDynamicTypeSegmentwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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 aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto 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, String... aAttributes) Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSegment.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.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 aDynamicTypeSegmentwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 aDynamicTypeSegmentwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 aDynamicTypeSegmentwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSegment.fromType(Object).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSegment.fromType(Object).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
public static <T> DynamicTypeSegment dynamicTypeSegment(T aValue, Charset aCharset, String... aAttributes) Constructs aDynamicTypeSegmentwith the givenCharSection, as well as with theTransmissionMetrics.DEFAULT_LENGTH_WIDTHand theTransmissionMetrics.DEFAULT_ENDIANESS. It is pre-initialized with the given value as ofDynamicTypeSegment.fromType(Object, String...).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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) Constructs aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto 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 aDynamicTypeSegmentwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.- 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 aDynamicTypeSegmentwith the given properties. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto be used for (length) values.aCharset- TheCharsetto be used for encoding and decodingStringinstances.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 aDynamicTypeSegmentwith the given properties as well as with theTransmissionMetrics.DEFAULT_ENCODING. It is pre-initialized with the given value as ofDynamicTypeSegment.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- TheEndianessto 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
Constructs aDynamicTypeSegmentwith the default properties (TransmissionMetrics.DEFAULT_LENGTH_WIDTH,TransmissionMetrics.DEFAULT_ENDIANESSas well asTransmissionMetrics.DEFAULT_ENCODING). It is pre-initialized with the given value as ofDynamicTypeSegment.fromType(Object, String...).- Type Parameters:
T- The type of the data structure representing the body.- Parameters:
aValue- The data structure's value.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 aDynamicTypeSegmentwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DynamicTypeSegment.
-
dynamicTypeSegment
public static <T> DynamicTypeSegment dynamicTypeSegment(T aValue, TransmissionMetrics aTransmissionMetrics, String... aAttributes) Constructs aDynamicTypeSegmentwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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
Constructs aDynamicTypeSegmentwith the given properties. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
DynamicTypeSegment.
-
fileSection
Constructs aFileSection.- Parameters:
aFile- TheFilerepresenting theFileSection.- Returns:
- The accordingly created
FileSection.
-
fileSection
Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.- Parameters:
aBasePath- TheFilerepresenting the base path for the path provided by theSupplier.aFilePathSupplier- TheSupplierof the file path ofFilerepresenting theFileSection. Whenever the underlying file is to be accessed, then theSupplieris called to construct the accordingFile.- Returns:
- The accordingly created
FileSection.
-
fileSection
Constructs aFileSection.- Parameters:
aFilePath- The file path ofFilerepresenting theFileSection.- Returns:
- The accordingly created
FileSection.
-
fileSection
Constructs aFileSection.- Parameters:
aAlias- TheFileSection'S alias.aFile- TheFilerepresenting theFileSection.- Returns:
- The accordingly created
FileSection.
-
fileSection
public static FileSection fileSection(String aAlias, File aBasePath, Supplier<String> aFilePathSupplier) Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.- Parameters:
aAlias- TheFileSection'S alias.aBasePath- TheFilerepresenting the base path for the path provided by theSupplier.aFilePathSupplier- TheSupplierof the file path ofFilerepresenting theFileSection. Whenever the underlying file is to be accessed, then theSupplieris called to construct the accordingFile.- Returns:
- The accordingly created
FileSection.
-
fileSection
Constructs aFileSection.- Parameters:
aAlias- TheFileSection'S alias.aFilePath- The file path ofFilerepresenting theFileSection.- Returns:
- The accordingly created
FileSection.
-
fileSection
public static FileSection fileSection(String aAlias, String aBasePath, Supplier<String> aFilePathSupplier) Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.- Parameters:
aAlias- TheFileSection'S alias.aBasePath- The base path for the path provided by theSupplier.aFilePathSupplier- TheSupplierof the file path ofFilerepresenting theFileSection. Whenever the underlying file is to be accessed, then theSupplieris called to construct the accordingFile.- Returns:
- The accordingly created
FileSection.
-
fileSection
Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.- Parameters:
aBasePath- The base path for the path provided by theSupplier.aFilePathSupplier- TheSupplierof the file path ofFilerepresenting theFileSection. Whenever the underlying file is to be accessed, then theSupplieris called to construct the accordingFile.- Returns:
- The accordingly created
FileSection.
-
fileSection
Constructs aFileSection, the underlyingFileis created on demand dynamically using the providedSupplier.- Parameters:
aFilePathSupplier- TheSupplierof the file path ofFilerepresenting theFileSection. Whenever the underlying file is to be accessed, then theSupplieris called to construct the accordingFile.- Returns:
- The accordingly created
FileSection.
-
fixedLengthSequenceSegment
Constructs aFixedLengthSequenceSegment.- Parameters:
aSequenceSize- The size of theSequence.- Returns:
- The accordingly created
FixedLengthSequenceSegment.
-
fixedLengthSequenceSegment
Constructs aFixedLengthSequenceSegment.- Parameters:
aSequence- TheSequencerepresenting thisFixedLengthSequenceSegment.- Returns:
- The accordingly created
FixedLengthSequenceSegment.
-
fixedLengthSequenceSegment
public static FixedLengthSequenceSegment fixedLengthSequenceSegment(String aAlias, int aSequenceSize) Constructs aFixedLengthSequenceSegment.- Parameters:
aAlias- The alias which identifies the content of thisSegment.aSequenceSize- The size of theSequence.- Returns:
- The accordingly created
FixedLengthSequenceSegment.
-
fixedLengthSequenceSegment
public static FixedLengthSequenceSegment fixedLengthSequenceSegment(String aAlias, Sequence aSequence) Constructs aFixedLengthSequenceSegment.- Parameters:
aAlias- The alias which identifies the content of thisSegment.aSequence- TheSequencerepresenting thisFixedLengthSequenceSegment.- Returns:
- The accordingly created
FixedLengthSequenceSegment.
-
fixedSegmentArraySection
public static <ARRAY extends Segment> FixedSegmentArraySection<ARRAY> fixedSegmentArraySection(ARRAY... aSegmentArray) Constructs aFixedSegmentArraySectionwith the givenSegmentelements.Segmentinstances for the array are created using the provided array's component type.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisFixedSegmentArraySection.- Parameters:
aSegmentArray- The array containing the accordingSegmentelements.- Returns:
- The accordingly created
Segment.
-
fixedSegmentArraySection
public static <ARRAY extends Segment> FixedSegmentArraySection<ARRAY> fixedSegmentArraySection(Class<ARRAY> aSegmentClass) Constructs aFixedSegmentArraySectionwith instances of the array being created using the providedClassinstance.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisFixedSegmentArraySection.- Parameters:
aSegmentClass- The class from which to produce the the fixed lengthSegmentelements.- Returns:
- The accordingly created
Segment.
-
fixedSegmentArraySection
public static <ARRAY extends Segment> FixedSegmentArraySection<ARRAY> fixedSegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory) Constructs aFixedSegmentArraySectionwith instances of the array being created using the providedTypeFactoryinstance.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisFixedSegmentArraySection.- Parameters:
aSegmentFactory- The factory producing the the fixed lengthSegmentelements.- Returns:
- The accordingly created
Segment.
-
fixedSegmentArraySection
public static <ARRAY extends Segment> FixedSegmentArraySection<ARRAY> fixedSegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegmentArray) Constructs aFixedSegmentArraySectionwith the given elements.Segmentinstances for the array are created using the providedTypeFactoryinstance.- Type Parameters:
ARRAY- The type of theSegmentelements to be contained in thisFixedSegmentArraySection.- Parameters:
aSegmentFactory- The factory producing the the fixed lengthSegmentelements.aSegmentArray- The array containing the accordingSegmentelements.- Returns:
- The accordingly created
Segment.
-
floatArraySection
Constructs an emptyFloatArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
Constructs an emptyFloatArraySectionwith the givenEndianess.- Parameters:
aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
public static FloatArraySection floatArraySection(org.refcodes.numerical.Endianess aEndianess, float... aValue) Constructs aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
public static FloatArraySection floatArraySection(org.refcodes.numerical.Endianess aEndianess, Float... aValue) Constructs aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.- Parameters:
aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.- Parameters:
aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
Constructs an emptyFloatArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
public static FloatArraySection floatArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyFloatArraySectionwith the givenEndianess.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto 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 aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
public static FloatArraySection floatArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Float... aValue) Constructs aFloatArraySectionwith the given float array payload and the givenEndianessfor the representation of theFloatArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
Constructs aFloatArraySectionwith the given float array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theFloatArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theFloatArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatArraySection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theFloatArraySection.- 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theFloatArraySection.- Returns:
- The accordingly created
FloatArraySection.
-
floatSegment
Constructs an emptyFloatSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs an emptyFloatSegmentwith the givenEndianessendian representation of theFloatSegment's value.- Parameters:
aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs aFloatSegmentwith the given float payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.- Parameters:
aValue- The value (payload) to be contained by theFloatSegment.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs aFloatSegmentwith the given float payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aValue- The value (payload) to be contained by theFloatSegment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs an emptyFloatSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs an emptyFloatSegmentwith the givenEndianessendian representation of theFloatSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs aFloatSegmentwith the given float payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theFloatSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theFloatSegment.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
public static FloatSegment floatSegment(String aAlias, Float aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aFloatSegmentwith the given float payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theFloatSegment.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
FloatSegment.
-
floatSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
FloatSegment.
-
intArraySection
Constructs an emptyIntArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
Constructs an emptyIntArraySectionwith the givenEndianess.- Parameters:
aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
public static IntArraySection intArraySection(org.refcodes.numerical.Endianess aEndianess, int... aValue) Constructs aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
public static IntArraySection intArraySection(org.refcodes.numerical.Endianess aEndianess, Integer... aValue) Constructs aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.- Parameters:
aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.- Parameters:
aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
Constructs an emptyIntArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
public static IntArraySection intArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyIntArraySectionwith the givenEndianess.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto 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 aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
public static IntArraySection intArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Integer... aValue) Constructs aIntArraySectionwith the given int array payload and the givenEndianessfor the representation of theIntArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
Constructs aIntArraySectionwith the given int array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theIntArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theIntArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intArraySection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theIntArraySection.- 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theIntArraySection.- Returns:
- The accordingly created
IntArraySection.
-
intSegment
Constructs an emptyIntSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs an emptyIntSegmentwith the givenEndianessendian representation of theIntSegment's value.- Parameters:
aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs aIntSegmentwith the given int payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.- Parameters:
aValue- The value (payload) to be contained by theIntSegment.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs aIntSegmentwith the given int payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aValue- The value (payload) to be contained by theIntSegment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs an emptyIntSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs an emptyIntSegmentwith the givenEndianessendian representation of theIntSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs aIntSegmentwith the given int payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theIntSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theIntSegment.- Returns:
- The accordingly created
IntSegment.
-
intSegment
public static IntSegment intSegment(String aAlias, Integer aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aIntSegmentwith the given int payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theIntSegment.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
IntSegment.
-
intSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
IntSegment.
-
invertibleSection
public static <DECORATEE extends Section> InvertibleSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decorator having applied theBijectiveFunctionto encode and theInverseFunctionto decode any data being delegated.aBijectiveFunction- TheBijectiveFunctionto encode any data being delegated.aInverseFunction- TheInverseFunctionto decode any data being delegated.- Returns:
- The accordingly created
InvertibleSectionDecorator.
-
invertibleSection
public static <DECORATEE extends Section> InvertibleSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decorator having applied theInvertible'sBijectiveFunctionto encode and theInvertible'sInverseFunctionto decode any data being delegated.aInvertible- TheInvertibleproviding theBijectiveFunctionto encode and theInvertible'sInverseFunctionto decode any data being delegated.- Returns:
- The accordingly created
InvertibleSectionDecorator.
-
invertibleSegment
public static <DECORATEE extends Segment> InvertibleSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decorator having applied theBijectiveFunctionto encode and theInverseFunctionto decode any data being delegated.aBijectiveFunction- TheBijectiveFunctionto encode any data being delegated.aInverseFunction- TheInverseFunctionto decode any data being delegated.- Returns:
- The accordingly created
InvertibleSegmentDecorator.
-
invertibleSegment
public static <DECORATEE extends Segment> InvertibleSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decorator having applied theInvertible'sBijectiveFunctionto encode and theInvertible'sInverseFunctionto decode any data being delegated.aInvertible- TheInvertibleproviding theBijectiveFunctionto encode and theInvertible'sInverseFunctionto decode any data being delegated.- Returns:
- The accordingly created
InvertibleSegmentDecorator.
-
lengthSegment
public static <DECORATEE extends Segment> LengthSegmentDecoratorSegment<DECORATEE> lengthSegment(DECORATEE aSegment) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aSegment- The decoratee used for this decorator.- Returns:
- The accordingly created
LengthSegmentDecoratorSegment.
-
lengthSegment
public static <DECORATEE extends Segment> LengthSegmentDecoratorSegment<DECORATEE> lengthSegment(DECORATEE aSegment, org.refcodes.numerical.Endianess aEndianess) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aSegment- The decoratee used for this decorator.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
LengthSegmentDecoratorSegment.
-
lengthSegment
public static <DECORATEE extends Segment> LengthSegmentDecoratorSegment<DECORATEE> lengthSegment(DECORATEE aSegment, int aLengthWidth) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aSegment- The decoratee used for this decorator.aLengthWidth- The width (in bytes) to be used for length values.- Returns:
- The accordingly created
LengthSegmentDecoratorSegment.
-
lengthSegment
public static <DECORATEE extends Segment> LengthSegmentDecoratorSegment<DECORATEE> lengthSegment(DECORATEE aSegment, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aSegment- The decoratee used for this decorator.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
LengthSegmentDecoratorSegment.
-
lengthSegment
public static <DECORATEE extends Segment> LengthSegmentDecoratorSegment<DECORATEE> lengthSegment(DECORATEE aSegment, TransmissionMetrics aTransmissionMetrics) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aSegment- The decoratee used for this decorator.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
LengthSegmentDecoratorSegment.
-
longArraySection
Constructs an emptyLongArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
Constructs an emptyLongArraySectionwith the givenEndianess.- Parameters:
aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
public static LongArraySection longArraySection(org.refcodes.numerical.Endianess aEndianess, long... aValue) Constructs aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
public static LongArraySection longArraySection(org.refcodes.numerical.Endianess aEndianess, Long... aValue) Constructs aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.- Parameters:
aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.- Parameters:
aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
Constructs an emptyLongArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
public static LongArraySection longArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyLongArraySectionwith the givenEndianess.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto 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 aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
public static LongArraySection longArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Long... aValue) Constructs aLongArraySectionwith the given long array payload and the givenEndianessfor the representation of theLongArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
Constructs aLongArraySectionwith the given long array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theLongArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theLongArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longArraySection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theLongArraySection.- 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theLongArraySection.- Returns:
- The accordingly created
LongArraySection.
-
longSegment
Constructs an emptyLongSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs an emptyLongSegmentwith the givenEndianessendian representation of theLongSegment's value.- Parameters:
aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs aLongSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.- Parameters:
aValue- The value (payload) to be contained by theLongSegment.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs aLongSegmentwith the given long payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aValue- The value (payload) to be contained by theLongSegment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs an emptyLongSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs an emptyLongSegmentwith the givenEndianessendian representation of theLongSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs aLongSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theLongSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theLongSegment.- Returns:
- The accordingly created
LongSegment.
-
longSegment
public static LongSegment longSegment(String aAlias, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aLongSegmentwith the given long payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theLongSegment.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
LongSegment.
-
longSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
LongSegment.
-
magicBytesSection
public static <DECORATEE extends Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
MagicBytesSectionDecorator.
-
magicBytesSection
public static <DECORATEE extends Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSectionwith magic bytes of the given length to be prefixed.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSectionwhich 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 Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(DECORATEE aDecoratee, String aMagicBytes) - Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
MagicBytesSectionDecorator.
-
magicBytesSection
public static <DECORATEE extends Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) - Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
MagicBytesSectionDecorator.
-
magicBytesSection
public static <DECORATEE extends Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
MagicBytesSectionDecorator.
-
magicBytesSection
public static <DECORATEE extends Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(String aAlias, DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSectionwith magic bytes of the given length to be prefixed.- Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSectionwhich 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 Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes) - Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
MagicBytesSectionDecorator.
-
magicBytesSection
public static <DECORATEE extends Section> MagicBytesSectionDecorator<DECORATEE> magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) - Type Parameters:
DECORATEE- TheSectiontype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSectionwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
MagicBytesSectionDecorator.
-
magicBytesSectionMultiplexer
public static MagicBytesSectionMultiplexer magicBytesSectionMultiplexer(Collection<Section> aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.- Parameters:
aSections- TheSectionelements being contained in this instance.- Returns:
- The accordingly created
MagicBytesSectionMultiplexer.
-
magicBytesSectionMultiplexer
public static MagicBytesSectionMultiplexer magicBytesSectionMultiplexer(Collection<Section> aSections, int aReadLimit) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.- Parameters:
aSections- TheSectionelements being contained in this instance.aReadLimit- the maximum limit of bytes that can be read from a givenInputStreambefore theInputStreamcannot be rolled back.- Returns:
- The accordingly created
MagicBytesSectionMultiplexer.
-
magicBytesSectionMultiplexer
public static MagicBytesSectionMultiplexer magicBytesSectionMultiplexer(int aReadLimit, Section... aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.- Parameters:
aReadLimit- the maximum limit of bytes that can be read from a givenInputStreambefore theInputStreamcannot be rolled back.aSections- TheSectionelements being contained in this instance.- Returns:
- The accordingly created
MagicBytesSectionMultiplexer.
-
magicBytesSectionMultiplexer
Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.- Parameters:
aSections- TheSectionelements being contained in this instance.- Returns:
- The accordingly created
MagicBytesSectionMultiplexer.
-
magicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith the according magic bytes.- Parameters:
aMagicBytes- The magic bytes to be stored by this instance.- Returns:
- The accordingly created
MagicBytesSegment.
-
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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSegmentwith magic bytes of the given length to be prefixed.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentwhich 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 Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(DECORATEE aDecoratee, String aMagicBytes) - Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) - Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee which to be prefixed with magic bytes.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith magic bytes of the given length.- Parameters:
aMagicBytesLength- The length of the magic bytes sequence..- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).- Parameters:
aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).- Parameters:
aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSegmentwith the given magic bytes being prefixed.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- The magic bytes to be prefixed.- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(String aAlias, DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSegmentwith magic bytes of the given length to be prefixed.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSegmentwhich 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 Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes) - Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<DECORATEE> magicBytesSegment(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) - Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- TheSegmentwhich is to be prefixed with magic bytes.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
public static <DECORATEE extends Segment> MagicBytesSegmentDecorator<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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aAlias- The alias which identifies the content of this segment.aDecoratee- The decoratee which to be prefixed with magic bytes.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
MagicBytesSegmentDecorator.
-
magicBytesSegment
Constructs anAbstractMagicBytesTransmissionwith 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
Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).- Parameters:
aAlias- The alias which identifies the content of this segment.aMagicBytes- TheStringto be stored by this instance as magic bytes (uses theTransmissionMetrics.DEFAULT_ENCODING) for byte conversion).- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegment
public static MagicBytesSegment magicBytesSegment(String aAlias, String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).- Parameters:
aAlias- The alias which identifies the content of this segment.aMagicBytes- TheStringto be stored by this instance as magic bytes.aCharset- TheCharsetto use when converting theStringto a byte array.- 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 theTransmissionMetricsconfiguration 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- TheStringto be stored by this instance as magic bytes.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegment
Constructs an according instance for magic bytes of the given length. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aMagicBytes- TheStringto be stored by this instance as magic bytes.- Returns:
- The accordingly created
MagicBytesSegment.
-
magicBytesSegmentMultiplexer
public static MagicBytesSegmentMultiplexer magicBytesSegmentMultiplexer(Collection<Segment> aSegments) Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.- Parameters:
aSegments- TheSegmentelements being contained in this instance.- Returns:
- The accordingly created
MagicBytesSegmentMultiplexer.
-
magicBytesSegmentMultiplexer
public static MagicBytesSegmentMultiplexer magicBytesSegmentMultiplexer(Collection<Segment> aSegments, int aReadLimit) Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.- Parameters:
aSegments- TheSegmentelements being contained in this instance.aReadLimit- the maximum limit of bytes that can be read from a givenInputStreambefore theInputStreamcannot be rolled back.- Returns:
- The accordingly created
MagicBytesSegmentMultiplexer.
-
magicBytesSegmentMultiplexer
public static MagicBytesSegmentMultiplexer magicBytesSegmentMultiplexer(int aReadLimit, Segment... aSegments) Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.- Parameters:
aReadLimit- the maximum limit of bytes that can be read from a givenInputStreambefore theInputStreamcannot be rolled back.aSegments- TheSegmentelements being contained in this instance.- Returns:
- The accordingly created
MagicBytesSegmentMultiplexer.
-
magicBytesSegmentMultiplexer
Constructs aMagicBytesSegmentMultiplexercontaining the providedSegmentelements.- Parameters:
aSegments- TheSegmentelements being contained in this instance.- Returns:
- The accordingly created
MagicBytesSegmentMultiplexer.
-
numberSegment
Constructs an emptyNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.- Parameters:
aNumberWidth- The number of bytes to be occupied by the number.- Returns:
- The accordingly created
NumberSegment.
-
numberSegment
public static NumberSegment numberSegment(int aNumberWidth, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyNumberSegmentwith the givenEndianess.- Parameters:
aNumberWidth- The number of bytes to be occupied by the number.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
NumberSegment.
-
numberSegment
Constructs aNumberSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.- Parameters:
aNumberWidth- The number of bytes to be occupied by the number.aValue- The payload to be contained by theNumberSegment.- Returns:
- The accordingly created
NumberSegment.
-
numberSegment
public static NumberSegment numberSegment(int aNumberWidth, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aNumberSegmentwith the given long payload and the givenEndianessfor the representation of theNumberSegment's value (payload).- Parameters:
aNumberWidth- The number of bytes to be occupied by the number.aValue- The value (payload) to be contained by theNumberSegment.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
NumberSegment.
-
numberSegment
Constructs an emptyNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.- Parameters:
aNumberWidth- The number of bytes to be occupied by the number.aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
NumberSegment.
-
numberSegment
public static NumberSegment numberSegment(int aNumberWidth, String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyNumberSegmentwith the givenEndianess.- Parameters:
aNumberWidth- The number of bytes to be occupied by the number.aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
NumberSegment.
-
numberSegment
Constructs aNumberSegmentwith the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theNumberSegment's value.- Parameters:
aNumberWidth- The number of bytes to be occupied by the number.aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theNumberSegment.- Returns:
- The accordingly created
NumberSegment.
-
numberSegment
public static NumberSegment numberSegment(int aNumberWidth, String aAlias, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aNumberSegmentwith the given long payload and the givenEndianessfor the representation of theNumberSegment'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 theNumberSegment.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
NumberSegment.
-
propertiesSection
Constructs an emptyPropertiesSectionusing UTF-8 encoding for the payload.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
Constructs aPropertiesSectionwith a payload expected to be encoded with the givenCharset.- Parameters:
aCharset- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
Constructs aPropertiesSectionwith the givenPropertiespayload being UTF-8 encoded. The properties from the payload are copied into thePropertiesSection.- Parameters:
aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
public static PropertiesSection propertiesSection(org.refcodes.properties.Properties aPayload, Charset aCharset) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset. The properties from the payload are copied into thePropertiesSection.- Parameters:
aPayload- The payload to be contained by theSection.aCharset- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
public static PropertiesSection propertiesSection(org.refcodes.properties.Properties aPayload, TransmissionMetrics aTransmissionMetrics) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset. The properties from the payload are copied into thePropertiesSection. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aPayload- The payload to be contained by theSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
Constructs an emptyPropertiesSectionusing UTF-8 encoding for the payload.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
Constructs aPropertiesSectionwith a payload expected to be encoded with the givenCharset.- Parameters:
aAlias- The alias which identifies the content of this segment.aCharset- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
public static PropertiesSection propertiesSection(String aAlias, org.refcodes.properties.Properties aPayload) Constructs aPropertiesSectionwith the givenPropertiespayload being UTF-8 encoded. The properties from the payload are copied into thePropertiesSection.- Parameters:
aAlias- The alias which identifies the content of this segment.aPayload- The payload to be contained by theSection.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
public static PropertiesSection propertiesSection(String aAlias, org.refcodes.properties.Properties aPayload, Charset aCharset) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset. The properties from the payload are copied into thePropertiesSection.- Parameters:
aAlias- The alias which identifies the content of this segment.aPayload- The payload to be contained by theSection.aCharset- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
PropertiesSection.
-
propertiesSection
public static PropertiesSection propertiesSection(String aAlias, org.refcodes.properties.Properties aPayload, TransmissionMetrics aTransmissionMetrics) Constructs aPropertiesSectionwith the givenPropertiespayload being encoded with the givenCharset. The properties from the payload are copied into thePropertiesSection. The configuration attributes are taken from theTransmissionMetricsconfiguration 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 theSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
PropertiesSection.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSection
public static <DECORATEE extends Section> ReadyToReceiveSectionDecorator<DECORATEE> readyToReceiveSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ReadyToReceiveSectionDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<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 RTRSegmentPackagerfor packaging RTR responses.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToReceiveSegment
public static <DECORATEE extends Segment> ReadyToReceiveSegmentDecorator<DECORATEE> readyToReceiveSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ReadyToReceiveSegmentDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSectionPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSectionPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSectionPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSectionPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSection
public static <DECORATEE extends Section> ReadyToSendSectionDecorator<DECORATEE> readyToSendSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.
-
readyToSendSectionBuilder
public static <DECORATEE extends Section> ReadyToSendSectionDecorator.Builder<DECORATEE> readyToSendSectionBuilder()Constructs a builder to build an accordingReadyToSendSectionDecoratorinstance.- Type Parameters:
DECORATEE- The decoratee type describing the according subclass to be wrapped by the according decorator.- Returns:
- The accordingly created
ReadyToSendSectionDecorator.Builder.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSegmentPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSegmentPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSegmentPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor packaging RTS responses.aClearToSendMagicBytes- The CTS characters to be used to signal a CTS.aClearToSendSegmentPackager- The CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<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 RTSSegmentPackagerfor 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 CTSSegmentPackagerfor packaging CTS responses.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegment
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator<DECORATEE> readyToSendSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.
-
readyToSendSegmentBuilder
public static <DECORATEE extends Segment> ReadyToSendSegmentDecorator.Builder<DECORATEE> readyToSendSegmentBuilder()Constructs a builder to build an accordingReadyToSendSegmentDecoratorinstance.- Type Parameters:
DECORATEE- The decoratee type describing the according subclass to be wrapped by the according decorator.- Returns:
- The accordingly created
ReadyToSendSegmentDecorator.Builder.
-
segmentComposite
@SafeVarargs public static <CHILD extends Segment> SegmentComposite<CHILD> segmentComposite(CHILD... aChildren) Constructs aSegmentCompositecontaining the providedSegmentelements.- Type Parameters:
CHILD- TheSegmenttype describing the composite'sSegmentchildren.- Parameters:
aChildren- TheSegmentelements being contained in this instance.- Returns:
- The accordingly created
SegmentComposite.
-
segmentComposite
public static <CHILD extends Segment> SegmentComposite<CHILD> segmentComposite(Collection<CHILD> aChildren) Constructs aSegmentCompositecontaining the providedSegmentelements.- Type Parameters:
CHILD- TheSegmenttype describing the composite'sSegmentchildren.- Parameters:
aChildren- TheSegmentelements being contained in this instance.- Returns:
- The accordingly created
SegmentComposite.
-
segmentLength
Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<REFERENCEE> segmentLength(org.refcodes.numerical.Endianess aEndianess) Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length and the providedEndianessrepresentation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<REFERENCEE> segmentLength(int aLengthWidth) Constructs an empty allocation value with the given number of bytes used to specify the referencee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<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 providedEndianessrepresentation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<REFERENCEE> segmentLength(REFERENCEE aReferencee) Constructs the allocation value with the given referencee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aReferencee- The referencee used for this allocation value.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<REFERENCEE> segmentLength(REFERENCEE aReferencee, org.refcodes.numerical.Endianess aEndianess) Constructs the allocation value with the given referencee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the referencee's length and the providedEndianessrepresentation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aReferencee- The referencee used for this allocation value.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<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 aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- 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 Transmission> LengthSegment<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 providedEndianessrepresentation of the referencee's length.- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aReferencee- The referencee used for this allocation value.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<REFERENCEE> segmentLength(REFERENCEE aReferencee, TransmissionMetrics aTransmissionMetrics) Constructs an according instance. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aReferencee- The referencee used for this allocation value.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
LengthSegment.
-
segmentLength
public static <REFERENCEE extends Transmission> LengthSegment<REFERENCEE> segmentLength(TransmissionMetrics aTransmissionMetrics) Constructs an according instance. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
REFERENCEE- The type of theSegmentreferencee.- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
LengthSegment.
-
sequenceNumberSegment
public static SequenceNumberSegment sequenceNumberSegment(int aSequenceNumberWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics. Only those properties of theTransmissionMetricsare considered which are also supported by the other constructors.- Parameters:
aSequenceNumberWidth- The number of bytes to be occupied by the number.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceNumberSegment
public static SequenceNumberSegment sequenceNumberSegment(int aSequenceNumberWidth, Long aSequenceNumberInitValue, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics. Only those properties of theTransmissionMetricsare considered which are also supported by the other constructors.- Parameters:
aSequenceNumberWidth- The number of bytes to be occupied by the number.aSequenceNumberInitValue- The value (payload) to be contained by theNumberSegment.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceNumberSegment
public static SequenceNumberSegment sequenceNumberSegment(long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.- Parameters:
aValue- The payload to be contained by theSequenceNumberSegment.aTransmissionMetrics- TheTransmissionMetricsused to configure theSequenceNumberSegment.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceNumberSegment
public static SequenceNumberSegment sequenceNumberSegment(String aAlias, int aSequenceNumberWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics. Only those properties of theTransmissionMetricsare 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- TheEndianessto be used for payload values.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceNumberSegment
public static SequenceNumberSegment sequenceNumberSegment(String aAlias, int aSequenceNumberWidth, Long aSequenceNumberInitValue, org.refcodes.numerical.Endianess aEndianess) Constructs aSequenceNumberSegmentwith the givenTransmissionMetrics. Only those properties of theTransmissionMetricsare 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.aSequenceNumberInitValue- The value (payload) to be contained by theNumberSegment.aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceNumberSegment
public static SequenceNumberSegment sequenceNumberSegment(String aAlias, long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theSequenceNumberSegment.aTransmissionMetrics- TheTransmissionMetricsused to configure theSequenceNumberSegment.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceNumberSegment
public static SequenceNumberSegment sequenceNumberSegment(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aTransmissionMetrics- TheTransmissionMetricsused to configure theSequenceNumberSegment.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceNumberSegment
Constructs an emptySequenceNumberSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSequenceNumberSegment's value.- Parameters:
aTransmissionMetrics- TheTransmissionMetricsused to configure theSequenceNumberSegment.- Returns:
- The accordingly created
SequenceNumberSegment.
-
sequenceSection
Constructs aSequenceSection.- Returns:
- The accordingly created
SequenceSection.
-
sequenceSection
Constructs aSequenceSection.- Parameters:
aSequenceSize- The size of theSequence.- Returns:
- The accordingly created
SequenceSection.
-
sequenceSection
Constructs aSequenceSection.- Parameters:
aSequence- TheSequencerepresenting thisSequenceSection.- Returns:
- The accordingly created
SequenceSection.
-
sequenceSection
Constructs aSequenceSection.- Parameters:
aAlias- The alias which identifies the content of thisSection.- Returns:
- The accordingly created
SequenceSection.
-
sequenceSection
Constructs aSequenceSection.- Parameters:
aAlias- The alias which identifies the content of thisSegment.aSequenceSize- The size of theSequence.- Returns:
- The accordingly created
SequenceSection.
-
sequenceSection
Constructs aSequenceSection.- Parameters:
aAlias- The alias which identifies the content of thisSegment.aSequence- TheSequencerepresenting thisSequenceSection.- Returns:
- The accordingly created
SequenceSection.
-
shortArraySection
Constructs an emptyShortArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
Constructs an emptyShortArraySectionwith the givenEndianess.- Parameters:
aEndianess- TheEndianessto be used for payload values.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
public static ShortArraySection shortArraySection(org.refcodes.numerical.Endianess aEndianess, short... aValue) Constructs aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
public static ShortArraySection shortArraySection(org.refcodes.numerical.Endianess aEndianess, Short... aValue) Constructs aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.- Parameters:
aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.- Parameters:
aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.- Parameters:
aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
Constructs an emptyShortArraySectionwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theSection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
public static ShortArraySection shortArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyShortArraySectionwith the givenEndianess.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto 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 aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
public static ShortArraySection shortArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Short... aValue) Constructs aShortArraySectionwith the given short array payload and the givenEndianessfor the representation of theShortArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for payload values.aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
Constructs aShortArraySectionwith the given short array payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortArraySection's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by theShortArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theShortArraySection.- 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortArraySection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theShortArraySection.- 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theShortArraySection.- Returns:
- The accordingly created
ShortArraySection.
-
shortSegment
Constructs an emptyShortSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs an emptyShortSegmentwith the givenEndianessendian representation of theShortSegment's value.- Parameters:
aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs aShortSegmentwith the given short payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.- Parameters:
aValue- The value (payload) to be contained by theShortSegment.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs aShortSegmentwith the given short payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aValue- The value (payload) to be contained by theShortSegment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs an emptyShortSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs an emptyShortSegmentwith the givenEndianessendian representation of theShortSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aEndianess- TheEndianessto be used for the payload values.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs aShortSegmentwith the given short payload and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theShortSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theShortSegment.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
public static ShortSegment shortSegment(String aAlias, Short aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aShortSegmentwith the given short payload and the givenEndianessfor the representation of theSegment's value.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The value (payload) to be contained by theShortSegment.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theDoubleArraySection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ShortSegment.
-
shortSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
ShortSegment.
-
stopAndWaitPacketStreamSection
public static <DECORATEE extends Section> StopAndWaitPacketStreamSectionDecorator<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 givenOutputStream.- 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 bytesaSequenceNumberInitValue- 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 aSequencefrom thisTransmissionand the decoratedTransmission.aPacketSegmentPackager- An (optional)SegmentPackagerused to modify a packet's data e.g. with a CRC checksum.aAcknowledgeMagicBytes- The ACK character(s) 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)SegmentPackagerused to modify a ACK response data e.g. with a CRC checksum.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitPacketStreamSectionDecorator.
-
stopAndWaitPacketStreamSection
public static <DECORATEE extends Section> StopAndWaitPacketStreamSectionDecorator<DECORATEE> stopAndWaitPacketStreamSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according packet-stream decorator instance wrapping the givenOutputStream. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StopAndWaitPacketStreamSectionDecorator.
-
stopAndWaitPacketStreamSectionBuilder
public static <DECORATEE extends Section> StopAndWaitPacketStreamSectionDecorator.Builder<DECORATEE> stopAndWaitPacketStreamSectionBuilder()Constructs a builder to build an accordingStopAndWaitPacketStreamSectionDecoratorinstance.- Type Parameters:
DECORATEE- The decoratee type describing the according subclass to be enriched.- Returns:
- The
StopAndWaitPacketStreamSectionDecorator.Builderto build aStopAndWaitPacketStreamSectionDecorator.
-
stopAndWaitPacketStreamSegment
public static <DECORATEE extends Segment> StopAndWaitPacketStreamSegmentDecorator<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 givenOutputStream.- 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 bytesaSequenceNumberInitValue- the a sequence number init valueaSequenceNumberWidth- The width (in bytes) to be used for sequence number values.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aPacketSegmentPackager- An (optional)SegmentPackagerused to modify a packet's data e.g. with a CRC checksum.aAcknowledgeMagicBytes- The ACK character(s) 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)SegmentPackagerused to modify a ACK response data e.g. with a CRC checksum.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitPacketStreamSegmentDecorator.
-
stopAndWaitPacketStreamSegment
public static <DECORATEE extends Segment> StopAndWaitPacketStreamSegmentDecorator<DECORATEE> stopAndWaitPacketStreamSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according packet-stream decorator instance wrapping the givenOutputStream. The configuration attributes are taken from theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StopAndWaitPacketStreamSegmentDecorator.
-
stopAndWaitPacketStreamSegmentBuilder
public static <DECORATEE extends Segment> StopAndWaitPacketStreamSegmentDecorator.Builder<DECORATEE> stopAndWaitPacketStreamSegmentBuilder()Constructs a builder to build an accordingStopAndWaitPacketStreamSegmentDecoratorinstance.- Type Parameters:
DECORATEE- The decoratee type describing the according subclass to be enriched.- Returns:
- The
StopAndWaitPacketStreamSegmentDecorator.Builderto build aStopAndWaitPacketStreamSegmentDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection(DECORATEE aDecoratee) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection(DECORATEE aDecoratee, byte[] aAcknowledgeMagicBytes, int aAckRetryNumber, long aAckTimeoutInMs, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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 packageraEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection(DECORATEE aDecoratee, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass 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'sSequence.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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 packageraEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<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- TheSectiontype describing theSectionsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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 packageraEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSection
public static <DECORATEE extends Section> StopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection(DECORATEE aDecoratee, SegmentPackager aAckSegmentPackager) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass 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 Section> StopAndWaitSectionDecorator<DECORATEE> stopAndWaitSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according stop-and-wait decorator instance wrapping the given decoratee. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
DECORATEE- TheSectiontype describing theSectionsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StopAndWaitSectionDecorator.
-
stopAndWaitSectionBuilder
public static <DECORATEE extends Section> StopAndWaitSectionDecorator.Builder<DECORATEE> stopAndWaitSectionBuilder()Constructs a builder to build an accordingStopAndWaitSectionDecoratorinstance.- Type Parameters:
DECORATEE- The decoratee type describing the according subclass to be enriched.- Returns:
- The
StopAndWaitSectionDecorator.Builderto build aStopAndWaitSectionDecorator. The accordingly createdStopAndWaitSectionDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment(DECORATEE aDecoratee) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment(DECORATEE aDecoratee, byte[] aAcknowledgeMagicBytes, int aAckRetryNumber, long aAckTimeoutInMs, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aAcknowledgeMagicBytes- The ACK character(s) 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 packageraEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment(DECORATEE aDecoratee, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass 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'sSequence.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aSequenceNumberConcatenateMode- The mode of concatenation to use when creating aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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 packageraEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode, org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aCrcAlgorithm- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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 aChecksumValidationMode, org.refcodes.numerical.Endianess aEndianess) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aChecksumValidationMode- The mode of operation when validating provided CRC checksums against calculated ones.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aCrcChecksumConcatenateMode- The mode of concatenation to use when concatenating the CRC checksum with the transmission'sSequence.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheCrcAlgorithmto be used for CRC checksum calculation.aEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<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- TheSegmenttype describing theSegmentsubclass 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 aSequencefrom thisTransmissionand the decoratedTransmission.aAcknowledgeMagicBytes- The ACK character(s) 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 packageraEndianess- TheEndianessto use for integer (double) numbers and the like.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegment
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment(DECORATEE aDecoratee, SegmentPackager aAckSegmentPackager) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass 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 Segment> StopAndWaitSegmentDecorator<DECORATEE> stopAndWaitSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according stop-and-wait decorator instance wrapping the given decoratee. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Type Parameters:
DECORATEE- TheSegmenttype describing theSegmentsubclass decoratee.- Parameters:
aDecoratee- The decoratee to be wrapped by the stop-and-wait decorator.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StopAndWaitSegmentDecorator.
-
stopAndWaitSegmentBuilder
public static <DECORATEE extends Segment> StopAndWaitSegmentDecorator.Builder<DECORATEE> stopAndWaitSegmentBuilder()Constructs a builder to build an accordingStopAndWaitSegmentDecoratorinstance.- Type Parameters:
DECORATEE- The decoratee type describing the according subclass to be enriched.- Returns:
- The
StopAndWaitSegmentDecorator.Builderto build aStopAndWaitSegmentDecorator. The accordingly createdStopAndWaitSegmentDecorator.
-
stringArraySection
Constructs an emptyStringArraySectionusing theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.- Returns:
- The accordingly created
StringArraySection.
-
stringArraySection
Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, as well as theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aCharset- TheCharsetto use when encoding or decoding theStringinstances.aValue- TheStringelements being contained in this instance.- Returns:
- The accordingly created
StringArraySection.
-
stringArraySection
public static StringArraySection stringArraySection(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess, Charset aCharset, String... aValue) Constructs aStringArraySectionusing containing the providedStringSectionelements and using the providedSegmentclass for creatingSegmentinstances.- Parameters:
aLengthWidth- The width (in bytes) to be used for size values.aEndianess- TheEndianessto be used for size values.aCharset- TheCharsetto use when encoding or decoding theStringinstances.aValue- TheStringelements being contained in this instance.- Returns:
- The accordingly created
StringArraySection.
-
stringArraySection
Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aValue- TheStringelements being contained in this instance.- Returns:
- The accordingly created
StringArraySection.
-
stringArraySection
Constructs an emptyStringArraySectionusing theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aAlias- The alias which identifies the content of this segment.- Returns:
- The accordingly created
StringArraySection.
-
stringArraySection
public static StringArraySection stringArraySection(String aAlias, Charset aCharset, String... aValue) Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, as well as theTransmissionMetrics.DEFAULT_ENDIANESS.- Parameters:
aAlias- The alias which identifies the content of this segment.aCharset- TheCharsetto use when encoding or decoding theStringinstances.aValue- TheStringelements 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 aStringArraySectionusing containing the providedStringSectionelements and using the providedSegmentclass for creatingSegmentinstances.- Parameters:
aAlias- The alias which identifies the content of this segment.aLengthWidth- The width (in bytes) to be used for size values.aEndianess- TheEndianessto be used for size values.aCharset- TheCharsetto use when encoding or decoding theStringinstances.aValue- TheStringelements being contained in this instance.- Returns:
- The accordingly created
StringArraySection.
-
stringArraySection
Constructs aStringArraySectioncontaining the provided payload and using theTransmissionMetrics.DEFAULT_LENGTH_WIDTH, theTransmissionMetrics.DEFAULT_ENDIANESSas well as theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- TheStringelements 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration 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- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theStringArraySection.- Returns:
- The accordingly created
StringArraySection.
-
stringArraySection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto 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 theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.aValue- The payload to be contained by theStringArraySection.- Returns:
- The accordingly created
StringArraySection.
-
stringSection
Constructs an emptyStringSectionusing theTransmissionMetrics.DEFAULT_ENCODINGencoding for the payload.- Returns:
- The accordingly created
StringSection.
-
stringSection
Constructs aStringSectionwith a payload expected to be encoded with the givenCharset.- Parameters:
aCharset- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
StringSection.
-
stringSection
Constructs aStringSectionwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aValue- The payload to be contained by thisStringSection.- Returns:
- The accordingly created
StringSection.
-
stringSection
- Parameters:
aValue- The payload to be contained by thisStringSection.aCharset- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
StringSection.
-
stringSection
Constructs aStringSectionwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSection.- Returns:
- The accordingly created
StringSection.
-
stringSection
- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSection.aCharset- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
StringSection.
-
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 theTransmissionMetricsconfiguration 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 theStringSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StringSection.
-
stringSection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theStringSection.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StringSection.
-
stringSection
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StringSection.
-
stringSegment
Constructs aStringSegment.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.- Parameters:
aEncoding- TheCharsetto be used for encoding and decodingStringinstances.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
public static StringSegment stringSegment(Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.- Parameters:
aEncoding- TheCharsetto be used for encoding and decodingStringinstances.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.- Parameters:
aEncoding- TheCharsetto be used for encoding and decodingStringinstances.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 aStringSegmentwith a payload expected to be encoded with the givenCharset.- Parameters:
aEncoding- TheCharsetto be used for encoding and decodingStringinstances.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.- Parameters:
aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs an empty allocation value with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian 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 providedEndianessrepresentation of the decoratee's length.- Parameters:
aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aValue- The payload to be contained by thisStringSegment.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
- Parameters:
aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
public static StringSegment stringSegment(String aValue, Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) - Parameters:
aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
- Parameters:
aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.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) - Parameters:
aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
public static StringSegment stringSegment(String aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aValue- The payload to be contained by thisStringSegment.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs aStringSegmentwith the givenStringpayload* being encoded with theTransmissionMetrics.DEFAULT_ENCODING.**- Parameters:
aValue- The payload to be contained by thisStringSegment.aLengthWidth- The width (in bytes) 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 aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aValue- The payload to be contained by thisStringSegment.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
public static StringSegment stringSegment(String aAlias, String aValue, Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) - Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
public static StringSegment stringSegment(String aAlias, String aValue, Charset aEncoding, int aLengthWidth) - Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.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) - Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.aEncoding- TheCharsetto be used for encoding theString.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
public static StringSegment stringSegment(String aAlias, String aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.aEndianess- TheEndianessto be used for length values.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.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, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.- Parameters:
aAlias- The alias which identifies the content of this segment.aValue- The payload to be contained by thisStringSegment.aLengthWidth- The width (in bytes) to be used for length values.aEndianess- TheEndianessto 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 theTransmissionMetricsconfiguration 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 theStringSegment.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aValue- The payload to be contained by theStringSegment.aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StringSegment.
-
stringSegment
Constructs an according instance from the given configuration. The configuration attributes are taken from theTransmissionMetricsconfiguration object, though only those attributes are supported which are also supported by the other constructors!- Parameters:
aTransmissionMetrics- TheTransmissionMetricsto be used for configuring this instance.- Returns:
- The accordingly created
StringSegment.
-
stringSegmentBuilder
Constructs a builder to build an accordingStringSegmentinstance.- Returns:
- The accordingly created
StringSegment.Builder.
-