class Standard . VirtualConsole {
any backgroundTextColor;
int32 currentPage;
int32 firstPage;
any foregroundTextColor;
int32 maxPages;
array outputData;
string serviceName;
oid serviceOID;
set subscribers;
any textFont;
} inherits from Object;
When a FARGOS/VISTA Object Management Environment is used as a script interpreter to run a single application, output written to standard output can be quite useful. When used in a far more common mode as a disconnected daemon simultaneously hosting multiple applications, the utility of standard output falls dramatically. When the transparently distributed nature of the environment is also taken into account, the usefulness of writing output to standard output falls ever further. The VirtualConsole enables a significant amount of useful function, such as:
VirtualConsole:create(optional string consoleId)
Create a virtual console. If consoleId is not specified, the console will be anonymous.
VirtualConsole:appendText(any text)
Append inline textual data.
VirtualConsole:newPage()
Note start of new logical page. Redundant requests are ignored.
VirtualConsole:getConsoleInfo()
Returns an associative array describing the console.
VirtualConsole:getPageData(optional int32 pageNum, optional int32 filterBy)
Get drawing commands for a logical page.
VirtualConsole:subscribeToUpdates(oid client)
Request notifications of updates.
VirtualConsole:unsubscribeToUpdates(oid client)
Remove a subscription previously requested by subscribeToUpdates.