1 | // Copyright 2011 Mark Cavage, Inc. All rights reserved.
|
2 |
|
3 | const assert = require('assert-plus')
|
4 | const util = require('util')
|
5 |
|
6 | const LDAPResult = require('./result')
|
7 | const Protocol = require('../protocol')
|
8 |
|
9 | /// --- API
|
10 |
|
11 | function DeleteResponse (options) {
|
12 | options = options || {}
|
13 | assert.object(options)
|
14 |
|
15 | options.protocolOp = Protocol.LDAP_REP_DELETE
|
16 | LDAPResult.call(this, options)
|
17 | }
|
18 | util.inherits(DeleteResponse, LDAPResult)
|
19 |
|
20 | /// --- Exports
|
21 |
|
22 | module.exports = DeleteResponse
|