| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AtomicReference | |
| pack-priv final Object | |
| pack-priv Subscription | |
| pack-priv final Observable | |
| pack-priv final Func0 | |
| pack-priv Subscriber | subscription
Guarded by guard. |
| pack-priv final List |
| Access | Constructor and Description |
|---|---|
| public | OperatorMulticast(Observable<? extends T> source, final Func0<? extends Subject<? super T, ? extends R>> subjectFactory)
|
| private | OperatorMulticast(final Object guard, final AtomicReference<Subject<? super T, ? extends R>> connectedSubject, final List<Subscriber<? super R>> waitingForConnect, Observable<? extends T> source, final Func0<? extends Subject<? super T, ? extends R>> subjectFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | connect(Action1<? super Subscription>
the action that receives the connection subscription before the subscription to source happens
allowing the caller to synchronously disconnect a synchronous source connection)Implements abstract rx. ConnectableObservable to begin emitting the items from its underlying
Observable to its Subscribers.
|
| connectedSubject | back to summary |
|---|---|
| pack-priv final AtomicReference<Subject<? super T, ? extends R>> connectedSubject | |
| guard | back to summary |
|---|---|
| pack-priv final Object guard | |
| guardedSubscription | back to summary |
|---|---|
| pack-priv Subscription guardedSubscription | |
| source | back to summary |
|---|---|
| pack-priv final Observable<? extends T> source | |
| subjectFactory | back to summary |
|---|---|
| pack-priv final Func0<? extends Subject<? super T, ? extends R>> subjectFactory | |
| subscription | back to summary |
|---|---|
| pack-priv Subscriber<T> subscription Guarded by guard. | |
| waitingForConnect | back to summary |
|---|---|
| pack-priv final List<Subscriber<? super R>> waitingForConnect | |
| OperatorMulticast | back to summary |
|---|---|
| public OperatorMulticast(Observable<? extends T> source, final Func0<? extends Subject<? super T, ? extends R>> subjectFactory) | |
| OperatorMulticast | back to summary |
|---|---|
| private OperatorMulticast(final Object guard, final AtomicReference<Subject<? super T, ? extends R>> connectedSubject, final List<Subscriber<? super R>> waitingForConnect, Observable<? extends T> source, final Func0<? extends Subject<? super T, ? extends R>> subjectFactory) | |
| connect | back to summary |
|---|---|
| public void connect(Action1<? super Subscription> connection) Implements abstract rx. Doc from rx. Instructs the
| |