|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.subscriptions.MultipleAssignmentSubscription
public final class MultipleAssignmentSubscription
Subscription that can be checked for status such as in a loop inside an Observable to exit the loop if unsubscribed.
| Constructor Summary | |
|---|---|
MultipleAssignmentSubscription()
|
|
| Method Summary | |
|---|---|
Subscription |
get()
|
Subscription |
getSubscription()
Deprecated. |
boolean |
isUnsubscribed()
|
void |
set(Subscription s)
|
void |
setSubscription(Subscription s)
Deprecated. |
void |
unsubscribe()
Stop receiving notifications on the Subscriber that was registered when this Subscription was received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultipleAssignmentSubscription()
| Method Detail |
|---|
public boolean isUnsubscribed()
isUnsubscribed in interface Subscriptionpublic void unsubscribe()
SubscriptionSubscriber that was registered when this Subscription was received.
This allows unregistering an Subscriber before it has finished receiving all events (ie. before onCompleted is called).
unsubscribe in interface Subscription@Deprecated public void setSubscription(Subscription s)
public void set(Subscription s)
@Deprecated public Subscription getSubscription()
public Subscription get()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||