Interface FeedParser

All Known Implementing Classes:
BinanceTradeParser
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FeedParser
Parses one exchange feed message into a trade. Implementations must return null (never throw) for non-trade messages — subscription acks, heartbeats, or malformed payloads — so a noisy feed cannot kill the adapter.
  • Method Summary

    Modifier and Type
    Method
    Description
    parseTrade(String message)