Package org.refcodes.serial.ext.observer
-
Interface Summary Interface Description ObservablePayloadSection<T> TheObservablePayloadSection
implements theObservable
interface in order to fire events upon a value being received/assigned (as ofSection.receiveFrom(java.io.InputStream, int, java.io.OutputStream)
orSection.fromTransmission(org.refcodes.serial.Sequence, int)
or the like).ObservablePayloadSegment<T> TheObservablePayloadSegment
implements theObservable
interface in order to fire events upon a value being received/assigned (as ofSegment.receiveFrom(java.io.InputStream, java.io.OutputStream)
orSegment.fromTransmission(org.refcodes.serial.Sequence)
or the like).ObservablePayloadTransmission<T> TheObservablePayloadTransmission
implements theObservable
interface in order to fire events upon a value being received/assigned.ObservableSection<T extends org.refcodes.serial.Section> TheObservableSection
implements theObservable
interface in order to fire events upon a transmission being received (as ofSection.receiveFrom(java.io.InputStream, int, java.io.OutputStream)
orSection.fromTransmission(org.refcodes.serial.Sequence, int)
or the like).ObservableSegment<T extends org.refcodes.serial.Segment> TheObservableSegment
implements theObservable
interface in order to fire events upon a transmission being received (as ofSegment.receiveFrom(java.io.InputStream, java.io.OutputStream)
orSegment.fromTransmission(org.refcodes.serial.Sequence)
or the like).ObservableTransmission<T extends org.refcodes.serial.Transmission> TheObservableTransmission
implements theObservable
interface in order to fire events upon a finished transmission.PayloadObserver<T> ThePayloadObserver
provides means to get signaled byPayloadEvent
instances published by an according subscribedObservablePayloadTransmission
.TransmissionObserver<T extends org.refcodes.serial.Transmission> TheTransmissionObserver
provides means to get signaled byTransmissionEvent
instances published by an according subscribedObservableTransmission
. -
Class Summary Class Description ObservablePayloadSectionDecorator<T> TheObservablePayloadSection
class enriches aPayloadSection
decoratee with observer functionality as of theObservablePayloadSection
interface.ObservablePayloadSegmentDecorator<T> TheObservablePayloadSegment
class enriches aPayloadSegment
decoratee with observer functionality as of theObservablePayloadSegment
interface.ObservableSectionDecorator<DECORATEE extends org.refcodes.serial.Section> TheObservableSection
class enriches aSection
decoratee with observer functionality as of theObservableSection
interface.ObservableSegmentDecorator<DECORATEE extends org.refcodes.serial.Segment> TheObservableSegment
class enriches aSegment
decoratee with observer functionality as of theObservableSegment
interface.ObservableSerialSugar Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for the construction of observable variousSegment
orSection
type instances (and the like).PayloadEvent<P> ThePayloadEvent
gets triggered byObservablePayloadTransmission
instances such as theObservablePayloadSegmentDecorator
or theObservablePayloadSectionDecorator
upon a payload being received.TransmissionEvent<T extends org.refcodes.serial.Transmission> TheTransmissionEvent
gets triggered byObservableTransmission
instances such as theObservableSegmentDecorator
or theObservableSectionDecorator
upon a transmission being received.