Uses of Interface
org.refcodes.serial.Transmission
-
-
Uses of Transmission in org.refcodes.serial
Classes in org.refcodes.serial with type parameters of type Transmission Modifier and Type Class Description class
AbstractArrayTransmission<ARRAY extends Transmission>
AnAbstractArrayTransmission
is aTransmission
consisting ofTransmission
elements (an array of elements).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
AbstractMagicBytesTransmissionDecorator<DECORATEE extends Transmission>
Magic bytes are usually found (somewhere) at the beginning of a file or a stream.class
AbstractMagicBytesTransmissionDispatcher<CHILD extends Transmission>
TheAbstractMagicBytesTransmissionDispatcher
dispatches a transmission to one of the aggregatedTransmission
instances depending on the magic number provided by the transmission.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
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
AbstractTransmissionComposite<CHILD extends Transmission>
AAbstractTransmissionComposite
is aTransmission
consisting ofTransmission
elements with each element.class
AbstractTransmissionDecorator<DECORATEE extends Transmission>
An abstract implementation of aTransmission
decorating anotherTransmission
.interface
ArraySection<ARRAY extends Transmission>
interface
ArrayTransmission<ARRAY extends Transmission>
interface
DecoratorSection<DECORATEE extends Transmission>
TheDecoratorSection
interface provided means to access a decoratedTransmission
with the means of aSection
.interface
DecoratorSegment<DECORATEE extends Transmission>
TheDecoratorSegment
interface provided means to access a decoratedTransmission
with the means of aSegment
.class
LengthSegment<REFERENCEE extends Transmission>
AnLengthSegment
enriches aSegment
with an allocation declaration computed from the referencedTransmission
.interface
TransmissionAccessor<T extends Transmission>
Provides an accessor for aTransmission
property (as of the decorator pattern).static interface
TransmissionAccessor.TransmissionMutator<T extends Transmission>
Provides a mutator for aTransmission
property.static interface
TransmissionAccessor.TransmissionProperty<T extends Transmission>
Provides aTransmission
property.interface
TransmissionComposite<CHILD extends Transmission>
Subinterfaces of Transmission in org.refcodes.serial Modifier and Type Interface Description interface
ArraySection<ARRAY extends Transmission>
interface
ArraySegment<SEGMENT extends Segment>
interface
ArrayTransmission<ARRAY extends Transmission>
interface
DecoratorSection<DECORATEE extends Transmission>
TheDecoratorSection
interface provided means to access a decoratedTransmission
with the means of aSection
.interface
DecoratorSegment<DECORATEE extends Transmission>
TheDecoratorSegment
interface provided means to access a decoratedTransmission
with the means of aSegment
.interface
DynamicTypeTransmission
heDynamicTypeTransmission
represents aTransmission
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.interface
ErrorCorrectionTransmission
TheErrorCorrectionTransmission
represents the base error correction transmission definition.interface
PayloadSection<T>
ThePayloadSection
interfaces defines aSection
with a payload.interface
PayloadSegment<T>
ThePayloadSegment
interfaces defines aSegment
with a payload.interface
PayloadTransmission<T>
APayloadTransmission
represents aTransmission
carrying a payload (value)interface
ReadyToReceiveTransmission
TheReadyToReceiveTransmission
interface defines functionality for achieving a RTR "software" handshake between a receiver having the active RTR ("ready-to-receive") role and a transmitter being CTS ("clear-to-send") where the transmitter waits for a RTR signal from the receiver (the receiver signals to be ready for receiving data by issuing an RTR signal to the transmitter):TRANSMITTER RECEIVER | | Wait till enquiry-timeout | | Send RTR magic-bytes for RTR magic-bytes |←-----RTR------| Try RTR retry-number of times | | Wait till RTR retry-timeout/retry Send payload upon RTR | | magic-bytes or break-out |----PAYLOAD---→| Receive payload upon enquiry-timeout | |
Handshake specific signals are only transmitted through the return channel, the data channel is only used indirectly for handshaking by transporting the payload data in response to the return channel signals.interface
ReadyToSendTransmission
TheReadyToSendTransmission
interface defines functionality for achieving an RTS "software" handshake between a transmitter having the active RTS ("ready-to-send") role and a receiver confirming being CTS ("clear-to-send") where the receiver waits for a RTS signal from the transmitter (the transmitter signals to be ready for sending data by issuing an RTS signal to the receiver).interface
Section
TheSection
interface enables an implementing type to provide aSequence
representation of itself or to transmit itsSequence
representation through anOutputStream
(with an optional feedbackInputStream
) as oftransmitTo(OutputStream, InputStream)
and to initialize with aSequence
representation for itself or to receive aSequence
representation for itself through anInputStream
(with an optional feedbackOutputStream
) as ofSection.receiveFrom(InputStream, int, OutputStream)
.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..interface
Segment
TheSegment
interface enables an implementing type to provide aSequence
representation of itself or to transmit itsSequence
representation through anOutputStream
(with an optional feedbackInputStream
) as oftransmitTo(OutputStream, InputStream)
and to initialize with aSequence
representation for itself or to receive aSequence
representation for itself through anInputStream
(with an optional feedbackOutputStream
) as ofSegment.receiveFrom(InputStream, OutputStream)
.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.interface
StopAndWaitPacketStreamTransmission
TheStopAndWaitPacketStreamTransmission
interface defines the base functionality required by aTransmission
instance for providing block stream functionality.interface
StopAndWaitTransmission
TheStopAndWaitTransmission
is the most simple implementation of the ARQ (Automatic repeat request) protocol.static interface
Transmission.TransmissionMixin
Default implementation of theTransmission
interface providing an implementation of theTransmission.TransmissionMixin.transmitTo(OutputStream, InputStream)
method using thetoTransmission()
method.interface
TransmissionComposite<CHILD extends Transmission>
Classes in org.refcodes.serial that implement Transmission Modifier and Type Class Description class
AbstractArrayTransmission<ARRAY extends Transmission>
AnAbstractArrayTransmission
is aTransmission
consisting ofTransmission
elements (an array of elements).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
AbstractMagicBytesTransmissionDispatcher<CHILD extends Transmission>
TheAbstractMagicBytesTransmissionDispatcher
dispatches a transmission to one of the aggregatedTransmission
instances depending on the magic number provided by the transmission.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
AbstractTransmissionComposite<CHILD extends Transmission>
AAbstractTransmissionComposite
is aTransmission
consisting ofTransmission
elements with each element.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 oftransmitTo(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 oftransmitTo(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
DynamicTypeSegment
TheDynamicTypeSegment
represents aSegment
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 oftransmitTo(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 oftransmitTo(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
MagicBytesSectionDispatcher
THeMagicBytesSectionDispatcher
dispatches a transmission to one of the aggregatedSection
instances depending on the magic number provided by the transmission.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
MagicBytesSegmentDispatcher
THeMagicBytesSegmentDispatcher
dispatches a transmission to one of the aggregatedSegment
instances depending on the magic number provided by the transmission.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
class
StringSegment
Fields in org.refcodes.serial declared as Transmission Modifier and Type Field Description protected ARRAY[]
AbstractArrayTransmission. _array
protected CHILD[]
AbstractMagicBytesTransmissionDispatcher. _children
protected CHILD[]
AbstractTransmissionComposite. _children
protected DECORATEE
AbstractCrcTransmissionDecorator. _decoratee
protected DECORATEE
AbstractErrorCorrectionTransmissionDecorator. _decoratee
protected DECORATEE
AbstractMagicBytesTransmissionDecorator. _decoratee
protected DECORATEE
AbstractReadyToReceiveTransmissionDecorator. _decoratee
protected DECORATEE
AbstractReadyToSendTransmissionDecorator. _decoratee
protected DECORATEE
AbstractStopAndWaitPacketStreamTransmissionDecorator. _decoratee
protected DECORATEE
AbstractTransmissionDecorator. _decoratee
protected REFERENCEE
AbstractReferenceeLengthSegment. _referencee
protected CHILD
AbstractMagicBytesTransmissionDispatcher. _responsibility
Methods in org.refcodes.serial with type parameters of type Transmission Modifier and Type Method Description static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength()
Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTH
bytes used to specify the referencee's length and aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(int aLengthWidth)
Constructs an empty allocation value with the given number of bytes used to specify the referencee's length and aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess)
Constructs an empty allocation value with the given number of bytes used to specify the referencee's length and the providedEndianess
representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(org.refcodes.numerical.Endianess aEndianess)
Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTH
bytes used to specify the referencee's length and the providedEndianess
representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(TransmissionMetrics aTransmissionMetrics)
Constructs an according instance.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(REFERENCEE aReferencee)
Constructs the allocation value with the given referencee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTH
bytes used to specify the referencee's length aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(REFERENCEE aReferencee, int aLengthWidth)
Constructs the allocation value with the given referencee and with the given number of bytes used to specify the referencee's length and aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(REFERENCEE aReferencee, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess)
Constructs the allocation value with the given referencee and with the given number of bytes used to specify the referencee's length and the providedEndianess
representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(REFERENCEE aReferencee, org.refcodes.numerical.Endianess aEndianess)
Constructs the allocation value with the given referencee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTH
bytes used to specify the referencee's length and the providedEndianess
representation of the referencee's length.static <REFERENCEE extends Transmission>
LengthSegment<REFERENCEE>SerialSugar. segmentLength(REFERENCEE aReferencee, TransmissionMetrics aTransmissionMetrics)
Constructs an according instance.Methods in org.refcodes.serial that return Transmission Modifier and Type Method Description ARRAY[]
AbstractArrayTransmission. getArray()
CHILD[]
AbstractMagicBytesTransmissionDispatcher. getChildren()
CHILD[]
AbstractTransmissionComposite. getChildren()
Methods in org.refcodes.serial with parameters of type Transmission Modifier and Type Method Description void
AbstractArrayTransmission. setArray(ARRAY[] aValue)
AbstractArrayTransmission<ARRAY>
AbstractArrayTransmission. withArray(ARRAY[] aValue)
Constructors in org.refcodes.serial with parameters of type Transmission Constructor Description AbstractArrayTransmission(ARRAY... aSegments)
Constructs an according instance with the givenSegment
elements.AbstractArrayTransmission(String aAlias, ARRAY... aSegments)
Constructs an according instance with the givenSegment
elements.AbstractArrayTransmission(String aAlias, org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegments)
Constructs an according instance with the given elements.AbstractArrayTransmission(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegments)
Constructs an according instance with the given elements.AbstractMagicBytesTransmissionDispatcher(int aReadLimit, CHILD... aSegments)
Constructs aAbstractMagicBytesTransmissionDispatcher
containing the providedTransmission
elements.AbstractMagicBytesTransmissionDispatcher(CHILD... aSegments)
Constructs aAbstractMagicBytesTransmissionDispatcher
containing the providedTransmission
elements.AbstractTransmissionComposite(CHILD... aSegments)
Constructs aAbstractTransmissionComposite
containing the providedSegment
elements.
-