netscape.ldap.client.opers
Class JDAPUnbindRequest

java.lang.Object
  extended by netscape.ldap.client.opers.JDAPUnbindRequest
All Implemented Interfaces:
JDAPProtocolOp

public class JDAPUnbindRequest
extends java.lang.Object
implements JDAPProtocolOp

This class implements the unbind request and is a protocol operation. A protocol operation is embedded within JDAPMessage which is sent between client and server. This object is sent to the ldap server.

 UnbindRequest ::= [APPLICATION 2] NULL
 

Version:
1.0

Field Summary
 
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
JDAPUnbindRequest()
          Constructs bind request.
 
Method Summary
 BERElement getBERElement()
          Gets the ber representation of the unbind rquest.
 int getType()
          Retrieves the protocol operation type.
 java.lang.String toString()
          Retrieves the string representation of unbind operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDAPUnbindRequest

public JDAPUnbindRequest()
Constructs bind request.

Method Detail

getType

public int getType()
Retrieves the protocol operation type.

Specified by:
getType in interface JDAPProtocolOp
Returns:
operation type

getBERElement

public BERElement getBERElement()
Gets the ber representation of the unbind rquest.

Specified by:
getBERElement in interface JDAPProtocolOp
Returns:
ber representation

toString

public java.lang.String toString()
Retrieves the string representation of unbind operation.

Specified by:
toString in interface JDAPProtocolOp
Overrides:
toString in class java.lang.Object
Returns:
string representation