|
CoSWoT Servient-C
|
Functions | |
| void | initCoSSB () |
| Method that initializes the CoSSB. | |
| void | deleteCoSSB () |
| Method that frees the TopicList structure. | |
| void | publish (char *rdfG) |
| Method that publishes a graph to every subscriber, based on the topic of the graph. | |
| void | addSubscribtion (char *topic, func callback) |
| Method used by the modules to subscribe to a topic. | |
| void addSubscribtion | ( | char * | topic, |
| func | callback | ||
| ) |
Method used by the modules to subscribe to a topic.
| topic | Topic to which the module wants to subscribe |
| callback | The callback to call in case a graph is published to the topic |
| void initCoSSB | ( | ) |
Method that initializes the CoSSB.
| void publish | ( | char * | rdfG | ) |
Method that publishes a graph to every subscriber, based on the topic of the graph.
| rdfG | Graph to publish |