com.epam.fixengine.session.messagehandler
Class AbstractGlobalMessageHandler

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

public abstract class AbstractGlobalMessageHandler
extends AbstractSessionMessageHandler

Abstract global handler. Provides functionality for call chained handlers.


Field Summary
 
Fields inherited from class com.epam.fixengine.session.messagehandler.AbstractSessionMessageHandler
log, logIsTraceEnabled
 
Constructor Summary
AbstractGlobalMessageHandler()
           
 
Method Summary
 void callNextHandler(FIXFieldList message)
          Invokes the next message handler.
 FIXMessageListener getNext()
          Gets the next message handler.
 void setNext(FIXMessageListener handler)
          Sets the next message handler.
 
Methods inherited from class com.epam.fixengine.session.messagehandler.AbstractSessionMessageHandler
getFIXSession, logErrorToSession, logWarnToSession, setFIXSession
 
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
 

Constructor Detail

AbstractGlobalMessageHandler

public AbstractGlobalMessageHandler()
Method Detail

setNext

public void setNext(FIXMessageListener handler)
Sets the next message handler.

Parameters:
handler - the next message handler

getNext

public FIXMessageListener getNext()
Gets the next message handler.


callNextHandler

public void callNextHandler(FIXFieldList message)
Invokes the next message handler.

Parameters:
message - the message


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