Uses of Interface
org.refcodes.serial.Section
-
Uses of Section in org.refcodes.serial
Classes in org.refcodes.serial with type parameters of type SectionModifier and TypeClassDescriptionclassAbstractSectionDecorator<SECTION extends Section>Convenience class for easily decorating aSection.classAllocSectionDecoratorSegment<DECORATEE extends Section>AnAllocSectionDecoratorSegmentenriches anSectionwith an allocation declaration being prefixed to the enrichedSection.classAllocSegmentBody<DECORATEE extends Section>AnAllocSegmentBodyprovides anSegmentwith an allocation length.classAssertMagicBytesSectionDecorator<DECORATEE extends Section>TheAssertMagicBytesSectionDecoratorextends theMagicBytesSectionDecoratorand 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).classBreakerSectionDecorator<DECORATEE extends Section>TheBreakerSectionDecoratoris aDecoratorSectionbuild to test error detection and error correctionTransmissionimplementations such as theCrcSectionDecoratoror theStopAndWaitSectionDecorator.classCipherSectionDecorator<DECORATEE extends Section>ACipherSectionDecoratoris a transmission applying anInvertibleon outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)or the like) and the inverse function on any incoming bytes.classCrcSectionDecorator<DECORATEE extends Section>classInvertibleSectionDecorator<DECORATEE extends Section>AInvertibleSectionDecoratoris a transmission applying anInvertibleon outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)or the like) and the inverse function on any incoming bytes.classMagicBytesSectionDecorator<DECORATEE extends Section>Magic bytes are usually found (somewhere) at the beginning of a file or a stream.classReadyToReceiveSectionDecorator<DECORATEE extends Section>TheReadyToReceiveSectionDecoratorclass implements a decorator providingReadyToReceiveTransmissionfunctionality for aSegment.static final classReadyToReceiveSectionDecorator.Builder<DECORATEE extends Section>Builder to buildReadyToReceiveSectionDecoratorinstances.classReadyToSendSectionDecorator<DECORATEE extends Section>TheReadyToSendSectionDecoratorclass implements a decorator providingReadyToSendTransmissionfunctionality for aSegment.static final classReadyToSendSectionDecorator.Builder<DECORATEE extends Section>Builder to buildReadyToSendSectionDecoratorinstances.classSectionComposite<ALLOC extends AllocSectionDecoratorSegment<CHILD>,CHILD extends Section> ASectionCompositeis aSectionconsisting ofSectionelements of a variable length each: EachSectionelement in the composite need not be of the same size.classStopAndWaitPacketStreamSectionDecorator<DECORATEE extends Section>AStopAndWaitPacketStreamSectionDecoratorchunks any outgoing stream (OutputStream) into blocks of definite length and reassembles any incoming streams (InputStream) from blocks of definite size into a contiguous stream.static final classStopAndWaitPacketStreamSectionDecorator.Builder<DECORATEE extends Section>Builder to buildStopAndWaitSegmentDecoratorinstances.classStopAndWaitSectionDecorator<DECORATEE extends Section>TheStopAndWaitSectionDecoratorclass implements a decorator providingStopAndWaitTransmissionfunctionality for aSection.static final classStopAndWaitSectionDecorator.Builder<DECORATEE extends Section>Builder to buildStopAndWaitSegmentDecoratorinstances.Subinterfaces of Section in org.refcodes.serialModifier and TypeInterfaceDescriptioninterfaceArraySection<ARRAY extends Transmission>interfaceDecoratorSection<DECORATEE extends Transmission>TheDecoratorSectioninterface provided means to access a decoratedTransmissionwith the means of aSection.interfaceThePayloadSectioninterfaces defines aSectionwith a payload.static interfaceDefault implementation of theSectioninterface providing an implementation of theSection.SectionMixin.receiveFrom(InputStream, int, OutputStream)method using thefromTransmission(Sequence, int)method or thefromTransmission(Sequence, int, int)method..Classes in org.refcodes.serial that implement SectionModifier and TypeClassDescriptionclassAn abstract implementation of aSectionwith payload.classAbstractSectionDecorator<SECTION extends Section>Convenience class for easily decorating aSection.classAssertMagicBytesSectionDecorator<DECORATEE extends Section>TheAssertMagicBytesSectionDecoratorextends theMagicBytesSectionDecoratorand 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).classTheBooleanArraySectionis an implementation of aSectioncarrying a boolean array as payload.classBreakerSectionDecorator<DECORATEE extends Section>TheBreakerSectionDecoratoris aDecoratorSectionbuild to test error detection and error correctionTransmissionimplementations such as theCrcSectionDecoratoror theStopAndWaitSectionDecorator.classTheByteArraySectionis an implementation of aSectioncarrying a byte array as payload.classTheCharArraySectionis an implementation of aPayloadSectioncarrying a char array as payload.classTheCharSectionis an implementation of aSectioncarrying a char value as payload.classCipherSectionDecorator<DECORATEE extends Section>ACipherSectionDecoratoris a transmission applying anInvertibleon outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)or the like) and the inverse function on any incoming bytes.classCrcSectionDecorator<DECORATEE extends Section>classTheDoubleArraySectionis an implementation of aSectioncarrying a double array as payload.classTheDynamicTypeSectionrepresents aSectionwhich's internal raw data is created from provided types at runtime and which's internal raw data is used to create provided types at runtime.classAFileSectionrepresents aFileon the file system and can be used to receive or to transmit aFile.classFixedSegmentArraySection<ARRAY extends Segment>AFixedSegmentArraySectionis aSectionconsisting ofSegmentelements with each element of the same (uniform) length (in contrast to theSegmentArraySection).classTheFloatArraySectionis an implementation of aSectioncarrying a float array as payload.classTheIntArraySectionis an implementation of aSectioncarrying an integer array as payload.classInvertibleSectionDecorator<DECORATEE extends Section>AInvertibleSectionDecoratoris a transmission applying anInvertibleon outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)or the like) and the inverse function on any incoming bytes.classTheLongArraySectionis an implementation of aSectioncarrying a long array as payload.classMagicBytesSectionDecorator<DECORATEE extends Section>Magic bytes are usually found (somewhere) at the beginning of a file or a stream.classTHeMagicBytesSectionMultiplexerdispatches a transmission to one of the aggregatedSectioninstances depending on the magic number provided by the transmission.classclassReadyToReceiveSectionDecorator<DECORATEE extends Section>TheReadyToReceiveSectionDecoratorclass implements a decorator providingReadyToReceiveTransmissionfunctionality for aSegment.classReadyToSendSectionDecorator<DECORATEE extends Section>TheReadyToSendSectionDecoratorclass implements a decorator providingReadyToSendTransmissionfunctionality for aSegment.classSectionComposite<ALLOC extends AllocSectionDecoratorSegment<CHILD>,CHILD extends Section> ASectionCompositeis aSectionconsisting ofSectionelements of a variable length each: EachSectionelement in the composite need not be of the same size.classSegmentArraySection<ARRAY extends Segment>ASegmentArraySectionis aSegmentconsisting ofSegmentelements with each element of presumably different lengths ( in contrast to theFixedSegmentArraySection).classclassTheShortArraySectionis an implementation of aSectioncarrying a short array as payload.classStopAndWaitPacketStreamSectionDecorator<DECORATEE extends Section>AStopAndWaitPacketStreamSectionDecoratorchunks any outgoing stream (OutputStream) into blocks of definite length and reassembles any incoming streams (InputStream) from blocks of definite size into a contiguous stream.classStopAndWaitSectionDecorator<DECORATEE extends Section>TheStopAndWaitSectionDecoratorclass implements a decorator providingStopAndWaitTransmissionfunctionality for aSection.classclassMethods in org.refcodes.serial with type parameters of type SectionModifier and TypeMethodDescriptionstatic <DECORATEE extends Section>
AllocSectionDecoratorSegment<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.allocSegment(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an accordingAllocSectionDecoratorSegmentinstance.static <DECORATEE extends Section>
AllocSegmentBody<DECORATEE>SerialSugar.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 <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>SerialSugar.assertMagicBytesSection(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>SerialSugar.assertMagicBytesSection(DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>SerialSugar.assertMagicBytesSection(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>SerialSugar.assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>SerialSugar.assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
AssertMagicBytesSectionDecorator<DECORATEE>SerialSugar.assertMagicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Section>
BreakerSectionDecorator<DECORATEE>SerialSugar.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 Section>
ReadyToReceiveSectionDecorator.Builder<DECORATEE>ReadyToReceiveSectionDecorator.builder()Creates builder to buildReadyToReceiveSectionDecorator.static <DECORATEE extends Section>
ReadyToSendSectionDecorator.Builder<DECORATEE>ReadyToSendSectionDecorator.builder()Creates builder to buildReadyToSendSectionDecorator.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator.Builder<DECORATEE>StopAndWaitPacketStreamSectionDecorator.builder()Creates builder to buildStopAndWaitPacketStreamSectionDecorator.static <DECORATEE extends Section>
StopAndWaitSectionDecorator.Builder<DECORATEE>StopAndWaitSectionDecorator.builder()Creates builder to buildStopAndWaitSegmentDecorator.static <DECORATEE extends Section>
CipherSectionDecorator<DECORATEE>SerialSugar.cipherSection(DECORATEE aDecoratee, Cipher aCipher) Constructs aCiphertransmission decorator applying bijective and inverse functions upon the delegated methods.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>SerialSugar.crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.crcPrefixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.crcSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>SerialSugar.crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) Constructs aCrcSectionDecoratorwrapping the givenSection(usingTransmissionMetrics.DEFAULT_ENDIANESSby default).static <DECORATEE extends Section>
CrcSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.crcSuffixSection(DECORATEE aDecoratee, org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm, org.refcodes.numerical.Endianess aEndianess) Constructs aCrcSectionDecoratorwrapping the givenSection.static <DECORATEE extends Section>
InvertibleSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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 Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSectionwith magic bytes of the given length to be prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, int aReadyToReceiveRetryNumber) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, byte aReadyToReceiveMagicBytes, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, int aReadyToReceiveRetryNumber, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, byte aReadyToReceiveMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, long aCtsTimeoutInMs, long aReadyToReceiveTimeoutInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, long aReadyToReceiveTimeoutInMs, SegmentPackager aReadyToReceiveSegmentPackager) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToReceiveSectionDecorator<DECORATEE>SerialSugar.readyToReceiveSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>SerialSugar.readyToSendSection(DECORATEE aDecoratee) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>SerialSugar.readyToSendSection(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, byte[] aClearToSendMagicBytes) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.readyToSendSection(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs) Constructs an according flow-control decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.readyToSendSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according control-flow decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
ReadyToSendSectionDecorator.Builder<DECORATEE>SerialSugar.readyToSendSectionBuilder()Constructs a builder to build an accordingReadyToSendSectionDecoratorinstance.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.stopAndWaitPacketStreamSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according packet-stream decorator instance wrapping the givenOutputStream.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator.Builder<DECORATEE>SerialSugar.stopAndWaitPacketStreamSectionBuilder()Constructs a builder to build an accordingStopAndWaitPacketStreamSectionDecoratorinstance.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>SerialSugar.stopAndWaitSection(DECORATEE aDecoratee) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.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>SerialSugar.stopAndWaitSection(DECORATEE aDecoratee, SegmentPackager aAckSegmentPackager) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator<DECORATEE>SerialSugar.stopAndWaitSection(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according stop-and-wait decorator instance wrapping the given decoratee.static <DECORATEE extends Section>
StopAndWaitSectionDecorator.Builder<DECORATEE>SerialSugar.stopAndWaitSectionBuilder()Constructs a builder to build an accordingStopAndWaitSectionDecoratorinstance.Methods in org.refcodes.serial that return SectionMethods in org.refcodes.serial with parameters of type SectionModifier and TypeMethodDescriptionstatic MagicBytesSectionMultiplexerSerialSugar.magicBytesSectionMultiplexer(int aReadLimit, Section... aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.static MagicBytesSectionMultiplexerSerialSugar.magicBytesSectionMultiplexer(Section... aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.protected voidSectionComposite.setChildren(CHILD[] aChildren) Hook for easily setting the children.Method parameters in org.refcodes.serial with type arguments of type SectionModifier and TypeMethodDescriptionstatic MagicBytesSectionMultiplexerSerialSugar.magicBytesSectionMultiplexer(Collection<Section> aSections) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.static MagicBytesSectionMultiplexerSerialSugar.magicBytesSectionMultiplexer(Collection<Section> aSections, int aReadLimit) Constructs aMagicBytesSectionMultiplexercontaining the providedSectionelements.Constructors in org.refcodes.serial with parameters of type SectionModifierConstructorDescriptionMagicBytesSectionMultiplexer(int aReadLimit, Section... aSections) MagicBytesSectionMultiplexer(Section... aSections) SectionComposite(Class<ALLOC> aAllocSegmentClass, Class<CHILD> aSegmentClass, CHILD... aSegmentArray) Constructs aSectionCompositecontaining the providedAllocSectionDecoratorSegmentelements.SectionComposite(org.refcodes.factory.TypeFactory<ALLOC> aAllocSegmentFactory, org.refcodes.factory.TypeFactory<CHILD> aSegmentFactory, CHILD... aSegmentArray) Constructs aSectionCompositecontaining the providedAllocSectionDecoratorSegmentelements and using the provided factories for creatingSegmentandSectioninstances.Constructor parameters in org.refcodes.serial with type arguments of type SectionModifierConstructorDescriptionMagicBytesSectionMultiplexer(Collection<Section> aSections) MagicBytesSectionMultiplexer(Collection<Section> aSections, int aReadLimit)