Uses of Interface
org.refcodes.serial.PayloadTransmission
-
Uses of PayloadTransmission in org.refcodes.serial
Modifier and TypeInterfaceDescriptioninterface
ThePayloadSection
interfaces defines aSection
with a payload.interface
ThePayloadSegment
interfaces defines aSegment
with a payload.Modifier and TypeClassDescriptionclass
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
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
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
AComplexTypeSegment
takes a POJO (a data structure) and creates from its content aSegment
representing the POJO's structure.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
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
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 an integer value with a configurable width (in bytes) as payload.class
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
class
class
Modifier and TypeMethodDescriptionComplexTypeSegment.withPayload
(T aValue) FileSection.withPayload
(File aPayload) FixedLengthSequenceSegment.withPayload
(Sequence aValue) SequenceSection.withPayload
(Sequence aValue)