|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
DataHandler(java.lang.String dataPacket,
java.lang.String channel)
Method called by middleware when data arrives from an Atlas node. |
boolean |
isSubscriber()
Indicates whether this Service is a push client or not |
void |
setNodeServiceHandler(NodeServiceHandler handler)
Method called by NodeServiceHandler to link itself to this Service |
void |
setProperties(java.util.Properties props)
Method called by NodeServiceHandler to set properties associated with the device being represented by this service |
| Method Detail |
public void setNodeServiceHandler(NodeServiceHandler handler)
public void setProperties(java.util.Properties props)
props -
public void DataHandler(java.lang.String dataPacket,
java.lang.String channel)
dataPacket - - contains data sent by a device connected
to the Atlas node.channel - - channel to which device is connectedpublic boolean isSubscriber()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||