Package org.refcodes.serial.ext.observer
Interface ObservablePayloadSegment<T>
- Type Parameters:
T
- The type of theSegment
's payload.
- All Superinterfaces:
org.refcodes.mixin.AliasAccessor
,org.refcodes.mixin.LengthAccessor
,org.refcodes.observer.Observable<PayloadObserver<T>>
,ObservablePayloadTransmission<T>
,org.refcodes.mixin.PayloadAccessor<T>
,org.refcodes.mixin.PayloadAccessor.PayloadBuilder<T,
,org.refcodes.serial.PayloadTransmission<T>> org.refcodes.mixin.PayloadAccessor.PayloadMutator<T>
,org.refcodes.mixin.PayloadAccessor.PayloadProperty<T>
,org.refcodes.serial.PayloadSegment<T>
,org.refcodes.serial.PayloadTransmission<T>
,org.refcodes.mixin.Schemable<org.refcodes.serial.SerialSchema>
,org.refcodes.serial.Segment
,Serializable
,org.refcodes.serial.Transmission
- All Known Implementing Classes:
ObservablePayloadSegmentDecorator
public interface ObservablePayloadSegment<T>
extends org.refcodes.serial.PayloadSegment<T>, ObservablePayloadTransmission<T>
The
ObservablePayloadSegment
implements the Observable
interface in order to fire events upon a value being received/assigned (as of
Segment.receiveFrom(java.io.InputStream, java.io.OutputStream)
or
Segment.fromTransmission(org.refcodes.serial.Sequence)
or the like).-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.LengthAccessor
org.refcodes.mixin.LengthAccessor.LengthBuilder<B extends org.refcodes.mixin.LengthAccessor.LengthBuilder<B>>, org.refcodes.mixin.LengthAccessor.LengthMutator, org.refcodes.mixin.LengthAccessor.LengthProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.PayloadAccessor
org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends Object,
B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P, B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends Object> Nested classes/interfaces inherited from interface org.refcodes.serial.Segment
org.refcodes.serial.Segment.SegmentMixin
Nested classes/interfaces inherited from interface org.refcodes.serial.Transmission
org.refcodes.serial.Transmission.TransmissionMixin
-
Method Summary
Methods inherited from interface org.refcodes.mixin.AliasAccessor
getAlias
Methods inherited from interface org.refcodes.observer.Observable
hasObserverSubscription, subscribeObserver, unsubscribeObserver
Methods inherited from interface org.refcodes.mixin.PayloadAccessor
getPayload, getPayloadOr
Methods inherited from interface org.refcodes.mixin.PayloadAccessor.PayloadBuilder
withPayload
Methods inherited from interface org.refcodes.mixin.PayloadAccessor.PayloadMutator
setPayload
Methods inherited from interface org.refcodes.mixin.PayloadAccessor.PayloadProperty
letPayload
Methods inherited from interface org.refcodes.serial.Segment
fromTransmission, fromTransmission, fromTransmission, fromTransmission, receiveFrom, receiveFrom, receiveFrom
Methods inherited from interface org.refcodes.serial.Transmission
getLength, toSchema, toSequence, toSimpleTypeMap, transmitTo, transmitTo, transmitTo