com.devexperts.qd.kit
Class IPFSymbolFilter
java.lang.Object
com.devexperts.qd.kit.IPFSymbolFilter
- All Implemented Interfaces:
- SubscriptionFilter
public class IPFSymbolFilter
- extends java.lang.Object
- implements SubscriptionFilter
Subscription filter that filters only based on symbol. It accepts all symbols,
listed in specific IPF file.
Method Summary |
boolean |
acceptRecord(DataRecord record,
int cipher,
java.lang.String symbol)
Determines if specified record shall be processed by corresponding subsystem. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IPFSymbolFilter
public IPFSymbolFilter(SymbolCodec symbolCodec,
java.lang.String ipfUrl)
throws java.io.IOException
- Throws:
java.io.IOException
acceptRecord
public boolean acceptRecord(DataRecord record,
int cipher,
java.lang.String symbol)
- Description copied from interface:
SubscriptionFilter
- Determines if specified record shall be processed by corresponding subsystem.
- Specified by:
acceptRecord
in interface SubscriptionFilter
- Returns:
- true if the record should be processed; false if it should be ignored.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object