Uses of Interface
org.refcodes.serial.Transmission.TransmissionMixin
-
-
Uses of Transmission.TransmissionMixin in org.refcodes.serial
Subinterfaces of Transmission.TransmissionMixin in org.refcodes.serial Modifier and Type Interface Description interface
ArraySection<ARRAY extends Transmission>
interface
ArraySegment<SEGMENT extends Segment>
static interface
Section.SectionMixin
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
Segment.SegmentMixin
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.Classes in org.refcodes.serial that implement Transmission.TransmissionMixin Modifier and Type Class Description class
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
AbstractMagicBytesTransmission
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
AbstractPayloadSection<T>
An abstract implementation of aSection
with payload.class
AbstractPayloadSegment<T>
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
AcknowledgeSegment
TheAcknowledgeSegment
representsSegment
transporting a cargo and providing a sequence number, CRC checksums as well as length declarations.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
AllocSegmentHead
AnAllocSegmentHead
provides the allocation length for aAllocSegmentBody
.class
AsciizArraySegment
class
AsciizSegment
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
AssertMagicBytesSegment
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
BooleanArraySection
TheBooleanArraySection
is an implementation of aSection
carrying a boolean array as payload.class
BooleanSegment
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
ByteArraySection
TheByteArraySection
is an implementation of aSection
carrying a byte array as payload.class
ByteSegment
TheByteSegment
is an implementation of aSegment
carrying in byte value as payload.class
CharArraySection
TheCharArraySection
is an implementation of aPayloadSection
carrying a char array as payload.class
CharSection
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
ComplexTypeSegment<T>
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
DoubleArraySection
TheDoubleArraySection
is an implementation of aSection
carrying a double array as payload.class
DoubleSegment
TheDoubleSegment
is an implementation of aSegment
carrying in double value as payload.class
DynamicTypeSection
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
EnvelopeSegment
TheEnvelopeSegment
representsSegment
transporting a cargo and providing a sequence number, CRC checksums as well as length declarations.class
FileSection
AFileSection
represents aFile
on the file system and can be used to receive or to transmit aFile
.class
FixedLengthSequenceSegment
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
FloatArraySection
TheFloatArraySection
is an implementation of aSection
carrying a float array as payload.class
FloatSegment
TheFloatSegment
is an implementation of aSegment
carrying in float value as payload.class
FullDuplexPacketPortDecorator.TransmissionSegment
class
IntArraySection
TheIntArraySection
is an implementation of aSection
carrying an integer array as payload.class
IntSegment
TheIntSegment
is an implementation of aSegment
carrying in 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
LongArraySection
TheLongArraySection
is an implementation of aSection
carrying a long array as payload.class
LongSegment
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
MagicBytesSegment
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
NumberSegment
TheNumberSegment
is an implementation of aSegment
carrying in long an integer value with a configurable width (in bytes) as payload.class
PropertiesSection
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
SequenceNumberSegment
Convenience class for theNumberSegment
usingTransmissionMetrics
sequence number related properties to configure theSequenceNumberSegment
(being an accordingly configuredNumberSegment
).class
SequenceSection
class
ShortArraySection
TheShortArraySection
is an implementation of aSection
carrying a short array as payload.class
ShortSegment
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
StringArraySection
class
StringSection
-