|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.devexperts.qd.logger.LoggedObject
com.devexperts.qd.logger.LoggedSubscriptionProvider
public class LoggedSubscriptionProvider
Field Summary |
---|
Fields inherited from class com.devexperts.qd.logger.LoggedObject |
---|
log, name |
Constructor Summary | |
---|---|
LoggedSubscriptionProvider(QDLog log,
java.lang.String name,
SubscriptionProvider delegate,
DataScheme scheme)
|
Method Summary | |
---|---|
boolean |
retrieveSubscription(SubscriptionVisitor visitor)
Retrieves accumulated subscription into specified subscription visitor. |
void |
setSubscriptionListener(SubscriptionListener listener)
Sets new subscription listener to receive notifications about subscription. |
Methods inherited from class com.devexperts.qd.logger.LoggedObject |
---|
child, debug, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoggedSubscriptionProvider(QDLog log, java.lang.String name, SubscriptionProvider delegate, DataScheme scheme)
Method Detail |
---|
public boolean retrieveSubscription(SubscriptionVisitor visitor)
SubscriptionProvider
true
if some subscription still remains in the provider
or false
if all accumulated subscription were retrieved.
retrieveSubscription
in interface SubscriptionProvider
public void setSubscriptionListener(SubscriptionListener listener)
SubscriptionProvider
null
to set empty subscription listener (no notifications).
NOTE: if there is accumulated subscription available, then specified listener will be notified by this method.
setSubscriptionListener
in interface SubscriptionProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |