com.unboundid.ldap.protocol
Interface LDAPResponse

All Known Implementing Classes:
BindResult, CompareResult, ExtendedResult, IntermediateResponse, LDAPResult, NoticeOfDisconnectionExtendedResult, SearchResult, SearchResultEntry, SearchResultReference

@InternalUseOnly
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.