|
||||||||||
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.ChannelStatusCommand
public class ChannelStatusCommand
Returns the status of the specified channel. If no channel name is given the
returns the status of the current channel.
Return values:
Constructor Summary | |
---|---|
ChannelStatusCommand()
Creates a new ChannelStatusCommand that queries the current channel. |
|
ChannelStatusCommand(java.lang.String channel)
Creates a new ChannelStatusCommand that queries the given channel. |
Method Summary | |
---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
java.lang.String |
getChannel()
Returns the name of the channel to query. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel to query. |
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 ChannelStatusCommand()
public ChannelStatusCommand(java.lang.String channel)
channel
- the name of the channel to query.Method Detail |
---|
public java.lang.String getChannel()
null
for the
current channel.public void setChannel(java.lang.String channel)
channel
- the name of the channel to query or null
for the current channel.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 |