|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.asterisk.fastagi.command.AGICommand
net.sf.asterisk.fastagi.command.VerboseCommand
public class VerboseCommand
Sends a message to the console via the verbose message system.
Always returns 1.
| Constructor Summary | |
|---|---|
VerboseCommand(java.lang.String message,
int level)
Creates a new VerboseCommand. |
|
| Method Summary | |
|---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
int |
getLevel()
Returns the level to use. |
java.lang.String |
getMessage()
Returns the message to send. |
void |
setLevel(int level)
Sets the level to use. |
void |
setMessage(java.lang.String message)
Sets the message to send. |
| 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 VerboseCommand(java.lang.String message,
int level)
throws java.lang.IllegalArgumentException
message - the message to send.level - the verbosity level to use.java.lang.IllegalArgumentException - if level is not in [1..4]| Method Detail |
|---|
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - the message to send.public int getLevel()
public void setLevel(int level)
level - the level to use.
java.lang.IllegalArgumentException - if level is not in [1..4]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 | |||||||||