|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.fastagi.command.AGICommand net.sf.asterisk.fastagi.command.SetAutoHangupCommand
public class SetAutoHangupCommand
Cause the channel to automatically hangup at the given number of seconds in
the future.
Of course it can be hungup before then as well. Setting to 0 will cause the
autohangup feature to be disabled on this channel.
Constructor Summary | |
---|---|
SetAutoHangupCommand(int time)
Creates a new SetAutoHangupCommand. |
Method Summary | |
---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
int |
getTime()
Returns the number of seconds before this channel is automatically hung up. |
void |
setTime(int time)
Sets the number of seconds before this channel is automatically hung up. |
Methods inherited from class net.sf.asterisk.fastagi.command.AGICommand |
---|
escapeAndQuote, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetAutoHangupCommand(int time)
time
- the number of seconds before this channel is automatically
hung up.Method Detail |
---|
public int getTime()
public void setTime(int time)
time
- the number of seconds before this channel is automatically
hung up.public java.lang.String buildCommand()
AGICommand
buildCommand
in class AGICommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |