Package 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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.epam.fixengine.session.AbstractFIXSession
AbstractFIXSession.ConsumingControlTransportWrapper -
Field Summary
Fields inherited from class com.epam.fixengine.session.AbstractFIXSession
configuration, graceful, listener, messageFactory, preferredSendingMode, queue, runtimeState, sentTRNum, sequenceManager, sessionLock, sessionParameters, testRequestTime, transportFields inherited from interface com.epam.fixengine.FIXSession
DEFAULT_SENDING_OPTIONS, SEND_ASYNC, SEND_SYNC -
Constructor Summary
ConstructorsConstructorDescriptionAcceptorFIXSession(FIXMessageFactory messageFactory, SessionParameters sessionParameters, HandlerChain fixSessionListener, FIXTransport transport) -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()Connects to remote counterparty, if initiator or accepts incoming connection if acceptor.The returned value is cloned.booleanbooleanbooleanprotected booleanvoidreinitSession(SessionParameters inSessionParameters, FIXTransport transport) voidReject incoming connection for acceptor.protected voidupdateSessionParameters(SessionParameters newParams, SessionParameters oldParams) Methods inherited from class com.epam.fixengine.session.AbstractFIXSession
addInSessionLevelMessageListener, addOutSessionLevelMessageListener, addSessionStateListener, addUserGlobalMessageHandler, backupStorages, checkHasSessionSendOrReceivedTestRequest, checkSessionInactiveAndSendHbt, clearQueue, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectTestRequestIsLost, dispose, equals, forcedDisconnect, getAttribute, getAttribute, getAttributeAsBool, getAttributeAsLong, getBytesRead, getBytesSent, getConfiguration, getEncryption, getErrorHandler, getEstablished, getExtendedFIXSessionListener, getFIXSessionOutOfSyncListener, getIncomingMessageStorage, getInSeqNum, getLastDisconnectReason, getLastInMessageTimestamp, getLastOutMessageTimestamp, getMessageFactory, getMessageHandlers, getMessageQueue, getMessageValidator, getMessageValidator, getMessageValidator, getNoOfInMessages, getNoOfOutMessages, getOutgoingMessageStorage, getOutSeqNum, getQueuedMessagesCount, getRejectMessageListener, getRuntimeState, getSequenceManager, getSessionParametersInstance, getSessionState, getSlowConsumerListener, getStorageFactory, hashCode, init, initSessionInternal, initSessionRuntimeState, isHbtControlInPumper, isStatisticEnabled, lockSending, markShutdownAsGraceful, onDisconnect, prepareForConnect, prepareMessage, prepareMessage, prepareMessage, prepareMessageFromString, prepareMessageFromString, reinit, removeAttribute, removeAttribute, removeLongAttribute, removeSessionStateListener, resetInitialization, resetSequenceNumbers, resetSequenceNumbers, resetTestRequestFlags, restoreSessionAfterReceivedTestRequest, saveSessionParameters, sendAsIs, sendAsIs, sendMessage, sendMessage, sendMessage, sendMessage, sendMessageAndGetQueueSize, sendMessageAndGetQueueSize, sendMessageOutOfTurn, sendTestRequest, sendWithChanges, sendWithChanges, sendWithChangesAndGetQueueSize, sendWithChangesAndGetQueueSize, setAttribute, setAttribute, setAttribute, setAttribute, setErrorHandler, setFIXSessionListener, setFIXSessionOutOfSyncListener, setInSeqNum, setLastDisconnectReason, setOutOfTurnMode, setOutSeqNum, setPreLogoffSessionState, setRejectMessageListener, setSequenceNumbers, setSessionState, setSlowConsumerListener, shutdown, shutdown, startSession, subscribeForAttributeChanges, toString, unlockSendingMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.epam.fixengine.session.ExtendedFIXSession
getAndRemoveAttribute
-
Constructor Details
-
AcceptorFIXSession
public AcceptorFIXSession(FIXMessageFactory messageFactory, SessionParameters sessionParameters, HandlerChain fixSessionListener, FIXTransport transport)
-
-
Method Details
-
reinitSession
-
updateSessionParameters
-
getSessionParameters
Description copied from class:AbstractFIXSessionThe returned value is cloned.- Specified by:
getSessionParametersin interfaceFIXSession- Overrides:
getSessionParametersin classAbstractFIXSession- Returns:
- SessionParameters - session parameters
- See Also:
-
connect
Description copied from interface:FIXSessionConnects to remote counterparty, if initiator or accepts incoming connection if acceptor.- Specified by:
connectin interfaceFIXSession- Specified by:
connectin classAbstractFIXSession- Throws:
IOException- I/O exception if error occurred- See Also:
-
reject
Description copied from interface:FIXSessionReject incoming connection for acceptor. Not applicable for initiator.- Specified by:
rejectin interfaceFIXSession- Specified by:
rejectin classAbstractFIXSession- Throws:
IOException- I/O exception if error occurred- See Also:
-
isResetSeqNumFlagRequiredForInitLogon
protected boolean isResetSeqNumFlagRequiredForInitLogon()- Overrides:
isResetSeqNumFlagRequiredForInitLogonin classAbstractFIXSession
-
isLastResetOccurredInTradingPeriod
public boolean isLastResetOccurredInTradingPeriod() -
isLastResetOccurredAfterPeriodBegin
public boolean isLastResetOccurredAfterPeriodBegin() -
isLastResetOccurredAfterPeriodEnd
public boolean isLastResetOccurredAfterPeriodEnd()
-