Scripting Interfaces: Flow Related Objects

ResourcePort:

Synopsis
Used to specify a publish / subscribe stream URIs. Possible URIs are listed here.
E.g.
x = new ResourcePort();

// To specify Write / publish, use as
x.publishTo("file:///tmp/out.txt"); // OR can simply say x.publish = "file:///tmp/out.txt"


// To specify read / subscribe, use as
x.subscribeFrom("file:///tmp/in.txt"); // OR can simply say x.subscribe = "file:///tmp/out.txt"
Status: Implemented

(back to Notes)