Package deltix.qsrv.hf.tickdb.pub
Class FilterTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.pub.FilterTickLoader<T>
-
- All Implemented Interfaces:
deltix.data.stream.MessageChannel<T>
,TickLoader<T>
,deltix.util.lang.Disposable
,java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Direct Known Subclasses:
TimestampIgnoringTickLoader
public class FilterTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo> extends java.lang.Object implements TickLoader<T>
Base class for delegating implementations of TickLoader.
-
-
Constructor Summary
Constructors Constructor Description FilterTickLoader(TickLoader<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEventListener(LoadingErrorListener listener)
void
addSubscriptionListener(SubscriptionChangeListener listener)
void
close()
void
flush()
WritableTickStream
getTargetStream()
void
removeEventListener(LoadingErrorListener listener)
void
removeSubscriptionListener(SubscriptionChangeListener listener)
void
removeUnique(T msg)
void
send(T msg)
java.lang.String
toString()
-
-
-
Constructor Detail
-
FilterTickLoader
public FilterTickLoader(TickLoader<T> delegate)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfacedeltix.util.lang.Disposable
-
send
public void send(T msg)
- Specified by:
send
in interfacedeltix.data.stream.MessageChannel<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
-
getTargetStream
public WritableTickStream getTargetStream()
- Specified by:
getTargetStream
in interfaceTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
-
removeEventListener
public void removeEventListener(LoadingErrorListener listener)
- Specified by:
removeEventListener
in interfaceTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
-
addEventListener
public void addEventListener(LoadingErrorListener listener)
- Specified by:
addEventListener
in interfaceTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
-
addSubscriptionListener
public void addSubscriptionListener(SubscriptionChangeListener listener)
- Specified by:
addSubscriptionListener
in interfaceTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
-
removeSubscriptionListener
public void removeSubscriptionListener(SubscriptionChangeListener listener)
- Specified by:
removeSubscriptionListener
in interfaceTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
-
removeUnique
public void removeUnique(T msg)
- Specified by:
removeUnique
in interfaceTickLoader<T extends deltix.qsrv.hf.pub.InstrumentMessageInfo>
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Throws:
java.io.IOException
-
-