Uses of Interface
org.refcodes.serial.DecoratorSection
-
Uses of DecoratorSection in org.refcodes.serial
Modifier and TypeClassDescriptionclass
AssertMagicBytesSectionDecorator<DECORATEE extends Section>
TheAssertMagicBytesSectionDecorator
extends theMagicBytesSectionDecorator
and 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).class
BreakerSectionDecorator<DECORATEE extends Section>
TheBreakerSectionDecorator
is aDecoratorSection
build to test error detection and error correctionTransmission
implementations such as theCrcSectionDecorator
or theStopAndWaitSectionDecorator
.class
CrcSectionDecorator<DECORATEE extends Section>
class
MagicBytesSectionDecorator<DECORATEE extends Section>
Magic bytes are usually found (somewhere) at the beginning of a file or a stream.class
ReadyToReceiveSectionDecorator<DECORATEE extends Section>
TheReadyToReceiveSectionDecorator
class implements a decorator providingReadyToReceiveTransmission
functionality for aSegment
.class
ReadyToSendSectionDecorator<DECORATEE extends Section>
TheReadyToSendSectionDecorator
class implements a decorator providingReadyToSendTransmission
functionality for aSegment
.class
StopAndWaitPacketStreamSectionDecorator<DECORATEE extends Section>
AStopAndWaitPacketStreamSectionDecorator
chunks any outgoing stream (OutputStream
) into blocks of definite length and reassembles any incoming streams (InputStream
) from blocks of definite size into a contiguous stream.class
StopAndWaitSectionDecorator<DECORATEE extends Section>
TheStopAndWaitSectionDecorator
class implements a decorator providingStopAndWaitTransmission
functionality for aSection
.