Uses of Interface
org.refcodes.serial.PayloadTransmission
-
Uses of PayloadTransmission in org.refcodes.serial
Subinterfaces of PayloadTransmission in org.refcodes.serialModifier and TypeInterfaceDescriptioninterfaceThePayloadSectioninterfaces defines aSectionwith a payload.interfaceThePayloadSegmentinterfaces defines aSegmentwith a payload.Classes in org.refcodes.serial that implement PayloadTransmissionModifier and TypeClassDescriptionclassMagic bytes are usually found (somewhere) at the beginning of a file or a stream.classAbstractMagicBytesTransmissionDecorator<DECORATEE extends Transmission>Magic bytes are usually found (somewhere) at the beginning of a file or a stream.classAn abstract implementation of aSectionwith payload.classAn abstract implementation of aSegmentwith payload.classclassTheAsciizSegmentis an implementation of aSegmentcarrying an ASCII encodedStringas payload, terminated by a 0 ("zero") indicating its end.classAssertMagicBytesSectionDecorator<DECORATEE extends Section>TheAssertMagicBytesSectionDecoratorextends theMagicBytesSectionDecoratorand 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).classTheAssertMagicBytesSegmentextends theMagicBytesSegmentand 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).classAssertMagicBytesSegmentDecorator<DECORATEE extends Segment>TheAssertMagicBytesSegmentDecoratorextends theMagicBytesSegmentDecoratorand 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).classTheBooleanArraySectionis an implementation of aSectioncarrying a boolean array as payload.classTheBooleanSegmentis an implementation of aSegmentcarrying in boolean value as value.classTheByteArraySectionis an implementation of aSectioncarrying a byte array as payload.classTheByteSegmentis an implementation of aSegmentcarrying in byte value as payload.classTheCharArraySectionis an implementation of aPayloadSectioncarrying a char array as payload.classTheCharSectionis an implementation of aSectioncarrying a char value as payload.classAComplexTypeSegmenttakes a POJO (a data structure) and creates from its content aSegmentrepresenting the POJO's structure.classTheDoubleArraySectionis an implementation of aSectioncarrying a double array as payload.classTheDoubleSegmentis an implementation of aSegmentcarrying in double value as payload.classTheDynamicTypeSectionrepresents aSectionwhich'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.classEnumSegment<E extends Enum<E>>TheEnumSegmentis an implementation of aSegmentcarrying an enumeration value as payload.classAFileSectionrepresents aFileon the file system and can be used to receive or to transmit aFile.classTheFixedLengthSequenceSegmentis aSegmentrepresenting aSequenceof a fixed length (as of the arguments passed to one of its constructors).classTheFloatArraySectionis an implementation of aSectioncarrying a float array as payload.classTheFloatSegmentis an implementation of aSegmentcarrying in float value as payload.classTheIntArraySectionis an implementation of aSectioncarrying an integer array as payload.classTheIntSegmentis an implementation of aSegmentcarrying an integer value as payload.classTheLongArraySectionis an implementation of aSectioncarrying a long array as payload.classTheLongSegmentis an implementation of aSegmentcarrying in long value as payload.classMagicBytesSectionDecorator<DECORATEE extends Section>Magic bytes are usually found (somewhere) at the beginning of a file or a stream.classMagic bytes are usually found (somewhere) at the beginning of a file or a stream.classMagicBytesSegmentDecorator<DECORATEE extends Segment>Magic bytes are usually found (somewhere) at the beginning of a file or a stream.classTheNumberSegmentis an implementation of aSegmentcarrying an integer value with a configurable width (in bytes) as payload.classclassConvenience class for theNumberSegmentusingTransmissionMetricssequence number related properties to configure theSequenceNumberSegment(being an accordingly configuredNumberSegment).classclassTheShortArraySectionis an implementation of aSectioncarrying a short array as payload.classTheShortSegmentis an implementation of aSegmentcarrying in short value as payload.classclassclassMethods in org.refcodes.serial that return PayloadTransmissionModifier and TypeMethodDescriptionComplexTypeSegment.withPayload(T aValue) FileSection.withPayload(File aPayload) FixedLengthSequenceSegment.withPayload(Sequence aValue) SequenceSection.withPayload(Sequence aValue)