ark::catalog::CatalogApiGateway

Defined in header “ark/catalog/api_gateway/service.hh”.


This class encapsulates all of the state/messaging necessary for the API gateway.

Methods

  • CatalogApiGateway(CatalogApiConfiguration config)
    Constructor. Initializes the API gateway.

  • ~CatalogApiGateway()
    Destructor. Hides implementation details.

  • void poll(std::chrono::nanoseconds duration)
    Polls runs the underlying service for the given duration before returning.

  • comms::NetworkAddress address()
    Returns the address that this server is running at.