|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.QueueLogAction
public class QueueLogAction
The QueueLogAction adds a custom log entry to the queue_log.
It is implemented in apps/app_queue.c
Available since Asterisk 1.6.
| Constructor Summary | |
|---|---|
QueueLogAction()
Creates a new empty QueueLogAction. |
|
QueueLogAction(java.lang.String queue,
java.lang.String event)
Creates a new QueueLogAction with the mandatory properties queue and event. |
|
QueueLogAction(java.lang.String queue,
java.lang.String event,
java.lang.String message,
java.lang.String iface,
java.lang.String uniqueId)
Creates a new QueueLogAction with the mandatory properties queue and event. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getEvent()
Returns the event to log. |
java.lang.String |
getInterface()
Returns the interface of the member to log the event for. |
java.lang.String |
getMessage()
Returns the message to log. |
java.lang.String |
getQueue()
Returns the name of the queue to log the event for. |
java.lang.String |
getUniqueId()
Returns the unique id of the channel to log the event for. |
void |
setEvent(java.lang.String event)
Sets the event to log. |
void |
setInterface(java.lang.String iface)
Sets the interface of the member to log the event for. |
void |
setMessage(java.lang.String message)
Sets the message to log. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue to log the event for. |
void |
setUniqueId(java.lang.String uniqueId)
Sets the unique id of the channel to log the event for. |
| Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction |
|---|
getActionId, setActionId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueueLogAction()
public QueueLogAction(java.lang.String queue,
java.lang.String event)
queue - the name of the queue to log the event for.event - the event to log.
public QueueLogAction(java.lang.String queue,
java.lang.String event,
java.lang.String message,
java.lang.String iface,
java.lang.String uniqueId)
queue - the name of the queue to log the event for.event - the event to log.message - the message to log, may be null.iface - the interface of the member to log the event for, may be null.uniqueId - the unique id of the channel to log the event for, may be null.| Method Detail |
|---|
public java.lang.String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic java.lang.String getInterface()
public void setInterface(java.lang.String iface)
iface - the interface of the member to log the event for.public java.lang.String getQueue()
public void setQueue(java.lang.String queue)
This property is mandatory.
queue - the name of the queue to log the event for.public java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
uniqueId - the unique id of the channel to log the event for.public java.lang.String getEvent()
public void setEvent(java.lang.String event)
This property is mandatory.
event - the event to log.public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - the message to log.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||