client/splunk.js
function() {
            this._super.apply(this, arguments);

            // We perform the bindings so that every function works 
            // properly when it is passed as a callback.
            this.specialize         = utils.bind(this, this.specialize);
            this.apps               = utils.bind(this, this.apps);
            this.configurations     = utils.bind(this, this.configurations);
            this.indexes            = utils.bind(this, this.indexes);
            this.savedSearches      = utils.bind(this, this.savedSearches);
            this.jobs               = utils.bind(this, this.jobs);
            this.users              = utils.bind(this, this.users);
            this.currentUser        = utils.bind(this, this.currentUser);
            this.views              = utils.bind(this, this.views);
            this.firedAlertGroups   = utils.bind(this, this.firedAlertGroups);
            this.dataModels         = utils.bind(this, this.dataModels);
        }
function() {
            this._super.apply(this, arguments);

            // We perform the bindings so that every function works 
            // properly when it is passed as a callback.
            this.specialize         = utils.bind(this, this.specialize);
            this.apps               = utils.bind(this, this.apps);
            this.configurations     = utils.bind(this, this.configurations);
            this.indexes            = utils.bind(this, this.indexes);
            this.savedSearches      = utils.bind(this, this.savedSearches);
            this.jobs               = utils.bind(this, this.jobs);
            this.users              = utils.bind(this, this.users);
            this.currentUser        = utils.bind(this, this.currentUser);
            this.views              = utils.bind(this, this.views);
            this.firedAlertGroups   = utils.bind(this, this.firedAlertGroups);
            this.dataModels         = utils.bind(this, this.dataModels);
        }
function ( ) { this . _super . apply ( this , arguments ) ; // We perform the bindings so that every function works  // properly when it is passed as a callback. this . specialize = utils . bind ( this , this . specialize ) ; this . apps = utils . bind ( this , this . apps ) ; this . configurations = utils . bind ( this , this . configurations ) ; this . indexes = utils . bind ( this , this . indexes ) ; this . savedSearches = utils . bind ( this , this . savedSearches ) ; this . jobs = utils . bind ( this , this . jobs ) ; this . users = utils . bind ( this , this . users ) ; this . currentUser = utils . bind ( this , this . currentUser ) ; this . views = utils . bind ( this , this . views ) ; this . firedAlertGroups = utils . bind ( this , this . firedAlertGroups ) ; this . dataModels = utils . bind ( this , this . dataModels ) ; }
Constructor for `splunkjs.Service`.

@constructor
@param {splunkjs.Http} http An instance of a `splunkjs.Http` class.
@param {Object} params A dictionary of optional parameters:
- `scheme` (_string_): The scheme ("http" or "https") for accessing Splunk.
- `host` (_string_): The host name (the default is "localhost").
- `port` (_integer_): The port number (the default is 8089).
- `username` (_string_): The Splunk account username, which is used to authenticate the Splunk instance.
- `password` (_string_): The password, which is used to authenticate the Splunk instance.
- `owner` (_string_): The owner (username) component of the namespace.
- `app` (_string_): The app component of the namespace.
- `sessionKey` (_string_): The current session token.
- `autologin` (_boolean_): `true` to automatically try to log in again if the session terminates, `false` if not (`true` by default).
- `version` (_string_): The version string for Splunk, for example "4.3.2" (the default is "5.0").
@return {splunkjs.Service} A new `splunkjs.Service` instance.

@method splunkjs.Service
Constructor for splunkjs . Service .