LDAP Classes
Implements Java LDAP

com.novell.ldap
Class LDAPSearchQueue

java.lang.Object
  extended bycom.novell.ldap.LDAPMessageQueue
      extended bycom.novell.ldap.LDAPSearchQueue

public class LDAPSearchQueue
extends LDAPMessageQueue

A mechanism for queuing asynchronous search results received from a server.

See Also:
LDAPConnection.search(java.lang.String, int, java.lang.String, java.lang.String[], boolean),

Sample Code: Searchas.java


Method Summary
 void merge(LDAPMessageQueue queue2)
          Merges two message queues.
 
Methods inherited from class com.novell.ldap.LDAPMessageQueue
getMessageIDs, getResponse, getResponse, isComplete, isResponseReceived, isResponseReceived
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

merge

public void merge(LDAPMessageQueue queue2)
Merges two message queues. It appends the current and future contents from another queue to this one.

After the operation, queue2.getMessageIDs() returns an empty array, and its outstanding responses have been removed and appended to this queue

.

Parameters:
queue2 - The queue that is merged from. Following the merge, this queue object will no longer receive any data, and calls made to its methods will fail with a RuntimeException. The queue can be reactivated by using it in an LDAP request, after which it will receive responses for that request..

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000