4.1.0.610 20071213

ch.ecma.csta.binding.types
Class LocalConnectionState

java.lang.Object
  extended by ch.ecma.csta.binding.types.LocalConnectionState
All Implemented Interfaces:
java.io.Serializable

public class LocalConnectionState
extends java.lang.Object
implements java.io.Serializable

Indicates the state of a connection. Valid values are: null, initiated, alerting, connected, hold, queued, fail. If you are using the Java API, you can compare a LocalConnectionState state object with static constants (e.g. LocalConnectionState.ALERTING) using the equals() method.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static LocalConnectionState ALERTING
          The instance of the alerting type
static int ALERTING_TYPE
          The alerting type
static LocalConnectionState CONNECTED
          The instance of the connected type
static int CONNECTED_TYPE
          The connected type
static LocalConnectionState FAIL
          The instance of the fail type
static int FAIL_TYPE
          The fail type
static LocalConnectionState HOLD
          The instance of the hold type
static int HOLD_TYPE
          The hold type
static LocalConnectionState INITIATED
          The instance of the initiated type
static int INITIATED_TYPE
          The initiated type
static LocalConnectionState NULL
          The instance of the null type
static int NULL_TYPE
          The null type
static LocalConnectionState QUEUED
          The instance of the queued type
static int QUEUED_TYPE
          The queued type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerate Returns an enumeration of all possible instances of LocalConnectionState
 int getType()
          Method getType Returns the type of this LocalConnectionState
 java.lang.String toString()
          Method toString Returns the String representation of this LocalConnectionState
static LocalConnectionState valueOf(java.lang.String string)
          Method valueOf Returns a new LocalConnectionState based on the given String value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL_TYPE

public static final int NULL_TYPE
The null type

See Also:
Constant Field Values

NULL

public static final LocalConnectionState NULL
The instance of the null type


INITIATED_TYPE

public static final int INITIATED_TYPE
The initiated type

See Also:
Constant Field Values

INITIATED

public static final LocalConnectionState INITIATED
The instance of the initiated type


ALERTING_TYPE

public static final int ALERTING_TYPE
The alerting type

See Also:
Constant Field Values

ALERTING

public static final LocalConnectionState ALERTING
The instance of the alerting type


CONNECTED_TYPE

public static final int CONNECTED_TYPE
The connected type

See Also:
Constant Field Values

CONNECTED

public static final LocalConnectionState CONNECTED
The instance of the connected type


HOLD_TYPE

public static final int HOLD_TYPE
The hold type

See Also:
Constant Field Values

HOLD

public static final LocalConnectionState HOLD
The instance of the hold type


QUEUED_TYPE

public static final int QUEUED_TYPE
The queued type

See Also:
Constant Field Values

QUEUED

public static final LocalConnectionState QUEUED
The instance of the queued type


FAIL_TYPE

public static final int FAIL_TYPE
The fail type

See Also:
Constant Field Values

FAIL

public static final LocalConnectionState FAIL
The instance of the fail type

Method Detail

enumerate

public static java.util.Enumeration enumerate()
Method enumerate Returns an enumeration of all possible instances of LocalConnectionState

Returns:
Enumeration

getType

public int getType()
Method getType Returns the type of this LocalConnectionState

Returns:
int

toString

public java.lang.String toString()
Method toString Returns the String representation of this LocalConnectionState

Overrides:
toString in class java.lang.Object
Returns:
String

valueOf

public static LocalConnectionState valueOf(java.lang.String string)
Method valueOf Returns a new LocalConnectionState based on the given String value.

Parameters:
string -
Returns:
LocalConnectionState

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.