Package com.epam.fixengine
Interface FIXSessionFactory
- All Known Implementing Classes:
AbstractFIXSessionFactory,com.epam.fixengine.session.common.SecureFIXSessionFactory,StandardFIXSessionFactory
public interface FIXSessionFactory
FIXSessionFactory defines session level behaviour and other FIXEngine parameters.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateAcceptorSession(SessionParameters sessionParameters) Creates the acceptor session.createAcceptorSession(SessionParameters sessionParameters, FIXTransport transport) Creates the acceptor session.createInitiatorSession(SessionParameters sessionParameters) Creates the initiator session.
-
Method Details
-
createInitiatorSession
Creates the initiator session.- Parameters:
sessionParameters- the session configuration- Returns:
- FIXSession the fix session
- Throws:
IOException- if the session cannot be created
-
createAcceptorSession
Creates the acceptor session.- Parameters:
sessionParameters- the session configuration- Returns:
- FIXSession the fix session
- Throws:
IOException- if the session cannot be created
-
createAcceptorSession
FIXSession createAcceptorSession(SessionParameters sessionParameters, FIXTransport transport) throws IOException Creates the acceptor session.- Parameters:
sessionParameters- the session configurationtransport- the fix transport- Returns:
- FIXSession the fix session
- Throws:
IOException- if the session cannot be created
-