use of com.unboundid.ldap.protocol.SearchResultEntryProtocolOp in project ldapsdk by pingidentity.
the class InterceptedSearchOperation method sendSearchEntry.
/**
* {@inheritDoc}
*/
@Override()
public void sendSearchEntry(@NotNull final Entry entry) throws LDAPException {
final Control[] controls;
if (entry instanceof SearchResultEntry) {
controls = ((SearchResultEntry) entry).getControls();
} else {
controls = null;
}
getClientConnection().sendSearchResultEntry(getMessageID(), new SearchResultEntryProtocolOp(entry), controls);
}
Aggregations