|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.subscriptions.MultipleAssignmentSubscription
public 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 |
getSubscription()
|
boolean |
isUnsubscribed()
|
void |
setSubscription(Subscription s)
|
void |
unsubscribe()
Stop receiving notifications on the Observer 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()
public void unsubscribe()
SubscriptionObserver that was registered when this Subscription was received.
This allows unregistering an Observer before it has finished receiving all events (ie. before onCompleted is called).
unsubscribe in interface Subscriptionpublic void setSubscription(Subscription s)
public Subscription getSubscription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||