Page tree
Skip to end of metadata
Go to start of metadata

This article is applicable to FIX Antenna C++ /.Net since 2.24.0

Overview

In some cases an application based on FIX Antenna can be not ready to process incoming connections, whereas it still requires services the engine provides, for example during the application initialization/shutdown processes. In this scenario the application can disable auto start of listening incoming connections in the engine's InitParameters and control listening using engine's API calls. Paused listening sockets stay opened and observable in the system, but engine doesn't accept new incoming connections in this state. The already established connections (both incoming and outgoing) stay operational as well as creation of new outgoing connections.

Manual start listening incoming connections

    FixEngine::InitParameters initParams;
    initParams.startListeningIncomingConnections_ = false;
    Engine::FixEngine::init(initParams);
    // ...
    Engine::FixEngine::singleton()->startListeningIncomingConnections();

Manual pause listening incoming connections

    Engine::FixEngine::singleton()->stopListeningIncomingConnections();
  • No labels