public final class AcceptorFIXSession extends AbstractFIXSession
AbstractFIXSession.ConsumingControlTransportWrapper
configuration, graceful, listener, log, messageFactory, preferredSendingMode, queue, runtimeState, sentTRNum, sequenceManager, sessionLock, sessionParameters, testRequestTime, TRACE_ENABLED, transport
DEFAULT_SENDING_OPTIONS, SEND_ASYNC, SEND_SYNC
Constructor and Description |
---|
AcceptorFIXSession(FIXMessageFactory messageFactory,
SessionParameters sessionParameters,
HandlerChain fixSessionListener,
FIXTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connects to remote counterparty,
if initiator or accepts incoming connection if acceptor.
|
SessionParameters |
getSessionParameters()
The returned value is cloned.
|
boolean |
isLastResetOccurredAfterPeriodBegin() |
boolean |
isLastResetOccurredAfterPeriodEnd() |
boolean |
isLastResetOccurredInTradingPeriod() |
protected boolean |
isResetSeqNumFlagRequiredForInitLogon() |
void |
reinitSession(SessionParameters inSessionParameters,
FIXTransport transport) |
void |
reject(String reason)
Reject incoming connection for acceptor.
|
protected void |
updateSessionParameters(SessionParameters newParams,
SessionParameters oldParams) |
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, 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, unlockSending
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAndRemoveAttribute
public AcceptorFIXSession(FIXMessageFactory messageFactory, SessionParameters sessionParameters, HandlerChain fixSessionListener, FIXTransport transport)
public void reinitSession(SessionParameters inSessionParameters, FIXTransport transport)
protected void updateSessionParameters(SessionParameters newParams, SessionParameters oldParams)
public SessionParameters getSessionParameters()
AbstractFIXSession
getSessionParameters
in interface FIXSession
getSessionParameters
in class AbstractFIXSession
FIXSession.getSessionParameters()
public void connect() throws IOException
FIXSession
connect
in interface FIXSession
connect
in class AbstractFIXSession
IOException
- I/O exception if error occurredFIXSession.connect()
public void reject(String reason) throws IOException
FIXSession
reject
in interface FIXSession
reject
in class AbstractFIXSession
IOException
- I/O exception if error occurredFIXSession.reject(String)
protected boolean isResetSeqNumFlagRequiredForInitLogon()
isResetSeqNumFlagRequiredForInitLogon
in class AbstractFIXSession
public boolean isLastResetOccurredInTradingPeriod()
public boolean isLastResetOccurredAfterPeriodBegin()
public boolean isLastResetOccurredAfterPeriodEnd()
Copyright © 2000–2022 EPAM Systems. All rights reserved.