net.sf.asterisk.manager.action
Class ZapHangupAction

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

public class ZapHangupAction
extends AbstractManagerAction

The ZapHangupAction hangs up a zap channel.

Version:
$Id: ZapHangupAction.java,v 1.4 2005/08/07 17:10:29 srt Exp $
Author:
srt
See Also:
Serialized Form

Constructor Summary
ZapHangupAction()
          Creates a new empty ZapHangupAction.
ZapHangupAction(java.lang.Integer zapChannel)
          Creates a new ZapHangupAction that hangs up the given zap channel.
 
Method Summary
 java.lang.String getAction()
          Returns the name of this action, i.e.
 java.lang.Integer getZapChannel()
          Returns the number of the zap channel to hangup.
 void setZapChannel(java.lang.Integer channel)
          Sets the number of the zap channel to hangup.
This property is mandatory.
 
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

ZapHangupAction

public ZapHangupAction()
Creates a new empty ZapHangupAction.


ZapHangupAction

public ZapHangupAction(java.lang.Integer zapChannel)
Creates a new ZapHangupAction that hangs up the given zap channel.

Parameters:
zapChannel - the number of the zap channel to hang up
Since:
0.2
Method Detail

getAction

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

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

getZapChannel

public java.lang.Integer getZapChannel()
Returns the number of the zap channel to hangup.


setZapChannel

public void setZapChannel(java.lang.Integer channel)
Sets the number of the zap channel to hangup.
This property is mandatory.



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