Package org.refcodes.serial.ext.observer
Interface PayloadObserver<T>
- Type Parameters:
T- The type of the payload carried by thePayloadEvent.
- All Superinterfaces:
org.refcodes.observer.Observer<PayloadEvent<T>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface PayloadObserver<T>
extends org.refcodes.observer.Observer<PayloadEvent<T>>
The
PayloadObserver provides means to get signaled by
PayloadEvent instances published by an according subscribed
ObservablePayloadTransmission.-
Method Summary
Methods inherited from interface org.refcodes.observer.Observer
onEvent