|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.fastagi.command.AbstractAgiCommand
org.asteriskjava.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 org.asteriskjava.fastagi.command.AbstractAgiCommand |
---|
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.0 disables the autohangup feature.
Method Detail |
---|
public int getTime()
public void setTime(int time)
time
- the number of seconds before this channel is automatically
hung up.0 disables the autohangup feature.
public java.lang.String buildCommand()
AgiCommand
buildCommand
in interface AgiCommand
buildCommand
in class AbstractAgiCommand
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |