Class BinaryOrderReceiver

java.lang.Object
com.quantfinlib.sbe.BinaryOrderReceiver
All Implemented Interfaces:
AutoCloseable

public final class BinaryOrderReceiver extends Object implements AutoCloseable
Venue side of the binary order-entry pair: decodes OrderFlyweight frames from a channel and dispatches them to an OrderListener — same zero-allocation read loop as BinaryMarketDataClient, with partial-frame handling. An exchange simulator (or matching engine) sits behind the listener.
  • Constructor Details

  • Method Details

    • start

      public void start()
    • ordersReceived

      public long ordersReceived()
    • failureReason

      public String failureReason()
      Non-null once the reader stopped on a protocol or I/O error.
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException