com.pervasa.atlas.dev.service
Interface AtlasClient


public interface AtlasClient

Interface that can be implemented by applications using Atlas Network which require data from devices (like Sensor Applications) This will enable all AtlasService bundles to alert client when data arrives from a device connected to an Atlas Node

Author:
rbose

Method Summary
 void ReceivedData(java.lang.String p, java.util.Properties props)
          Event Handler function which will be called by an AtlasService Bundle when data arrives.
 

Method Detail

ReceivedData

public void ReceivedData(java.lang.String p,
                         java.util.Properties props)
Event Handler function which will be called by an AtlasService Bundle when data arrives. The Service has a properties object associated with it and passes it to the client via the props argument.

Parameters:
p - The data from the device
props - Properties associated with this data
See Also:
Property keys (* = optional) node-id ; channel ; bundle-id* ; bundle-location* ; location* ; label* ; measure-type* ; measure-unit* ; device-type*