Uses of Interface
org.refcodes.serial.Transmission.TransmissionMixin
-
Uses of Transmission.TransmissionMixin in org.refcodes.serial
Modifier and TypeInterfaceDescriptioninterface
ArraySection<ARRAY extends Transmission>
interface
ArraySegment<SEGMENT extends Segment>
static interface
Default implementation of theSection
interface providing an implementation of theSection.SectionMixin.receiveFrom(InputStream, int, OutputStream)
method using theSection.fromTransmission(Sequence, int)
method or theSection.fromTransmission(Sequence, int, int)
method..static interface
Default implementation of theSegment
interface providing an implementation of theSegment.SegmentMixin.receiveFrom(InputStream, OutputStream)
method using theSegment.fromTransmission(Sequence)
method or theSegment.fromTransmission(Sequence, int)
method.Modifier and TypeClassDescriptionclass
AbstractCipherTransmissionDecorator<DECORATEE extends Transmission>
An abstract implementation of bijective and inverse functions applied to the decoratee's transmitting and receiving methods.class
AbstractCrcTransmissionDecorator<DECORATEE extends Transmission>
AAbstractCrcTransmissionDecorator
wraps aTransmission
instance and enriches theTransmission
with a CRC checksum.class
AbstractErrorCorrectionTransmissionDecorator<DECORATEE extends Transmission>
TheAbstractErrorCorrectionTransmissionDecorator
class implements a decorator providing base functionality for an error correctionTransmission
.class
AbstractInvertibleTransmissionDecorator<DECORATEE extends Transmission>
An abstract implementation of bijective and inverse functions applied to the decoratee's transmitting and receiving methods.class
AbstractLengthDecoratorSegment<DECORATEE extends Transmission>
TheAbstractLengthDecoratorSegment
decorates a decoratee with a length prefix.class
Magic bytes are usually found (somewhere) at the beginning of a file or a stream.class
AbstractMagicBytesTransmissionDecorator<DECORATEE extends Transmission>
Magic bytes are usually found (somewhere) at the beginning of a file or a stream.class
An abstract implementation of aSection
with payload.class
An abstract implementation of aSegment
with payload.class
AbstractReadyToReceiveTransmissionDecorator<DECORATEE extends Transmission>
TheAbstractReadyToReceiveTransmissionDecorator
class implements a decorator providingReadyToReceiveTransmission
functionality for aTransmission
.class
AbstractReadyToSendTransmissionDecorator<DECORATEE extends Transmission>
TheAbstractReadyToSendTransmissionDecorator
class implements a decorator providingReadyToSendTransmission
functionality for aTransmission
.class
AbstractReferenceeLengthSegment<REFERENCEE extends Transmission>
TheAbstractReferenceeLengthSegment
represents a allocated length value as of the referencedTransmission
element's length.class
AbstractSectionDecorator<SECTION extends Section>
Convenience class for easily decorating aSection
.class
AbstractSegmentDecorator<SEGMENT extends Segment>
Convenience class for easily decorating aSegment
.class
AbstractStopAndWaitPacketStreamTransmissionDecorator<DECORATEE extends Transmission>
AAbstractStopAndWaitPacketStreamTransmissionDecorator
wraps aTransmission
instance and enriches theTransmission
with packet-stream functionality.class
AbstractStopAndWaitTransmissionDecorator<DECORATEE extends Transmission>
TheAbstractStopAndWaitTransmissionDecorator
class implements a decorator providingStopAndWaitTransmission
functionality for aTransmission
.class
AbstractTransmissionDecorator<DECORATEE extends Transmission>
An abstract implementation of aTransmission
decorating anotherTransmission
.class
AllocSectionDecoratorSegment<DECORATEE extends Section>
AnAllocSectionDecoratorSegment
enriches anSection
with an allocation declaration being prefixed to the enrichedSection
.class
AllocSegmentBody<DECORATEE extends Section>
AnAllocSegmentBody
provides anSegment
with an allocation length.class
AnAllocSegmentHead
provides the allocation length for aAllocSegmentBody
.class
class
TheAsciizSegment
is an implementation of aSegment
carrying an ASCII encodedString
as payload, terminated by a 0 ("zero") indicating its end.class
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
TheAssertMagicBytesSegment
extends theMagicBytesSegment
and 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).class
AssertMagicBytesSegmentDecorator<DECORATEE extends Segment>
TheAssertMagicBytesSegmentDecorator
extends theMagicBytesSegmentDecorator
and 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).class
TheBooleanArraySection
is an implementation of aSection
carrying a boolean array as payload.class
TheBooleanSegment
is an implementation of aSegment
carrying in boolean value as value.class
BreakerSectionDecorator<DECORATEE extends Section>
TheBreakerSectionDecorator
is aDecoratorSection
build to test error detection and error correctionTransmission
implementations such as theCrcSectionDecorator
or theStopAndWaitSectionDecorator
.class
BreakerSegmentDecorator<DECORATEE extends Segment>
TheBreakerSegmentDecorator
is aDecoratorSegment
build to test error detection and error correctionTransmission
implementations such as theCrcSegmentDecorator
or theStopAndWaitSegmentDecorator
.class
TheByteArraySection
is an implementation of aSection
carrying a byte array as payload.class
TheByteSegment
is an implementation of aSegment
carrying in byte value as payload.class
TheCharArraySection
is an implementation of aPayloadSection
carrying a char array as payload.class
TheCharSection
is an implementation of aSection
carrying a char value as payload.class
CipherSectionDecorator<DECORATEE extends Section>
ACipherSectionDecorator
is a transmission applying anInvertible
on outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)
or the like) and the inverse function on any incoming bytes.class
CipherSegmentDecorator<DECORATEE extends Segment>
ACipherSegmentDecorator
is a transmission applying anInvertible
on outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)
or the like) and the inverse function on any incoming bytes.class
AComplexTypeSegment
takes a POJO (a data structure) and creates from its content aSegment
representing the POJO's structure.class
CrcSectionDecorator<DECORATEE extends Section>
class
CrcSegmentDecorator<DECORATEE extends Segment>
class
TheDoubleArraySection
is an implementation of aSection
carrying a double array as payload.class
TheDoubleSegment
is an implementation of aSegment
carrying in double value as payload.class
TheDynamicTypeSection
represents aSection
which'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.class
EnumSegment<E extends Enum<E>>
TheEnumSegment
is an implementation of aSegment
carrying an enumeration value as payload.class
AFileSection
represents aFile
on the file system and can be used to receive or to transmit aFile
.class
TheFixedLengthSequenceSegment
is aSegment
representing aSequence
of a fixed length (as of the arguments passed to one of its constructors).class
FixedSegmentArraySection<ARRAY extends Segment>
AFixedSegmentArraySection
is aSection
consisting ofSegment
elements with each element of the same (uniform) length (in contrast to theSegmentArraySection
).class
TheFloatArraySection
is an implementation of aSection
carrying a float array as payload.class
TheFloatSegment
is an implementation of aSegment
carrying in float value as payload.class
TheIntArraySection
is an implementation of aSection
carrying an integer array as payload.class
TheIntSegment
is an implementation of aSegment
carrying an integer value as payload.class
InvertibleSectionDecorator<DECORATEE extends Section>
AInvertibleSectionDecorator
is a transmission applying anInvertible
on outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)
or the like) and the inverse function on any incoming bytes.class
InvertibleSegmentDecorator<DECORATEE extends Segment>
AInvertibleSegmentDecorator
is a transmission applying anInvertible
on outgoing bytes (as ofTransmission.transmitTo(java.io.OutputStream)
or the like) and the inverse function on any incoming bytes.class
LengthSegment<REFERENCEE extends Transmission>
AnLengthSegment
enriches aSegment
with an allocation declaration computed from the referencedTransmission
.class
LengthSegmentDecoratorSegment<DECORATEE extends Segment>
AnLengthSegmentDecoratorSegment
enriches aSegment
with an allocation declaration being prefixed to the enrichedSegment
.class
TheLongArraySection
is an implementation of aSection
carrying a long array as payload.class
TheLongSegment
is an implementation of aSegment
carrying in long value as payload.class
MagicBytesSectionDecorator<DECORATEE extends Section>
Magic bytes are usually found (somewhere) at the beginning of a file or a stream.class
Magic bytes are usually found (somewhere) at the beginning of a file or a stream.class
MagicBytesSegmentDecorator<DECORATEE extends Segment>
Magic bytes are usually found (somewhere) at the beginning of a file or a stream.class
TheNumberSegment
is an implementation of aSegment
carrying in long an integer value with a configurable width (in bytes) as payload.class
class
ReadyToReceiveSectionDecorator<DECORATEE extends Section>
TheReadyToReceiveSectionDecorator
class implements a decorator providingReadyToReceiveTransmission
functionality for aSegment
.class
ReadyToReceiveSegmentDecorator<DECORATEE extends Segment>
TheReadyToReceiveSegmentDecorator
class implements a decorator providingReadyToReceiveTransmission
functionality for aSegment
.class
ReadyToSendSectionDecorator<DECORATEE extends Section>
TheReadyToSendSectionDecorator
class implements a decorator providingReadyToSendTransmission
functionality for aSegment
.class
ReadyToSendSegmentDecorator<DECORATEE extends Segment>
TheReadyToSendSegmentDecorator
class implements a decorator providingReadyToSendTransmission
functionality for aSegment
.class
SectionComposite<ALLOC extends AllocSectionDecoratorSegment<CHILD>,
CHILD extends Section> ASectionComposite
is aSection
consisting ofSection
elements of a variable length each: EachSection
element in the composite need not be of the same size.class
SegmentArraySection<ARRAY extends Segment>
ASegmentArraySection
is aSegment
consisting ofSegment
elements with each element of presumably different lengths ( in contrast to theFixedSegmentArraySection
).class
SegmentComposite<CHILD extends Segment>
class
Convenience class for theNumberSegment
usingTransmissionMetrics
sequence number related properties to configure theSequenceNumberSegment
(being an accordingly configuredNumberSegment
).class
class
TheShortArraySection
is an implementation of aSection
carrying a short array as payload.class
TheShortSegment
is an implementation of aSegment
carrying in short value as payload.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
StopAndWaitPacketStreamSegmentDecorator<DECORATEE extends Segment>
AStopAndWaitPacketStreamSegmentDecorator
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
.class
StopAndWaitSegmentDecorator<DECORATEE extends Segment>
TheStopAndWaitSegmentDecorator
class implements a decorator providingStopAndWaitTransmission
functionality for aSegment
.class
class