lib/messages/search_entry.js
function SearchEntry(options) {
  options = options || {};
  assert.object(options);
  lassert.optionalStringDN(options.objectName);

  options.protocolOp = Protocol.LDAP_REP_SEARCH_ENTRY;
  LDAPMessage.call(this, options);

  this.objectName = options.objectName || null;
  this.setAttributes(options.attributes || []);
}
function SearchEntry(options) {
  options = options || {};
  assert.object(options);
  lassert.optionalStringDN(options.objectName);

  options.protocolOp = Protocol.LDAP_REP_SEARCH_ENTRY;
  LDAPMessage.call(this, options);

  this.objectName = options.objectName || null;
  this.setAttributes(options.attributes || []);
}
function SearchEntry ( options ) { options = options || { } ; assert . object ( options ) ; lassert . optionalStringDN ( options . objectName ) ; options . protocolOp = Protocol . LDAP_REP_SEARCH_ENTRY ; LDAPMessage . call ( this , options ) ; this . objectName = options . objectName || null ; this . setAttributes ( options . attributes || [ ] ) ; }
/--- API
/ --- API