pakmanaged.js
function GNTP(type, opts) {
        opts = opts || {};
        this.type = type;
        this.host = opts.host || 'localhost';
        this.port = opts.port || 23053;
        this.request = 'GNTP/1.0 ' + type + ' NONE' + nl;
        this.resources = [];
        this.attempts = 0;
        this.maxAttempts = 5;
    }
function GNTP(type, opts) {
        opts = opts || {};
        this.type = type;
        this.host = opts.host || 'localhost';
        this.port = opts.port || 23053;
        this.request = 'GNTP/1.0 ' + type + ' NONE' + nl;
        this.resources = [];
        this.attempts = 0;
        this.maxAttempts = 5;
    }
function GNTP ( type , opts ) { opts = opts || { } ; this . type = type ; this . host = opts . host || 'localhost' ; this . port = opts . port || 23053 ; this . request = 'GNTP/1.0 ' + type + ' NONE' + nl ; this . resources = [ ] ; this . attempts = 0 ; this . maxAttempts = 5 ; }
Create a new GNTP request of the given `type`.

@param {String} type either NOTIFY or REGISTER
@api private
Create a new GNTP request of the given type .