ark::aws::SnsServer

Defined in header “ark/aws/testing/sns_server.hh”.


This class represents a mock AWS SNS server, which allows you to publish messages.

Methods

  • SnsServer(const comms::NetworkAddress & address)
    Constructor. Initializes the SNS server and starts the background thread that will handle requests.

  • ~SnsServer()
    Destructor implemented internally.

  • core::Url endpoint()
    Returns the endpoint that you can talk to this server over.

  • std::vector< std::string > messages_received()
    Receives all of the sent messages.