public class StandardFIXSessionFactory extends Object implements FIXSessionFactory
setFIXSessionFactoryStrategy
method.Constructor and Description |
---|
StandardFIXSessionFactory() |
Modifier and Type | Method and Description |
---|---|
FIXSession |
createAcceptorSession(SessionParameters sessionParameters)
Creates the acceptor session.
|
FIXSession |
createAcceptorSession(SessionParameters details,
FIXTransport transport)
Creates the acceptor session.
|
FIXSession |
createInitiatorSession(SessionParameters details)
Creates the initiator session.
|
static FIXSessionFactory |
getFactory(SessionParameters details) |
static void |
setFIXSessionFactoryStrategy(FIXSessionFactoryStrategy astrategy)
Replace default strategy with own implementation.
|
public static void setFIXSessionFactoryStrategy(FIXSessionFactoryStrategy astrategy)
astrategy
- strategyFIXSessionFactoryStrategy
public FIXSession createInitiatorSession(SessionParameters details) throws IOException
FIXSessionFactory
createInitiatorSession
in interface FIXSessionFactory
details
- the session configurationIOException
- if the session cannot be createdFIXSessionFactory.createInitiatorSession(SessionParameters)
public FIXSession createAcceptorSession(SessionParameters sessionParameters) throws IOException
FIXSessionFactory
createAcceptorSession
in interface FIXSessionFactory
sessionParameters
- the session configurationIOException
- if the session cannot be createdFIXSessionFactory.createAcceptorSession(SessionParameters)
public FIXSession createAcceptorSession(SessionParameters details, FIXTransport transport) throws IOException
FIXSessionFactory
createAcceptorSession
in interface FIXSessionFactory
details
- the session configurationtransport
- the fix transportIOException
- if the session cannot be createdFIXSessionFactory.createAcceptorSession(SessionParameters, FIXTransport)
public static FIXSessionFactory getFactory(SessionParameters details)
Copyright © 2000–2022 EPAM Systems. All rights reserved.