|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObservableSubscriptionChangeListener
This listener interface for receiving notifications on the change of subscription.
All methods on this interface are invoked while holding a lock on ObservableSubscription
instance,
thus all changes for a given subscription are synchronized with respect to each other.
symbolsAdded(Set)
and symbolsRemoved(Set)
are decorated depending on the actual implementation class of DXFeedSubscription
.
DXFeedTimeSeriesSubscription
decorates original subscription symbols by wrapping them
into instances of TimeSeriesSubscriptionSymbol
class.
Method Summary | |
---|---|
void |
subscriptionClosed()
Invoked after subscription is closed or when this listener is removed from the subscription. |
void |
symbolsAdded(java.util.Set<?> symbols)
Invoked after a collection of symbols is added to a subscription. |
void |
symbolsRemoved(java.util.Set<?> symbols)
Invoked after a collection of symbols is removed from a subscription. |
Method Detail |
---|
void symbolsAdded(java.util.Set<?> symbols)
decorated
.
void symbolsRemoved(java.util.Set<?> symbols)
decorated
.
void subscriptionClosed()
removed
from the subscription.
DXPublisher
subscription
is considered to be closed
when the corresponding DXEndpoint
is closed
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |