public class FIXProtocol extends java.lang.Object implements Protocol
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CharsetName
The character set used to encode and decode messages sent via FIX.
|
static java.nio.charset.CodingErrorAction |
CodingErrorAction
Specifies the default action to be taken when a character cannot be
encoded or decoded.
|
byte |
fieldSeparator |
byte |
headerSeparator |
byte |
messageSeparator |
Constructor and Description |
---|
FIXProtocol() |
FIXProtocol(byte fieldSeparator,
byte headerSeparator,
byte messageSeparator)
Initializes a new instance of the FIXProtocol class with the specified separators.
|
FIXProtocol(java.util.Properties props)
Initializes a new instance of the FIXProtocol class with the
specified properties.
|
Modifier and Type | Method and Description |
---|---|
FIXMessage |
allocateMessage()
Allocates a new FIX Message.
|
ProtocolParser |
getMessageStream()
Ges a new ProtocalParser instancc= for parsing messages.
|
public byte fieldSeparator
public byte headerSeparator
public byte messageSeparator
public static java.lang.String CharsetName
public static java.nio.charset.CodingErrorAction CodingErrorAction
public FIXProtocol()
public FIXProtocol(java.util.Properties props)
props
- A dictionary of properties containing field,
header, and message separators.public FIXProtocol(byte fieldSeparator, byte headerSeparator, byte messageSeparator)
fieldSeparator
- The field separator byte value.headerSeparator
- The header separator byte value.messageSeparator
- The message separator byte value.public FIXMessage allocateMessage()
allocateMessage
in interface Protocol
public ProtocolParser getMessageStream()
getMessageStream
in interface Protocol