com.btobits.fixengine
Interface Application


public interface Application

For interacting with FIXEngine application must implement this interface.


Method Summary
 boolean isMessageActual(FIXMessage message, String sessionID)
          This method is invoked every time Engine is asked to resend Application level message.
 void newSession(String SessionID)
          This method is invoked every time when new Session is created.
 void processMessage(FIXMessage message, String sessionID)
          This method is invoked every time when FIX Engine receives application message.
 void stopEngineSession(String sessionID, String reason)
          This method is invoked when Session with ID=sessionID is closed.
 

Method Detail

processMessage

void processMessage(FIXMessage message,
                    String sessionID)
                    throws ApplMessageProcessException
This method is invoked every time when FIX Engine receives application message.

Parameters:
message - message in FIX message format
sessionID - ID of session which has received message
Throws:
ApplMessageProcessException

stopEngineSession

void stopEngineSession(String sessionID,
                       String reason)
This method is invoked when Session with ID=sessionID is closed.

Parameters:
sessionID - ID of sesion to be stoped
reason - the string of session closing reason.

newSession

void newSession(String SessionID)
This method is invoked every time when new Session is created.

Parameters:
SessionID - ID of new sesion

isMessageActual

boolean isMessageActual(FIXMessage message,
                        String sessionID)
This method is invoked every time Engine is asked to resend Application level message. If this method returns true Engine resends message to counterpart, otherwise it sends SequenceReset Gap Fill message.

Parameters:
sessionID - ID of new sesion
message - message in FIX format


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