netscape.ldap.client.opers

Class JDAPSearchResultReference

Implemented Interfaces:
JDAPProtocolOp

public class JDAPSearchResultReference
extends java.lang.Object
implements JDAPProtocolOp

This class implements the search result reference. See RFC 1777.
 SearchResultReference :: [APPLICATION 19] SEQUENCE OF LDAPURL
 
Version:
1.0

Field Summary

protected BERElement
m_element
protected String[]
m_urls
Internal variables

Fields inherited from interface netscape.ldap.client.opers.JDAPProtocolOp

ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST

Constructor Summary

JDAPSearchResultReference(BERElement element)
Constructs extended response.

Method Summary

BERElement
getBERElement()
Retrieves the BER representation of this object.
int
getType()
Retrieves the protocol operation type.
String[]
getUrls()
Retrieves a list of urls.
String
toString()
Retrieve the string representation.

Field Details

m_element

protected BERElement m_element

m_urls

protected String[] m_urls
Internal variables

Constructor Details

JDAPSearchResultReference

public JDAPSearchResultReference(BERElement element)
            throws IOException
Constructs extended response.
Parameters:
element - ber element of add response

Method Details

getBERElement

public BERElement getBERElement()
Retrieves the BER representation of this object.
Specified by:
getBERElement in interface JDAPProtocolOp

getType

public int getType()
Retrieves the protocol operation type.
Specified by:
getType in interface JDAPProtocolOp
Returns:
protocol type

getUrls

public String[] getUrls()
Retrieves a list of urls.

toString

public String toString()
Retrieve the string representation.
Specified by:
toString in interface JDAPProtocolOp
Returns:
string representation