All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Interface LDAPMessageQueue

All Known Implementing Classes:
LDAPResponseQueue, LDAPSearchQueue

public interface LDAPMessageQueue

The common interface for LDAPResponseQueue and LDAPSearchQueue.

See Also:
com.novell.ldap.LDAPMessageQueue

Method Summary
 int[] getMessageIDs()
          Returns the message IDs for all outstanding requests.
 LDAPMessage getResponse()
          Returns the response from an LDAP request.
 LDAPMessage getResponse(int msgid)
          Returns the response from an LDAP request for a particular msg id.
 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 msg id.
 void merge(LDAPMessageQueue queue2)
          Merges two response queues by moving the current and
 

Method Detail

getMessageIDs

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

See Also:
com.novell.ldap.LDAPMessageQueue.getMessageIDs()

getResponse

LDAPMessage getResponse()
                        throws LDAPException
Returns the response from an LDAP request.

Throws:
LDAPException
See Also:
com.novell.ldap.LDAPMessageQueue.getResponse()

getResponse

LDAPMessage getResponse(int msgid)
                        throws LDAPException
Returns the response from an LDAP request for a particular msg id.

Throws:
LDAPException
See Also:
com.novell.ldap.LDAPMessageQueue.getResponse(int)

isResponseReceived

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

See Also:
com.novell.ldap.LDAPMessageQueue.isResponseReceived()

isResponseReceived

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

See Also:
com.novell.ldap.LDAPMessageQueue.isResponseReceived(int)

merge

void merge(LDAPMessageQueue queue2)
Merges two response queues by moving the current and

See Also:
com.novell.ldap.LDAPMessageQueue.merge(LDAPMessageQueue)

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