Top Description Constructors Methods
org.reactfx

public Class EventSource<T>

extends EventStreamBase<T>
implements EventSink<T>
Class Inheritance
All Implemented Interfaces
org.reactfx.EventSink
Type Parameters
<T>
type of values this EventSource accepts and emits.

EventSource is an EventSink that serves also as an EventStream - every value pushed to EventSource is immediately emitted by it.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected final Subscription
observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Starts observing this observable's input(s), if any.

public final void
push(T value)

Implements org.reactfx.EventSink.push.

Make this event stream immediately emit the given value.

Constructor Detail

EventSourceback to summary
public EventSource()

Method Detail

observeInputsback to summary
protected final Subscription observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Doc from org.reactfx.ObservableBase.observeInputs.

Starts observing this observable's input(s), if any. This method is called when the number of observers goes from 0 to 1. This method is called before newObserver(Object) is called for the first observer.

Annotations
@Override
pushback to summary
public final void push(T value)

Implements org.reactfx.EventSink.push.

Make this event stream immediately emit the given value.

Annotations
@Override