|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.fixengine.DefaultFIXSessionFactoryStrategy
public class DefaultFIXSessionFactoryStrategy
Default fix session factory strategy implementation. This class provides access to FIX 4.0 - FIX 5.0 SP2 session factories.
FIXSessionFactoryStrategy
Constructor Summary | |
---|---|
DefaultFIXSessionFactoryStrategy()
Creates the DefaultFIXSessionFactoryStrategy . |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFIXSessionFactoryStrategy()
DefaultFIXSessionFactoryStrategy
.
Method Detail |
---|
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 parameters
IllegalArgumentException
- if session factory not exists.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |