com.epam.fixengine.session
Class AcceptorFIXSession
java.lang.Object
com.epam.fixengine.session.AbstractFIXSession
com.epam.fixengine.session.AcceptorFIXSession
- All Implemented Interfaces:
- FIXSession, ExtendedFIXSession, com.epam.fixengine.session.SessionStateListenSupport
public final class AcceptorFIXSession
- extends AbstractFIXSession
Methods inherited from class com.epam.fixengine.session.AbstractFIXSession |
addSessionStateListener, checkHasSessionSendOrReceivedTestRequest, clearQueue, configureStateBeforeReset, disconnect, disconnect, disconnect, disconnect, disconnectTestRequestIsLost, dispose, equals, forcedDisconnect, getAttribute, getAttributeAsBool, getAttributeAsLong, getBytesRead, getBytesSent, getEncryption, getErrorHandler, getEstablished, getExtendedFIXSessionListener, getIncomingMessageStorage, getLastDisconnectReason, getLastInMessageTimestamp, getLastOutMessageTimestamp, getMessageFactory, getMessageHandlers, getMessageValidator, getNoOfInMessages, getNoOfOutMessages, getOutgoingMessageStorage, getQueuedMessagesCount, getRejectMessageListener, getSequenceManager, getSessionParametersInstance, getSessionState, getStorageFactory, hashCode, initSession, initSessionInternal, isResetTimeMissed, isStatisticEnabled, loadSessionParametersFromFile, markShutdownAsGraceful, prepareMessage, prepareMessage, prepareMessage, prepareMessageFromString, prepareMessageFromString, removeAttribute, removeAttribute, removeLongAttribute, removeSessionStateListener, resetSeqNumIfConfigured, resetSequenceNumbers, resetSequenceNumbers, resetTestRequestFlags, restoreSessionAfterReceivedTestRequest, restoreSessionParameters, saveSessionParameters, sendAsIs, sendAsIs, sendMessage, sendMessage, sendMessage, sendMessage, sendMessageAndGetQueueSize, sendMessageAndGetQueueSize, sendMessageOutOfTurn, sendTestRequest, sendWithChanges, sendWithChanges, sendWithChangesAndGetQueueSize, sendWithChangesAndGetQueueSize, setAttribute, setAttribute, setAttribute, setErrorHandler, setFIXSessionListener, setLastDisconnectReason, setOutOfTurnMode, setPreLoggofSessionState, setRejectMessageListener, setSequenceNumbers, setSessionState, shutdown, shutdown, startSession, storeProcessedSeqNumber, toString |
AcceptorFIXSession
public AcceptorFIXSession(FIXMessageFactory messageFactory,
SessionParameters sessionParameters,
HandlerChain fixSessionListener,
FIXTransport transport)
reinitSession
public void reinitSession(SessionParameters inSessionParameters,
FIXTransport transport)
updateSessionParameters
protected void updateSessionParameters(SessionParameters newParams,
SessionParameters oldParams)
getSessionParameters
public SessionParameters getSessionParameters()
- Description copied from class:
AbstractFIXSession
- The returned value is cloned.
- Specified by:
getSessionParameters
in interface FIXSession
- Overrides:
getSessionParameters
in class AbstractFIXSession
- Returns:
- SessionParameters - session parameters
- See Also:
FIXSession.getSessionParameters()
connect
public void connect()
throws IOException
- Description copied from interface:
FIXSession
- Connects to remote counterparty,
if initiator or accepts incoming connection if acceptor.
- Specified by:
connect
in interface FIXSession
- Specified by:
connect
in class AbstractFIXSession
- Throws:
IOException
- I/O exception if error occurred- See Also:
FIXSession.connect()
reject
public void reject(String reason)
throws IOException
- Description copied from interface:
FIXSession
- Reject incoming connection for acceptor.
Not applicable for initiator.
- Specified by:
reject
in interface FIXSession
- Specified by:
reject
in class AbstractFIXSession
- Throws:
IOException
- I/O exception if error occurred- See Also:
FIXSession.reject(String)
isResetSeqNumFlagRequiredForInitLogon
protected boolean isResetSeqNumFlagRequiredForInitLogon()
- Overrides:
isResetSeqNumFlagRequiredForInitLogon
in class AbstractFIXSession
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.