|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QDCollector
The QDCollector
represents a hub which collects subscription from
data consumers and distributes it among data providers and at the same time it
collects data from data providers and distributes it among data consumers.
The data consumers are represented by their QDAgent
, and the data providers
are represented by their QDDistributor
.
Method Summary | |
---|---|
QDAgent |
createAgent(SubscriptionFilter filter)
Creates new agent with specified subscription filter. |
QDAgent |
createAgent(SubscriptionFilter filter,
java.lang.String key_properties)
|
QDDistributor |
createDistributor(SubscriptionFilter filter)
Creates new distributor with specified subscription filter. |
QDDistributor |
createDistributor(SubscriptionFilter filter,
java.lang.String key_properties)
|
QDContract |
getContract()
Retruns contract that this collector provides. |
DataScheme |
getScheme()
Returns data scheme used by this QD component. |
java.lang.String |
getSymbol(char[] chars,
int offset,
int length)
|
void |
setErrorHandler(QDErrorHandler error_handler)
Sets errors handler for all errors that are happening during notification of agents and distributors. |
Methods inherited from interface com.devexperts.qd.SubscriptionContainer |
---|
examineSubscription, getSubscriptionSize, isSubscribed |
Methods inherited from interface com.devexperts.qd.stats.QDStatsContainer |
---|
getStats |
Method Detail |
---|
DataScheme getScheme()
QDContract getContract()
QDAgent createAgent(SubscriptionFilter filter)
null
to use no filter.
QDAgent createAgent(SubscriptionFilter filter, java.lang.String key_properties)
QDDistributor createDistributor(SubscriptionFilter filter)
null
to use no filter.
QDDistributor createDistributor(SubscriptionFilter filter, java.lang.String key_properties)
void setErrorHandler(QDErrorHandler error_handler)
DataScheme.getService(java.lang.Class)
method
and QDErrorHandler.DEFAULT
is used if no override is found.
java.lang.String getSymbol(char[] chars, int offset, int length)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |