net.sf.asterisk.manager
Class ChannelStateEnum

java.lang.Object
  extended by net.sf.asterisk.manager.ChannelStateEnum
All Implemented Interfaces:
java.io.Serializable

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

Enumeration that represents the state of a channel.

Version:
$Id: ChannelStateEnum.java,v 1.3 2005/03/13 11:26:48 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
static ChannelStateEnum BUSY
           
static ChannelStateEnum DIALING
           
static ChannelStateEnum DOWN
           
static ChannelStateEnum HUNGUP
           
static ChannelStateEnum OFF_HOOK
           
static ChannelStateEnum RING
           
static ChannelStateEnum RINGING
           
static ChannelStateEnum RSRVD
           
static ChannelStateEnum UP
           
 
Method Summary
static ChannelStateEnum getEnum(java.lang.String state)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DOWN

public static final ChannelStateEnum DOWN

OFF_HOOK

public static final ChannelStateEnum OFF_HOOK

DIALING

public static final ChannelStateEnum DIALING

RING

public static final ChannelStateEnum RING

RINGING

public static final ChannelStateEnum RINGING

UP

public static final ChannelStateEnum UP

BUSY

public static final ChannelStateEnum BUSY

RSRVD

public static final ChannelStateEnum RSRVD

HUNGUP

public static final ChannelStateEnum HUNGUP
Method Detail

getEnum

public static ChannelStateEnum getEnum(java.lang.String state)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.