public class DefaultFIXSessionFactoryStrategy extends Object implements FIXSessionFactoryStrategy
FIXSessionFactoryStrategy
Constructor and Description |
---|
DefaultFIXSessionFactoryStrategy()
Creates the
DefaultFIXSessionFactoryStrategy . |
Modifier and Type | Method and Description |
---|---|
FIXSessionFactory |
getFIXSessionFactory(SessionParameters sessionParameters)
Gets fix session factory.
|
void |
setAppVersionFactory(FIXVersion appVersion,
FIXSessionFactory fixSessionFactory)
Sets a new session factory for appVersion.
|
void |
setFIXVersionFactory(FIXVersion fixVersion,
FIXSessionFactory fixSessionFactory)
Sets a new session factory for fixVersion.
|
public DefaultFIXSessionFactoryStrategy()
DefaultFIXSessionFactoryStrategy
.public void setFIXVersionFactory(FIXVersion fixVersion, FIXSessionFactory fixSessionFactory)
fixVersion
- the fix versionfixSessionFactory
- the fix session factorypublic void setAppVersionFactory(FIXVersion appVersion, FIXSessionFactory fixSessionFactory)
appVersion
- the app fix versionfixSessionFactory
- the fix session factorypublic FIXSessionFactory getFIXSessionFactory(SessionParameters sessionParameters)
getFIXSessionFactory
in interface FIXSessionFactoryStrategy
sessionParameters
- the session parametersIllegalArgumentException
- if session factory not exists.Copyright © 2000–2022 EPAM Systems. All rights reserved.