All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Class LDAPResponseQueue

java.lang.Object
  extended by org.ietf.ldap.LDAPResponseQueue
All Implemented Interfaces:
LDAPMessageQueue

public class LDAPResponseQueue
extends java.lang.Object
implements LDAPMessageQueue

Encapsulates a low-level mechanism for processing asynchronous messages received from a server.

See Also:
com.novell.ldap.LDAPResponseQueue

Field Summary
private  LDAPResponseQueue queue
           
 
Constructor Summary
LDAPResponseQueue(LDAPResponseQueue queue)
          Constructs a response queue from com.novell.ldap.LDAPResponseQueue
 
Method Summary
 int[] getMessageIDs()
          Returns the message IDs for all outstanding requests.
 LDAPMessage getResponse()
          Returns the response.
 LDAPMessage getResponse(int msgid)
          Returns the response for a particular message id.
(package private)  LDAPResponseQueue getWrappedObject()
          Returns the com.novell.ldap.LDAPResponseQueue object
 boolean isResponseReceived()
          Reports whether a response has been received from the server.
 boolean isResponseReceived(int msgid)
          Reports whether a response has been received from the server for a particular message id.
 void merge(LDAPMessageQueue queue2)
          Merges two response queues by moving the contents from another queue to this one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queue

private LDAPResponseQueue queue
Constructor Detail

LDAPResponseQueue

LDAPResponseQueue(LDAPResponseQueue queue)
Constructs a response queue from com.novell.ldap.LDAPResponseQueue

Method Detail

getWrappedObject

LDAPResponseQueue getWrappedObject()
Returns the com.novell.ldap.LDAPResponseQueue object


getMessageIDs

public int[] getMessageIDs()
Returns the message IDs for all outstanding requests.

Specified by:
getMessageIDs in interface LDAPMessageQueue
See Also:
com.novell.ldap.LDAPResponse.getMessageIDs()

isResponseReceived

public boolean isResponseReceived()
Reports whether a response has been received from the server.

Specified by:
isResponseReceived in interface LDAPMessageQueue
See Also:
com.novell.ldap.LDAPResponse.isResponseReceived()

isResponseReceived

public boolean isResponseReceived(int msgid)
Reports whether a response has been received from the server for a particular message id.

Specified by:
isResponseReceived in interface LDAPMessageQueue
See Also:
com.novell.ldap.LDAPResponse.isResponseReceived(int)

merge

public void merge(LDAPMessageQueue queue2)
Merges two response queues by moving the contents from another queue to this one.

Specified by:
merge in interface LDAPMessageQueue
See Also:
com.novell.ldap.LDAPResponse.merge(LDAPMessageQueue)

getResponse

public LDAPMessage getResponse()
                        throws LDAPException
Returns the response.

Specified by:
getResponse in interface LDAPMessageQueue
Throws:
LDAPException
See Also:
com.novell.ldap.LDAPResponse.getResponse()

getResponse

public LDAPMessage getResponse(int msgid)
                        throws LDAPException
Returns the response for a particular message id.

Specified by:
getResponse in interface LDAPMessageQueue
Throws:
LDAPException
See Also:
com.novell.ldap.LDAPResponse.getResponse(int)

All LDAP Classes
Internal LDAP Classes

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