Implementing the Client
One the client side, we need to send and receive weather updates, using the provided sample client implementation WeatherSummaryClient.cpp. It does the following:
Subscribes to the weather service through a call to a request-response endpoint.
Sends a weather update to the weather service as a one-way message.
Verifies to the server that it can be reached by implementing a solicit-response service endpoint.
Receives back a weather update from the service by implementing a service notification endpoint.
Unsubscribes to the weather service through a call to the request-response endpoint.
For each step, the code writes status information to standard out to verify that the client and server are behaving as expected.