public class HangupEvent extends AbstractChannelEvent
It is implemented in channel.c
source| Constructor and Description |
|---|
HangupEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCause()
Returns the cause of the hangup.
|
String |
getCauseTxt()
Returns the textual representation of the hangup cause.
|
void |
setCause(Integer cause)
Sets the cause of the hangup.
|
void |
setCauseTxt(String causeTxt)
Sets the textual representation of the hangup cause.
|
getCallerId, getCallerIdName, getCallerIdNum, getChannel, getUniqueId, setCallerId, setCallerIdName, setCallerIdNum, setChannel, setUniqueIdappendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toStringgetSourcepublic HangupEvent(Object source)
public Integer getCause()
HangupCausepublic void setCause(Integer cause)
cause - the hangup cause.public String getCauseTxt()
public void setCauseTxt(String causeTxt)
causeTxt - the textual representation of the hangup cause.Copyright © 2004-2012 Stefan Reuter. All Rights Reserved.