1. A wireless sensor network comprising: a plurality of nodes that communicate over wireless communication links, wherein at least one of the plurality of nodes receives sensor data from a sensor; wherein a subscription for an event of interest occurring in the wireless sensor network is installed in the wireless sensor network; wherein a publisher node included in the plurality of nodes determines when the event of interest occurs and, when the event of interest occurs, publishes data related to the event of interest for a subscriber node included in the plurality of nodes.