org.apache.directory.shared.ldap.codec
Enum MessageTypeEnum

java.lang.Object
  extended by java.lang.Enum<MessageTypeEnum>
      extended by org.apache.directory.shared.ldap.codec.MessageTypeEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MessageTypeEnum>

public enum MessageTypeEnum
extends java.lang.Enum<MessageTypeEnum>

An enum to store the Ldap message type.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Enum Constant Summary
ABANDON_REQUEST
           
ADD_REQUEST
           
ADD_RESPONSE
           
BIND_REQUEST
           
BIND_RESPONSE
           
COMPARE_REQUEST
           
COMPARE_RESPONSE
           
DEL_REQUEST
           
DEL_RESPONSE
           
EXTENDED_REQUEST
           
EXTENDED_RESPONSE
           
INTERMEDIATE_RESPONSE
           
MODIFY_REQUEST
           
MODIFY_RESPONSE
           
MODIFYDN_REQUEST
           
MODIFYDN_RESPONSE
           
SEARCH_REQUEST
           
SEARCH_RESULT_DONE
           
SEARCH_RESULT_ENTRY
           
SEARCH_RESULT_REFERENCE
           
UNBIND_REQUEST
           
 
Method Summary
static MessageTypeEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MessageTypeEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABANDON_REQUEST

public static final MessageTypeEnum ABANDON_REQUEST

ADD_REQUEST

public static final MessageTypeEnum ADD_REQUEST

ADD_RESPONSE

public static final MessageTypeEnum ADD_RESPONSE

BIND_REQUEST

public static final MessageTypeEnum BIND_REQUEST

BIND_RESPONSE

public static final MessageTypeEnum BIND_RESPONSE

COMPARE_REQUEST

public static final MessageTypeEnum COMPARE_REQUEST

COMPARE_RESPONSE

public static final MessageTypeEnum COMPARE_RESPONSE

DEL_REQUEST

public static final MessageTypeEnum DEL_REQUEST

DEL_RESPONSE

public static final MessageTypeEnum DEL_RESPONSE

EXTENDED_REQUEST

public static final MessageTypeEnum EXTENDED_REQUEST

EXTENDED_RESPONSE

public static final MessageTypeEnum EXTENDED_RESPONSE

MODIFYDN_REQUEST

public static final MessageTypeEnum MODIFYDN_REQUEST

MODIFYDN_RESPONSE

public static final MessageTypeEnum MODIFYDN_RESPONSE

MODIFY_REQUEST

public static final MessageTypeEnum MODIFY_REQUEST

MODIFY_RESPONSE

public static final MessageTypeEnum MODIFY_RESPONSE

SEARCH_REQUEST

public static final MessageTypeEnum SEARCH_REQUEST

SEARCH_RESULT_DONE

public static final MessageTypeEnum SEARCH_RESULT_DONE

SEARCH_RESULT_ENTRY

public static final MessageTypeEnum SEARCH_RESULT_ENTRY

SEARCH_RESULT_REFERENCE

public static final MessageTypeEnum SEARCH_RESULT_REFERENCE

UNBIND_REQUEST

public static final MessageTypeEnum UNBIND_REQUEST

INTERMEDIATE_RESPONSE

public static final MessageTypeEnum INTERMEDIATE_RESPONSE
Method Detail

values

public static MessageTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MessageTypeEnum c : MessageTypeEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MessageTypeEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.