Package com.epam.fixengine.session
Interface BackupFIXSession
- All Known Implementing Classes:
AutoreconnectFIXSession
public interface BackupFIXSession
The
BackupFIXSession provides ability to switch the connection from
the primary host to backup and vice versa.
The backup session should configured by engine.properties and default.properties configuration files.-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true, if session connected to backup host.voidThe method, switch current connection to backup.voidThe method, switch current connection to primary.
-
Method Details
-
switchToBackUp
void switchToBackUp()The method, switch current connection to backup. -
switchToPrimary
void switchToPrimary()The method, switch current connection to primary. -
isRunningOnBackup
boolean isRunningOnBackup()Returns true, if session connected to backup host.
-