public class CboeFXBookFormatter extends Object
Constructor and Description |
---|
CboeFXBookFormatter()
Create a formatter for outbound Cboe FX Book Protocol messages.
|
Modifier and Type | Method and Description |
---|---|
void |
marketSnapshotEnd(ByteBuffer buffer)
End a Market Snapshot message.
|
void |
marketSnapshotEntry(ByteBuffer buffer,
CboeFXBook.MarketSnapshotEntry entry)
Add an entry to a Market Snapshot message.
|
void |
marketSnapshotStart(ByteBuffer buffer)
Start a Market Snapshot message.
|
public CboeFXBookFormatter()
public void marketSnapshotStart(ByteBuffer buffer)
buffer
- a bufferpublic void marketSnapshotEntry(ByteBuffer buffer, CboeFXBook.MarketSnapshotEntry entry)
Add an entry to a Market Snapshot message. Subsequent entries must be grouped by the following fields:
buffer
- a bufferentry
- an entrypublic void marketSnapshotEnd(ByteBuffer buffer)
buffer
- a bufferCopyright © 2019. All rights reserved.