|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.AbstractAgentEvent
net.sf.asterisk.manager.event.AgentConnectEvent
public class AgentConnectEvent
An AgentConnectEvent is triggered when a caller is connected to an agent.
It is implemented in apps/app_queue.c.
Available since Asterisk 1.2
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AgentConnectEvent(java.lang.Object source)
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getHoldTime()
Returns the amount of time the caller was on hold. |
void |
setHoldTime(java.lang.Long holdtime)
Sets the amount of time the caller was on hold. |
| Methods inherited from class net.sf.asterisk.manager.event.AbstractAgentEvent |
|---|
getChannel, getMember, getQueue, getUniqueId, setChannel, setMember, setQueue, setUniqueId |
| Methods inherited from class net.sf.asterisk.manager.event.ManagerEvent |
|---|
getDateReceived, getPrivilege, setDateReceived, setPrivilege, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AgentConnectEvent(java.lang.Object source)
| Method Detail |
|---|
public java.lang.Long getHoldTime()
public void setHoldTime(java.lang.Long holdtime)
holdtime - the amount of time the caller was on hold in seconds.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||