netscape.ldap.client.opers

Interface JDAPProtocolOp

Known Implementing Classes:
JDAPAbandonRequest, JDAPAddRequest, JDAPAddResponse, JDAPBindRequest, JDAPBindResponse, JDAPCompareRequest, JDAPCompareResponse, JDAPDeleteRequest, JDAPDeleteResponse, JDAPExtendedRequest, JDAPExtendedResponse, JDAPModifyRDNRequest, JDAPModifyRDNResponse, JDAPModifyRequest, JDAPModifyResponse, JDAPSearchRequest, JDAPSearchResponse, JDAPSearchResult, JDAPSearchResultReference, JDAPUnbindRequest

public interface JDAPProtocolOp

This is the base interface for all protocol operation that is embedded in a JDAPMessage (LDAP Message in RCF1777). Each protocol operation must implement this interface.
Version:
1.0

Field Summary

static int
ABANDON_REQUEST
static int
ADD_REQUEST
static int
ADD_RESPONSE
static int
BIND_REQUEST
Protocol operation types
static int
BIND_RESPONSE
static int
COMPARE_REQUEST
static int
COMPARE_RESPONSE
static int
DEL_REQUEST
static int
DEL_RESPONSE
static int
EXTENDED_REQUEST
static int
EXTENDED_RESPONSE
static int
MODIFY_RDN_REQUEST
static int
MODIFY_RDN_RESPONSE
static int
MODIFY_REQUEST
static int
MODIFY_RESPONSE
static int
SEARCH_REQUEST
static int
SEARCH_RESPONSE
static int
SEARCH_RESULT
static int
SEARCH_RESULT_REFERENCE
static int
UNBIND_REQUEST

Method Summary

BERElement
getBERElement()
Retrieves the ber representation of the operation.
int
getType()
Retrieves the protocol operation type.
String
toString()
Retrieves the string representation of the operation.

Field Details

ABANDON_REQUEST

public static final int ABANDON_REQUEST
Field Value:
16

ADD_REQUEST

public static final int ADD_REQUEST
Field Value:
8

ADD_RESPONSE

public static final int ADD_RESPONSE
Field Value:
9

BIND_REQUEST

public static final int BIND_REQUEST
Protocol operation types
Field Value:
0

BIND_RESPONSE

public static final int BIND_RESPONSE
Field Value:
1

COMPARE_REQUEST

public static final int COMPARE_REQUEST
Field Value:
14

COMPARE_RESPONSE

public static final int COMPARE_RESPONSE
Field Value:
15

DEL_REQUEST

public static final int DEL_REQUEST
Field Value:
10

DEL_RESPONSE

public static final int DEL_RESPONSE
Field Value:
11

EXTENDED_REQUEST

public static final int EXTENDED_REQUEST
Field Value:
23

EXTENDED_RESPONSE

public static final int EXTENDED_RESPONSE
Field Value:
24

MODIFY_RDN_REQUEST

public static final int MODIFY_RDN_REQUEST
Field Value:
12

MODIFY_RDN_RESPONSE

public static final int MODIFY_RDN_RESPONSE
Field Value:
13

MODIFY_REQUEST

public static final int MODIFY_REQUEST
Field Value:
6

MODIFY_RESPONSE

public static final int MODIFY_RESPONSE
Field Value:
7

SEARCH_REQUEST

public static final int SEARCH_REQUEST
Field Value:
3

SEARCH_RESPONSE

public static final int SEARCH_RESPONSE
Field Value:
4

SEARCH_RESULT

public static final int SEARCH_RESULT
Field Value:
5

SEARCH_RESULT_REFERENCE

public static final int SEARCH_RESULT_REFERENCE
Field Value:
19

UNBIND_REQUEST

public static final int UNBIND_REQUEST
Field Value:
2

Method Details

getBERElement

public BERElement getBERElement()
Retrieves the ber representation of the operation.
Returns:
ber representation

getType

public int getType()
Retrieves the protocol operation type.
Returns:
protocol type

toString

public String toString()
Retrieves the string representation of the operation.
Returns:
string representation