com.epam.fixengine.session
Class AcceptorFIXSession

java.lang.Object
  extended by com.epam.fixengine.session.AbstractFIXSession
      extended by com.epam.fixengine.session.AcceptorFIXSession
All Implemented Interfaces:
FIXSession, ExtendedFIXSession, com.epam.fixengine.session.SessionStateListenSupport

public class AcceptorFIXSession
extends AbstractFIXSession


Field Summary
 
Fields inherited from class com.epam.fixengine.session.AbstractFIXSession
configuration, listener, log, messageFactory, queue, sessionLock, sessionParameters, transport
 
Constructor Summary
AcceptorFIXSession(FIXMessageFactory messageFactory, SessionParameters sessionParameters, HandlerChain fixSessionListener, FIXTransport transport)
           
 
Method Summary
 void connect()
          Connects to remote counterparty,
if initiator or accepts incoming connection if acceptor.
 SessionParameters getSessionParameters()
          The returned value is cloned.
 void setSessionState(SessionState sessionState)
          Sets session state.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcceptorFIXSession

public AcceptorFIXSession(FIXMessageFactory messageFactory,
                          SessionParameters sessionParameters,
                          HandlerChain fixSessionListener,
                          FIXTransport transport)
Method Detail

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.