Package | Description |
---|---|
biz.onixs.fix.engine |
Modifier and Type | Method and Description |
---|---|
EngineSettings |
EngineSettings.addListenPort(int listenPort)
Adds listen port for incoming FIX connections.
|
EngineSettings |
Engine.getSettings()
Returns Engine settings.
|
EngineSettings |
EngineSettings.init(Settings settings)
Initializes the settings.
|
EngineSettings |
EngineSettings.removeListenPort(int listenPort)
Removes listen port for incoming FIX connections.
|
EngineSettings |
EngineSettings.setAcceptorSendLogoutOnInvalidLogon(boolean acceptorSendLogoutOnInvalidLogon)
Sets option to send a logout message, before dropping the telecommunication link in reply
on an invalid logon attempt.
|
EngineSettings |
EngineSettings.setAsyncFileStorageQueueSize(int asyncFileStorageQueueSize)
Sets async file session storage queue size.
|
EngineSettings |
EngineSettings.setAsyncFileStorageWriteErrorRetriesNumber(int asyncFileStorageWriteErrorRetriesNumber)
Sets async file session storage write error retries number.
|
EngineSettings |
EngineSettings.setCheckBeginStringMatch(boolean checkBeginStringMatch)
Sets whether BeginString must match session value in every inbound FIX message.
|
EngineSettings |
EngineSettings.setCheckCompIdsMatch(boolean checkCompIdsMatch)
Sets whether SenderCompId and TargetCompId must match session values in every inbound FIX message.
|
EngineSettings |
EngineSettings.setConnectionMode(ConnectionMode connectionMode)
Sets session connection mode.
|
EngineSettings |
EngineSettings.setConnectionMode(String connectionMode)
Sets session connection mode.
|
EngineSettings |
EngineSettings.setConnectionOutputQueueMaxSize(int connectionOutputQueueMaxSize)
Sets the maximum size of the internal output queue allocated for a FIX connection, in bytes.
|
EngineSettings |
EngineSettings.setConnectionOutStreamDelayWarningThreshold(int connectionOutStreamDelayWarningThreshold)
Sets the output stream write delay threshold after which the warning is logged.
|
EngineSettings |
EngineSettings.setConnectionPerfPreferenceBandwidth(int connectionPerfPreferenceBandwidth)
Sets socket performance preference for bandwidth.
|
EngineSettings |
EngineSettings.setConnectionPerfPreferenceConnectionTime(int connectionPerfPreferenceConnectionTime)
Sets socket performance preference for connection time.
|
EngineSettings |
EngineSettings.setConnectionPerfPreferenceLatency(int connectionPerfPreferenceLatency)
Sets socket performance preference for latency.
|
EngineSettings |
EngineSettings.setConnectionReceiveSpinningTimeout(long timeout)
Sets the non-blocking receive spinning timeout (in nanoseconds) before the receiving thread enters into the
blocking wait mode.
|
EngineSettings |
EngineSettings.setConnectionRetriesInterval(int connectionRetriesInterval)
Sets the reconnection interval in milliseconds.
|
EngineSettings |
EngineSettings.setConnectionRetriesNumber(int connectionRetries)
Sets reconnection attempts number.
|
EngineSettings |
EngineSettings.setConnectionSendSpinningTimeout(long timeout)
Sets the send spinning timeout (in nanoseconds) of the
Session.send(Message) method to wait for the
socket sending buffer availability in the spin loop mode before placing the message to the outgoing queue
(to be sent later by the sending thread). |
EngineSettings |
EngineSettings.setConnectionTcpNoDelay(boolean connectionTcpNoDelay)
Sets TCP socket TCP_NODELAY parameter (disable/enable Nagle's algorithm).
|
EngineSettings |
EngineSettings.setConnectionTcpReceiveBufferSize(int connectionTcpReceiveBufferSize)
Sets TCP socket receive buffer size allocated to FIX connection, in bytes.
|
EngineSettings |
EngineSettings.setConnectionTcpSendBufferSize(int connectionTcpSendBufferSize)
Sets TCP socket send buffer size allocated to FIX connection, in bytes.
|
EngineSettings |
EngineSettings.setDaemonAcceptorThread(boolean daemonAcceptorThread)
Sets whether acceptor thread is daemon.
|
EngineSettings |
EngineSettings.setDefaultHeartbeatInterval(int defaultHeartbeatInterval)
Sets the default heartbeat interval in seconds.
|
EngineSettings |
EngineSettings.setDialects(String dialects)
Sets the location of one or several files with the FIX dialects definition.
|
EngineSettings |
EngineSettings.setEngineShutdownHook(boolean engineShutdownHook)
Sets to shutdown engine automatically on JVM shutdown.
|
EngineSettings |
EngineSettings.setIgnoreFileBasedStorageIntegrityErrors(boolean ignoreFileBasedStorageIntegrityErrors)
Sets whether to ignore file based storage integrity errors.
|
EngineSettings |
EngineSettings.setInboundMessageLogFilter(MessageFilter inboundMessageLogFilter)
Sets session inbound message log filter.
|
EngineSettings |
EngineSettings.setLicense(String license)
Sets the content of the license file.
|
EngineSettings |
EngineSettings.setLicenseAlertingDaysBeforeExpiration(int days)
Sets the number of days to alert before the license expiration.
|
EngineSettings |
EngineSettings.setLicenseFile(String licenseFile)
Sets the name of the license file resource.
|
EngineSettings |
EngineSettings.setListenPorts(String listenPorts)
Sets listen port(s) for incoming FIX connections.
|
EngineSettings |
EngineSettings.setListenPortsBacklog(int listenPortsBacklog)
Sets the maximum number of pending connections on listen ports.
|
EngineSettings |
EngineSettings.setLogBeforeSending(boolean logBeforeSending)
Sets whether outbound messages are logged before sending.
|
EngineSettings |
EngineSettings.setLogInboundMessages(boolean logInboundMessages)
Sets whether to store inbound messages in the session storage.
|
EngineSettings |
EngineSettings.setLogOutboundMessages(boolean logOutboundMessages)
Sets whether to store outbound messages in the session storage.
|
EngineSettings |
EngineSettings.setMessageResendingPortionMaximumSize(int messageResendingPortionMaximumSize)
Sets the maximum size of the portion by which the message resending will be handled.
|
EngineSettings |
EngineSettings.setProcessDeliverToCompId(boolean processDeliverToCompId)
Sets whether to process the DeliverToCompID (tag 128) flag.
|
EngineSettings |
EngineSettings.setProcessLogonNextExpectedMsgSeqNum(boolean processLogonNextExpectedMsgSeqNum)
Sets whether to process NextExpectedMsgSeqNum(789) field in Logon(A).
|
EngineSettings |
EngineSettings.setReasonableTransmissionTime(int reasonableTransmissionTime)
Sets reasonable transmission time as % from heartbeat interval value.
|
EngineSettings |
EngineSettings.setResendingQueueSize(int resendingQueueSize)
Sets the number of sent messages that are available for resending on counterparty's Resend Request(2) message.
|
EngineSettings |
EngineSettings.setSessionEventArgReuse(boolean sessionEventArgReuse)
Sets whether to re-use session event argument objects in each session.
|
EngineSettings |
EngineSettings.setSessionInboundMessageReuse(boolean sessionInboundMessageReuse)
Sets whether to use the same
FixMessage object for the incoming messages. |
EngineSettings |
EngineSettings.setSessionListenerDelayWarningThreshold(int sessionListenerDelayWarningThreshold)
Sets the limit of time to spend in the session listener code.
|
EngineSettings |
EngineSettings.setSessionLogonConfirmationTimeout(int sessionLogonConfirmationTimeout)
Sets number of seconds to wait for a logon response before disconnecting.
|
EngineSettings |
EngineSettings.setSessionLogoutConfirmationTimeout(int sessionLogoutConfirmationTimeout)
Sets number of seconds to wait for a logout response before disconnecting.
|
EngineSettings |
EngineSettings.setSessionMessageMode(MessageMode sessionMessageMode)
Sets session message mode.
|
EngineSettings |
EngineSettings.setSessionMessageMode(String sessionMessageMode)
Sets session message mode.
|
EngineSettings |
EngineSettings.setSessionResendRequestLogic(ResendRequestLogic sessionResendRequestLogic)
Sets session resend request logic.
|
EngineSettings |
EngineSettings.setSessionResendRequestLogic(String sessionResendRequestLogic)
Sets session resend request logic.
|
EngineSettings |
EngineSettings.setSessionResendRequestMaximumRange(int sessionResendRequestMaximumRange)
Sets the maximum number of messages to be requested in one
Resend Request(2) message.
|
EngineSettings |
EngineSettings.setSessionSendLogoutOnException(boolean sessionSendLogoutOnException)
Sets option to send the Logout message before dropping the telecommunication link in case of Exception
during the processing of incoming FIX message.
|
EngineSettings |
EngineSettings.setSessionSpecifyLastMsgSeqNumProcessed(boolean sessionSpecifyLastMsgSeqNumProcessed)
Sets the option to specify the
LastMsgSeqNumProcessed(369) field
on every message sent.
|
EngineSettings |
EngineSettings.setSessionUpdateHeaderFields(boolean sessionUpdateHeaderFields)
If this option set to true then common header fields in the outgoing messages are always updated.
|
EngineSettings |
EngineSettings.setSessionUpdateSendingTime(boolean sessionUpdateSendingTime)
Sets whether to update
SendingTime(52)
field in the outgoing message if it is already set.
|
EngineSettings |
EngineSettings.setSpecifyApplVerIdField(boolean specifyApplVerIdField)
Sets whether to specify ApplVerID(1128) tag in all FIX messages
when a FIX protocol version FIX 5.0 and above is used.
|
EngineSettings |
EngineSettings.setSslNeedClientAuth(boolean sslNeedClientAuth)
Sets whether client authentication should be required.
|
EngineSettings |
EngineSettings.setStorageFolder(String storageFolder)
Sets file-based session storage folder.
|
EngineSettings |
EngineSettings.setThreadPoolSize(int threadPoolSize)
Sets the size of the shared thread pool that is used in the thread pool connection mode.
|
EngineSettings |
EngineSettings.setThreadPoolSpinningTimeout(long timeout)
Sets the thread pool spinning timeout (in nanoseconds) before a thread of thread pool enters into the
blocking wait mode for an operation.
|
EngineSettings |
EngineSettings.setUserSessionLevelMessageWarning(boolean userSessionLevelMessageWarning)
Sets whether to warn if user sends session level message.
|
EngineSettings |
EngineSettings.setValidateCheckSum(boolean validateCheckSum)
Sets whether to validate the Checksum field value.
|
EngineSettings |
EngineSettings.setValidateDuplicatedField(boolean validateDuplicatedField)
Sets whether to validate the presence of fields which appears more than once.
|
EngineSettings |
EngineSettings.setValidateEmptyFieldValues(boolean validateEmptyFieldValues)
Sets whether to fail validation on empty field value.
|
EngineSettings |
EngineSettings.setValidateFieldValues(boolean validateFieldValues)
Sets whether to validate field values in accordance with the FIX protocol or its FIX Dialect.
|
EngineSettings |
EngineSettings.setValidateInboundMessages(boolean validateInboundMessages)
Sets whether inbound messages are validated.
|
EngineSettings |
EngineSettings.setValidateNumberOfRepeatingGroupInstances(boolean validateNumberOfRepeatingGroupInstances)
Sets whether to validate the declared number of repeating group instances is equal to the actual one.
|
EngineSettings |
EngineSettings.setValidateOutboundMessages(boolean validateOutboundMessages)
Sets whether outbound messages are validated.
|
EngineSettings |
EngineSettings.setValidateRequiredFields(boolean validateRequiredFields)
Sets whether to validate the presence of the required fields.
|
EngineSettings |
EngineSettings.setValidateUnknownFields(boolean validateUnknownFields)
Sets whether to fail validation on unknown fields.
|
EngineSettings |
EngineSettings.setValidateUnknownMessage(boolean validateUnknownMessage)
Sets whether to fail validation on unknown message.
|
EngineSettings |
EngineSettings.setVersions(String versions)
Sets the FIX dictionaries to load during the engine initialization.
|
Modifier and Type | Method and Description |
---|---|
static int |
EngineUtils.calculateReceiveTimeout(EngineSettings settings) |
static Engine |
Engine.init(EngineSettings settings)
Initializes the engine.
|
static Engine |
Engine.init(EngineSettings settings,
SessionReactor sessionReactor)
Initializes the engine.
|
Copyright © 2005–2024 Onix Solutions. All rights reserved.