LDAP Classes
Implements Java LDAP

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

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

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

getResponse

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

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

getResponse

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

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

isResponseReceived

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

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

isResponseReceived

public 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

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

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

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