Running the Service
For this and all examples, refer to the readme.txt file in the main example directory for information on how to build, deploy, and run the example. Assuming the sample implementations that ship with the example, and which are described in this chapter, the expected output upon running the example is:
Starting Listener... 1
Subscribing to WeatherSummary service... 2
Subscription successful.
Sending weather update 1... 3
WEATHER UPDATE RECEIVED:
zipcode = 97584
windSpeed = 12
sky = overcast
temp = 54
Sending weather update 2...
WEATHER UPDATE RECEIVED:
zipcode = 97584
windSpeed = 15
sky = overcast
temp = 52
Unsubscribing from WeatherSummary service... 4
Unsubscribe successful.
Stopping listener... 5