microsoft.exchange.webservices.data.core.enumeration.misc
Enum HangingRequestDisconnectReason

java.lang.Object
  extended by java.lang.Enum<HangingRequestDisconnectReason>
      extended by microsoft.exchange.webservices.data.core.enumeration.misc.HangingRequestDisconnectReason
All Implemented Interfaces:
Serializable, Comparable<HangingRequestDisconnectReason>

public enum HangingRequestDisconnectReason
extends Enum<HangingRequestDisconnectReason>

Enumeration of reasons that a hanging request may disconnect.


Enum Constant Summary
Clean
          The server cleanly closed the connection.
Exception
          An exception occurred on the connection
Timeout
          The connection timed out do to a lack of a heartbeat received.
UserInitiated
          The client closed the connection.
 
Method Summary
static HangingRequestDisconnectReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HangingRequestDisconnectReason[] 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

Clean

public static final HangingRequestDisconnectReason Clean
The server cleanly closed the connection.


UserInitiated

public static final HangingRequestDisconnectReason UserInitiated
The client closed the connection.


Timeout

public static final HangingRequestDisconnectReason Timeout
The connection timed out do to a lack of a heartbeat received.


Exception

public static final HangingRequestDisconnectReason Exception
An exception occurred on the connection

Method Detail

values

public static HangingRequestDisconnectReason[] 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 (HangingRequestDisconnectReason c : HangingRequestDisconnectReason.values())
    System.out.println(c);

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

valueOf

public static HangingRequestDisconnectReason valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012–2015 Microsoft. All rights reserved.