Class BinaryOrderReceiver
java.lang.Object
com.quantfinlib.sbe.BinaryOrderReceiver
- All Implemented Interfaces:
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
-
BinaryOrderReceiver
-
-
Method Details
-
start
public void start() -
ordersReceived
public long ordersReceived() -
failureReason
Non-null once the reader stopped on a protocol or I/O error. -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-