2011-11-07 22:13:53 +00:00
|
|
|
// Copyright 2011 Mark Cavage, Inc. All rights reserved.
|
|
|
|
|
|
|
|
var assert = require('assert');
|
|
|
|
var util = require('util');
|
|
|
|
|
|
|
|
var LDAPMessage = require('./result');
|
|
|
|
var Protocol = require('../protocol');
|
|
|
|
|
|
|
|
|
|
|
|
///--- API
|
|
|
|
// Stub this out
|
|
|
|
|
|
|
|
function AbandonResponse(options) {
|
|
|
|
if (!options)
|
|
|
|
options = {};
|
2012-02-18 08:15:52 +00:00
|
|
|
if (typeof (options) !== 'object')
|
2011-11-07 22:13:53 +00:00
|
|
|
throw new TypeError('options must be an object');
|
|
|
|
|
|
|
|
options.protocolOp = 0;
|
|
|
|
LDAPMessage.call(this, options);
|
2012-02-18 08:15:52 +00:00
|
|
|
this.__defineGetter__('type', function () { return 'AbandonResponse'; });
|
2011-11-07 22:13:53 +00:00
|
|
|
}
|
|
|
|
util.inherits(AbandonResponse, LDAPMessage);
|
|
|
|
module.exports = AbandonResponse;
|
|
|
|
|
|
|
|
|
2012-02-18 08:15:52 +00:00
|
|
|
AbandonResponse.prototype.end = function (status) {};
|
2011-11-07 22:13:53 +00:00
|
|
|
|
|
|
|
|
2012-02-18 08:15:52 +00:00
|
|
|
AbandonResponse.prototype._json = function (j) {
|
2011-11-07 22:13:53 +00:00
|
|
|
return j;
|
|
|
|
};
|