com.crankuptheamps.client
Class FIXProtocol
java.lang.Object
com.crankuptheamps.client.FIXProtocol
- All Implemented Interfaces:
- Protocol
- Direct Known Subclasses:
- NVFIXProtocol
public class FIXProtocol
- extends Object
- implements Protocol
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fieldSeparator
public byte fieldSeparator
headerSeparator
public byte headerSeparator
messageSeparator
public byte messageSeparator
CharsetName
public static String CharsetName
- The character set used to encode and decode messages sent via FIX.
If you wish to change this value (whose default is Latin-1),
this value must be set before connecting a Client to a FIX endpoint.
CodingErrorAction
public static CodingErrorAction CodingErrorAction
- Specifies the default action to be taken when a character cannot be
encoded or decoded.
FIXProtocol
public FIXProtocol()
FIXProtocol
public FIXProtocol(Properties props)
throws ProtocolException
- Throws:
ProtocolException
FIXProtocol
public FIXProtocol(byte fieldSeparator,
byte headerSeparator,
byte messageSeparator)
throws ProtocolException
- Throws:
ProtocolException
setV1
public void setV1(boolean isV1)
allocateMessage
public FIXMessage allocateMessage()
- Specified by:
allocateMessage
in interface Protocol
getMessageStream
public ProtocolParser getMessageStream()
- Specified by:
getMessageStream
in interface Protocol