com.genesyslab.ail.event
Class DnFunctionEvent.EventReason

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.event.DnFunctionEvent.EventReason
Enclosing interface:
DnFunctionEvent

public static class DnFunctionEvent.EventReason
extends Enum

Enum for the possible event reasons.


Field Summary
static DnFunctionEvent.EventReason DND_OFF
          The Do-Not-Disturb has been turned off.
static int DND_OFF_
          The Do-Not-Disturb has been turned off.
static DnFunctionEvent.EventReason DND_ON
          The Do-Not-Disturb has been turned on.
static int DND_ON_
          The Do-Not-Disturb has been turned on.
static DnFunctionEvent.EventReason FORWARD_CANCELED
          The Forward has been canceled.
static int FORWARD_CANCELED_
          The Forward has been canceled.
static DnFunctionEvent.EventReason FORWARD_SET
          The Forward has been activated.
static int FORWARD_SET_
          The Forward has been activated.
static int MAX
          The maximum number of event reasons.
static DnFunctionEvent.EventReason OFF_HOOK
          The telephone headset has been taken off-hook.
static int OFF_HOOK_
          The telephone headset has been taken off-hook.
static DnFunctionEvent.EventReason ON_HOOK
          The telephone headset has been placed on-hook.
static int ON_HOOK_
          The telephone headset has been placed on-hook.
static DnFunctionEvent.EventReason UNDEFINED
          Undefined.
static int UNDEFINED_
          Undefined.
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static DnFunctionEvent.EventReason getEventReason(int value)
          Returns an EventReason for this value.
static int max()
          The maximum number of event reasons.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED_

public static final int UNDEFINED_
Undefined.

See Also:
Constant Field Values

UNDEFINED

public static final DnFunctionEvent.EventReason UNDEFINED
Undefined.


DND_ON_

public static final int DND_ON_
The Do-Not-Disturb has been turned on.

See Also:
Constant Field Values

DND_ON

public static final DnFunctionEvent.EventReason DND_ON
The Do-Not-Disturb has been turned on.


DND_OFF_

public static final int DND_OFF_
The Do-Not-Disturb has been turned off.

See Also:
Constant Field Values

DND_OFF

public static final DnFunctionEvent.EventReason DND_OFF
The Do-Not-Disturb has been turned off.


ON_HOOK_

public static final int ON_HOOK_
The telephone headset has been placed on-hook.

See Also:
Constant Field Values

ON_HOOK

public static final DnFunctionEvent.EventReason ON_HOOK
The telephone headset has been placed on-hook.


OFF_HOOK_

public static final int OFF_HOOK_
The telephone headset has been taken off-hook.

See Also:
Constant Field Values

OFF_HOOK

public static final DnFunctionEvent.EventReason OFF_HOOK
The telephone headset has been taken off-hook.


FORWARD_SET_

public static final int FORWARD_SET_
The Forward has been activated.

See Also:
Constant Field Values

FORWARD_SET

public static final DnFunctionEvent.EventReason FORWARD_SET
The Forward has been activated.


FORWARD_CANCELED_

public static final int FORWARD_CANCELED_
The Forward has been canceled.

See Also:
Constant Field Values

FORWARD_CANCELED

public static final DnFunctionEvent.EventReason FORWARD_CANCELED
The Forward has been canceled.


MAX

public static final int MAX
The maximum number of event reasons.

See Also:
Constant Field Values
Method Detail

max

public static final int max()
The maximum number of event reasons.


getEventReason

public static final DnFunctionEvent.EventReason getEventReason(int value)
Returns an EventReason for this value.