Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

abandon_response.js 741B

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright 2011 Mark Cavage, Inc. All rights reserved.
  2. var assert = require('assert-plus');
  3. var util = require('util');
  4. var LDAPMessage = require('./result');
  5. var Protocol = require('../protocol');
  6. ///--- API
  7. function AbandonResponse(options) {
  8. options = options || {};
  9. assert.object(options);
  10. options.protocolOp = 0;
  11. LDAPMessage.call(this, options);
  12. }
  13. util.inherits(AbandonResponse, LDAPMessage);
  14. Object.defineProperties(AbandonResponse.prototype, {
  15. type: {
  16. get: function getType() { return 'AbandonResponse'; },
  17. configurable: false
  18. }
  19. });
  20. AbandonResponse.prototype.end = function (status) {};
  21. AbandonResponse.prototype._json = function (j) {
  22. return j;
  23. };
  24. ///--- Exports
  25. module.exports = AbandonResponse;