com.unboundid.ldap.protocol
Interface LDAPResponse

All Known Implementing Classes:
AbortedTransactionExtendedResult, BindResult, CompareResult, ContentSyncInfoIntermediateResponse, EndTransactionExtendedResult, ExtendedResult, IntermediateResponse, LDAPResult, NoticeOfDisconnectionExtendedResult, PasswordModifyExtendedResult, SearchResult, SearchResultEntry, SearchResultReference, StartTransactionExtendedResult, WhoAmIExtendedResult

@InternalUseOnly
@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface LDAPResponse

This interface serves as a marker for classes in the com.unboundid.ldap.sdk package that are responses which may be received from a directory server.


Field Summary
static Control[] NO_CONTROLS
          An empty set of controls.
 
Method Summary
 int getMessageID()
          Retrieves the message ID for the LDAP message containing this response.
 void toString(java.lang.StringBuilder buffer)
          Appends a string representation of this LDAP response to the provided buffer.
 

Field Detail

NO_CONTROLS

static final Control[] NO_CONTROLS
An empty set of controls.

Method Detail

getMessageID

int getMessageID()
Retrieves the message ID for the LDAP message containing this response.

Returns:
The message ID for the LDAP message containing this response.

toString

void toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP response to the provided buffer.

Parameters:
buffer - The buffer to which the information should be appended.