public abstract class SessionAcceptorStrategyHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected com.epam.fixengine.acceptor.autostart.AutostartAcceptorSessions |
autostartAcceptorSessions |
protected com.epam.fixengine.manager.ConfiguredSessionRegister |
configuredSessionRegister |
protected FIXServerListener |
listener |
protected static Log |
log |
protected Map<SessionID,ExtendedFIXSession> |
registeredAcceptorSessions |
Constructor and Description |
---|
SessionAcceptorStrategyHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkSessionParameters(SessionParameters newParams,
SessionParameters registeredParams) |
void |
closeAllRegisteredSessions() |
protected void |
closeDeniedSession(ExtendedFIXSession session) |
protected void |
closeSession(DisconnectReason reason,
String description,
ExtendedFIXSession session) |
protected void |
createAdminSession(SessionParameters sessionParameters,
FIXTransport fixTransport,
SessionID sessionID) |
abstract void |
handleIncomingConnection(SessionParameters sessionParameters,
FIXTransport fixTransport) |
void |
init(com.epam.fixengine.configuration.Configuration configuration,
com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister) |
protected boolean |
isAcceptorSessionRegistered(SessionID sessionID) |
protected void |
mergeSessionParameters(SessionParameters sessionParameters,
SessionParameters registeredSessionParameters) |
protected void |
processIncomingAdminSession(FIXTransport fixTransport,
SessionID sessionID,
SessionParameters sessionParameters) |
protected void |
registerSession(SessionID sessionID,
ExtendedFIXSession fixSession) |
void |
setSessionListener(FIXServerListener listener) |
protected static final Log log
protected Map<SessionID,ExtendedFIXSession> registeredAcceptorSessions
protected com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister
protected com.epam.fixengine.acceptor.autostart.AutostartAcceptorSessions autostartAcceptorSessions
protected FIXServerListener listener
public void setSessionListener(FIXServerListener listener)
public void init(com.epam.fixengine.configuration.Configuration configuration, com.epam.fixengine.manager.ConfiguredSessionRegister configuredSessionRegister)
public abstract void handleIncomingConnection(SessionParameters sessionParameters, FIXTransport fixTransport) throws IOException
IOException
protected boolean isAcceptorSessionRegistered(SessionID sessionID)
protected void closeDeniedSession(ExtendedFIXSession session) throws IOException
IOException
protected void closeSession(DisconnectReason reason, String description, ExtendedFIXSession session) throws IOException
IOException
protected void registerSession(SessionID sessionID, ExtendedFIXSession fixSession)
public void closeAllRegisteredSessions() throws IOException
IOException
protected void checkSessionParameters(SessionParameters newParams, SessionParameters registeredParams)
protected void mergeSessionParameters(SessionParameters sessionParameters, SessionParameters registeredSessionParameters)
protected void processIncomingAdminSession(FIXTransport fixTransport, SessionID sessionID, SessionParameters sessionParameters) throws IOException
IOException
protected void createAdminSession(SessionParameters sessionParameters, FIXTransport fixTransport, SessionID sessionID) throws IOException
IOException
Copyright © 2000–2022 EPAM Systems. All rights reserved.