LDAP Classes
Implements Java LDAP

com.novell.ldap
Class LDAPResponseQueue

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

public class LDAPResponseQueue
extends LDAPMessageQueue

A mechanism for processing asynchronous messages received from a server. It represents the message queue associated with a particular asynchronous LDAP operation or operations.


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