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 class AcceptorFIXSession
- extends AbstractFIXSession
| Methods inherited from class com.epam.fixengine.session.AbstractFIXSession |
addSessionStateListener, checkHasSessionSendOrReceivedTestRequest, clearQueue, disconnect, disconnectTestRequestIsLost, dispose, equals, getAttribute, getBytesRead, getBytesSent, getEncryption, getErrorHandler, getEstablished, getExtendedFIXSessionListener, getIncomingMessageStorage, getLastInMessageTimestamp, getLastOutMessageTimestamp, getMessageFactory, getMessageHandlers, getMessageValidator, getNoOfInMessages, getNoOfOutMessages, getOutgoingMessageStorage, getRejectMessageListener, getSequenceManager, getSessionParametersInstance, getSessionState, getStorageFactory, hashCode, initSession, initSessionInternal, isResetTimeMissed, loadSessionParametersFromFile, markShutdownAsGraceful, removeAttribute, removeSessionStateListener, resetSequenceNumbers, resetSequenceNumbers, restoreSessionAfterReceivedTestRequest, restoreSessionParameters, saveSessionParameters, sendAsIs, sendMessage, sendMessage, sendMessageOutOfTurn, sendTestRequest, sendWithChanges, setAttribute, setErrorHandler, setFIXSessionListener, setOutOfTurnMode, setRejectMessageListener, shutdown, startSession, storeProcessedSeqNumber, toString |
AcceptorFIXSession
public AcceptorFIXSession(FIXMessageFactory messageFactory,
SessionParameters sessionParameters,
HandlerChain fixSessionListener,
FIXTransport transport)
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
setSessionState
public void setSessionState(SessionState sessionState)
- Description copied from interface:
ExtendedFIXSession
- Sets session state.
- Specified by:
setSessionState in interface ExtendedFIXSession- Overrides:
setSessionState in class AbstractFIXSession
- Parameters:
sessionState - the new session state- See Also:
ExtendedFIXSession.setSessionState(com.epam.fixengine.SessionState)
Copyright © 2000-2011 EPAM Systems. All Rights Reserved.