This function creates a result set token representing the set of
all available statistical name-value pairs for the specified Gateway daemon.
Detail
This function is called with a gateway token
and a result set token pointer. The result set created can be parsed with
functions
getFirstStat and
getNextStat,
or used to generate a query string with
getIdQuery.