Introduction

iWay Sentinel provides a way to obtain handlers for Sentinel objects outlined in the next section. For example, the following code sample shows how to retrieve a list of servers in script:

var srvrs = $(".server").list();
for(index in srvrs)
{
    println(srvrs[index].name+","+srvrs[index].description);
}

This script will return a native array of Server objects that you can iterate in a for-loop, where $(".server") retrieves a handler for a Sentinel class.


iWay Software