com.epam.fixengine.session.common
Class AbstractFIXSessionFactory
java.lang.Object
SecureFIXSessionFactory
com.epam.fixengine.session.common.AbstractFIXSessionFactory
public abstract class AbstractFIXSessionFactory
- extends SecureFIXSessionFactory
This is abstract implementation of FIXSessionFactory.
This class provides the base functionality for creates initiator and acceptor session,
and configurations it listeners. The user implementation should overrides getMessageFactory
method.
- See Also:
FIXSession
,
HandlerChain
,
StandardSessionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSTEM_MESSAGEHANDLER_GLOBAL
public static final String SYSTEM_MESSAGEHANDLER_GLOBAL
- See Also:
- Constant Field Values
SYSTEM_MESSAGEHANDLER_A
public static final String SYSTEM_MESSAGEHANDLER_A
- See Also:
- Constant Field Values
SYSTEM_MESSAGEHANDLER_0
public static final String SYSTEM_MESSAGEHANDLER_0
- See Also:
- Constant Field Values
SYSTEM_MESSAGEHANDLER_1
public static final String SYSTEM_MESSAGEHANDLER_1
- See Also:
- Constant Field Values
SYSTEM_MESSAGEHANDLER_2
public static final String SYSTEM_MESSAGEHANDLER_2
- See Also:
- Constant Field Values
SYSTEM_MESSAGEHANDLER_3
public static final String SYSTEM_MESSAGEHANDLER_3
- See Also:
- Constant Field Values
SYSTEM_MESSAGEHANDLER_4
public static final String SYSTEM_MESSAGEHANDLER_4
- See Also:
- Constant Field Values
SYSTEM_MESSAGEHANDLER_5
public static final String SYSTEM_MESSAGEHANDLER_5
- See Also:
- Constant Field Values
USER_MESSAGEHANDLER_GLOBAL
public static final String USER_MESSAGEHANDLER_GLOBAL
- See Also:
- Constant Field Values
AbstractFIXSessionFactory
public AbstractFIXSessionFactory()
getFIXVersion
public FIXVersion getFIXVersion()
- Gets fixVersion.
setFixVersion
public void setFixVersion(FIXVersion fixVersion)
- Sets fix version.
- Parameters:
fixVersion
- the fix version
createInitiatorSession
public FIXSession createInitiatorSession(SessionParameters details)
throws IOException
- Throws:
IOException
- See Also:
FIXSessionFactory.createInitiatorSession(com.epam.fixengine.SessionParameters)
getAcceptorSession
protected ExtendedFIXSession getAcceptorSession(SessionParameters details,
FIXTransport transport,
HandlerChain chain)
getInitiatorSession
protected ExtendedFIXSession getInitiatorSession(SessionParameters details,
HandlerChain chain)
createAcceptorSession
public FIXSession createAcceptorSession(SessionParameters details,
FIXTransport transport)
- See Also:
FIXSessionFactory.createAcceptorSession(com.epam.fixengine.SessionParameters, com.epam.fixengine.transport.FIXTransport)
setGlobalSystemHandlers
protected void setGlobalSystemHandlers(HandlerChain chain,
SessionParameters details)
getMessageFactory
public abstract FIXMessageFactory getMessageFactory()
- Gets message factory.
- Returns:
- Method returns the message factory instance.
- See Also:
FIXMessageFactory
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.