public class VerboseCommand extends AbstractAgiCommand
Logs a message to the asterisk verbose log.
| Constructor and Description |
|---|
VerboseCommand(String message,
int level)
Creates a new VerboseCommand.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
int |
getLevel()
Returns the level to use.
|
String |
getMessage()
Returns the message to send.
|
void |
setLevel(int level)
Sets the level to use.
|
void |
setMessage(String message)
Sets the message to send.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic VerboseCommand(String message, int level)
message - the message to send.level - the verbosity level to use.Must be in [1..4]
public String getMessage()
public void setMessage(String message)
message - the message to send.public int getLevel()
public void setLevel(int level)
Must be in in [1..4].
level - the level to use.public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2022. All rights reserved.