com.epam.fixengine.session.messagehandler
Class AbstractSessionMessageHandler

java.lang.Object
  extended by com.epam.fixengine.session.messagehandler.AbstractSessionMessageHandler
All Implemented Interfaces:
FIXMessageListener, SessionMessageHandler
Direct Known Subclasses:
AbstractGlobalMessageHandler, HandlerChain

public abstract class AbstractSessionMessageHandler
extends Object
implements SessionMessageHandler

The abstract session message handler


Field Summary
protected  Log log
           
 boolean logIsTraceEnabled
           
 
Constructor Summary
AbstractSessionMessageHandler()
           
 
Method Summary
 ExtendedFIXSession getFIXSession()
           
protected  void logErrorToSession(String description, Throwable throwable)
           
protected  void logWarnToSession(String description, Throwable throwable)
           
 void setFIXSession(ExtendedFIXSession fixSession)
          Sets the extended fix session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.epam.fixengine.FIXMessageListener
onNewMessage
 

Field Detail

log

protected final Log log

logIsTraceEnabled

public boolean logIsTraceEnabled
Constructor Detail

AbstractSessionMessageHandler

public AbstractSessionMessageHandler()
Method Detail

getFIXSession

public ExtendedFIXSession getFIXSession()

setFIXSession

public void setFIXSession(ExtendedFIXSession fixSession)
Description copied from interface: SessionMessageHandler
Sets the extended fix session.

Specified by:
setFIXSession in interface SessionMessageHandler
Parameters:
fixSession - the extended fix session

logWarnToSession

protected void logWarnToSession(String description,
                                Throwable throwable)

logErrorToSession

protected void logErrorToSession(String description,
                                 Throwable throwable)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.