Scripting Interfaces: Flow Related Objects

URLResource:

Synopsis
Used to specify a URL as a resource. Possible resources are described here
This object specifies URLs as input output pairs, thus we can read (subscribe) from a URL and write (publish) to another URL. The ResourcePort is used in tandem with this object to specify the input and output streams. This object is structured as follows
URL Resource
E.g.
x = new URLResource();
x.port[0].subscribeFrom = "file:///tmp/data.txt";
x.port[0].publishTo = "topic://niotcp:///rawData";

x.notify.subscribeFrom="..."; // topic on which errors / notifications are published

Status: Implemented

(back to Notes)