Interface Application


public interface Application
For interacting with FIXEngine application must implement this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • 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