public static class FIXConfig.Builder extends Object
A connection configuration builder. The builder uses the following default values:
Constructor and Description |
---|
Builder()
Create a connection configuration builder.
|
Modifier and Type | Method and Description |
---|---|
FIXConfig |
build()
Build the connection configuration.
|
FIXConfig.Builder |
setCheckSumEnabled(boolean checkSumEnabled)
Set the incoming CheckSum(10) check status.
|
FIXConfig.Builder |
setFieldCapacity(int fieldCapacity)
Set the field capacity.
|
FIXConfig.Builder |
setHeartBtInt(int heartBtInt)
Set the HeartBtInt(108).
|
FIXConfig.Builder |
setIncomingMsgSeqNum(long incomingMsgSeqNum)
Set the incoming MsgSeqNum(34).
|
FIXConfig.Builder |
setMaxFieldCount(int maxFieldCount)
Set the maximum number of fields in a message.
|
FIXConfig.Builder |
setOutgoingMsgSeqNum(long outgoingMsgSeqNum)
Set the outgoing MsgSeqNum(34).
|
FIXConfig.Builder |
setRxBufferCapacity(int rxBufferCapacity)
Set the receive buffer capacity.
|
FIXConfig.Builder |
setSenderCompID(String senderCompId)
Set the SenderCompID(49).
|
FIXConfig.Builder |
setTargetCompID(String targetCompId)
Set the TargetCompID(56).
|
FIXConfig.Builder |
setTxBufferCapacity(int txBufferCapacity)
Set the transmit buffer capacity.
|
FIXConfig.Builder |
setVersion(FIXVersion version)
Set the protocol version.
|
public FIXConfig.Builder setVersion(FIXVersion version)
version
- the protocol versionpublic FIXConfig.Builder setSenderCompID(String senderCompId)
senderCompId
- the SenderCompID(49)public FIXConfig.Builder setTargetCompID(String targetCompId)
targetCompId
- the TargetCompID(56)public FIXConfig.Builder setHeartBtInt(int heartBtInt)
heartBtInt
- the HeartBtInt(108)public FIXConfig.Builder setIncomingMsgSeqNum(long incomingMsgSeqNum)
incomingMsgSeqNum
- the incoming MsgSeqNum(34)public FIXConfig.Builder setOutgoingMsgSeqNum(long outgoingMsgSeqNum)
outgoingMsgSeqNum
- the outgoing MsgSeqNum(34)public FIXConfig.Builder setMaxFieldCount(int maxFieldCount)
maxFieldCount
- the maximum number of fields in a messagepublic FIXConfig.Builder setFieldCapacity(int fieldCapacity)
fieldCapacity
- the field capacitypublic FIXConfig.Builder setRxBufferCapacity(int rxBufferCapacity)
rxBufferCapacity
- the receive buffer capacitypublic FIXConfig.Builder setTxBufferCapacity(int txBufferCapacity)
txBufferCapacity
- the transmit buffer capacitypublic FIXConfig.Builder setCheckSumEnabled(boolean checkSumEnabled)
checkSumEnabled
- if true, the incoming CheckSum(10) check is
enabled, otherwise it is disabledpublic FIXConfig build()
Copyright © 2021. All rights reserved.