net.sf.asterisk.manager.action
Class ExtensionStateAction

java.lang.Object
  extended by net.sf.asterisk.manager.action.AbstractManagerAction
      extended by net.sf.asterisk.manager.action.ExtensionStateAction
All Implemented Interfaces:
java.io.Serializable, ManagerAction

public class ExtensionStateAction
extends AbstractManagerAction

The ExtensionStateAction queries the state of an extension in a given context.

Version:
$Id: ExtensionStateAction.java,v 1.3 2005/07/16 13:19:34 srt Exp $
Author:
srt
See Also:
Serialized Form

Constructor Summary
ExtensionStateAction()
           
 
Method Summary
 java.lang.String getAction()
          Returns the name of this action, i.e.
 java.lang.String getContext()
          Returns the name of the context that contains the extension to query.
 java.lang.String getExten()
          Returns the extension to query.
 void setContext(java.lang.String context)
          Sets the name of the context that contains the extension to query.
 void setExten(java.lang.String exten)
          Sets the extension to query.
 
Methods inherited from class net.sf.asterisk.manager.action.AbstractManagerAction
getActionId, setActionId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionStateAction

public ExtensionStateAction()
Method Detail

getAction

public java.lang.String getAction()
Returns the name of this action, i.e. "ExtensionState".

Specified by:
getAction in interface ManagerAction
Specified by:
getAction in class AbstractManagerAction

getExten

public java.lang.String getExten()
Returns the extension to query.


setExten

public void setExten(java.lang.String exten)
Sets the extension to query.


getContext

public java.lang.String getContext()
Returns the name of the context that contains the extension to query.


setContext

public void setContext(java.lang.String context)
Sets the name of the context that contains the extension to query.



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