|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.subscriptions.SerialSubscription
public class SerialSubscription
Represents a subscription whose underlying subscription can be swapped for another subscription which causes the previous underlying subscription to be unsubscribed.
| Constructor Summary | |
|---|---|
SerialSubscription()
|
|
| Method Summary | |
|---|---|
Subscription |
getSubscription()
|
void |
setSubscription(Subscription subscription)
|
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 SerialSubscription()
| Method Detail |
|---|
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 Subscription getSubscription()
public void setSubscription(Subscription subscription)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||