Package deltix.qsrv.hf.tickdb.pub.query
Interface TypeSubscriptionController
-
- All Known Subinterfaces:
EntityAndTypeSubscriptionController
,InstrumentMessageSource
,SubscriptionController
,SubscriptionManager
,SymbolAndTypeSubscriptionController
,SymbolAndTypeSubscriptionControllerAdapter
,SymbolAndTypeSubscriptionControllerClient
,TickCursor
- All Known Implementing Classes:
InstrumentMessageSourceAdapter
,LimitedInstrumentMessageSource
,MessageReader2
,SubscriptionManagerWrapper
,TickCursorAdapter
,TickCursorClientAeron
public interface TypeSubscriptionController
Controls subscription for specific message types. Methods have no return value, because they can act asynchronously. The implementor of this interface is not required to remember the subscription details; therefore, there are no methods provided to query the current state (such as "hasType", etc.). The user of this interface can independently track current subscription, if so desired.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTypes(java.lang.String... names)
Add the specified type names to subscription.void
removeTypes(java.lang.String... names)
Remove the specified types from subscription.void
setTypes(java.lang.String... names)
Subscribe to specified types.void
subscribeToAllTypes()
Subscribe to all available types (no filtering).
-
-
-
Method Detail
-
subscribeToAllTypes
void subscribeToAllTypes()
Subscribe to all available types (no filtering).
-
setTypes
void setTypes(java.lang.String... names)
Subscribe to specified types.
-
addTypes
void addTypes(java.lang.String... names)
Add the specified type names to subscription.
-
removeTypes
void removeTypes(java.lang.String... names)
Remove the specified types from subscription.
-
-