Asterisk-Java

org.asteriskjava.manager.event
Class MeetMeLeaveEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.asteriskjava.manager.event.ManagerEvent
          extended by org.asteriskjava.manager.event.AbstractMeetMeEvent
              extended by org.asteriskjava.manager.event.MeetMeLeaveEvent
All Implemented Interfaces:
java.io.Serializable

public class MeetMeLeaveEvent
extends AbstractMeetMeEvent

A MeetMeLeaveEvent is triggered if a channel leaves a MeetMe conference.

Channel and unqiueId properties for this event are available since Asterisk 1.0.

It is implemented in apps/app_meetme.c

Version:
$Id: MeetMeLeaveEvent.java 1050 2008-05-19 14:59:04Z srt $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MeetMeLeaveEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getCallerIdName()
          Returns the Caller*ID Name of the channel that left the conference.
 java.lang.String getCallerIdNum()
          Returns the Caller*ID Number of the channel that left the conference.
 java.lang.Long getDuration()
          Returns how long the user spent in the conference.
 void setCallerIdName(java.lang.String callerIdName)
          Sets the Caller*ID Name of the channel that left the conference.
 void setCallerIdNum(java.lang.String callerIdNum)
          Sets the Caller*ID Number of the channel that left the conference.
 void setDuration(java.lang.Long duration)
          Sets how long the user spent in the conference.
 
Methods inherited from class org.asteriskjava.manager.event.AbstractMeetMeEvent
getChannel, getMeetMe, getUniqueId, getUserNum, setChannel, setMeetMe, setUniqueId, setUserNum
 
Methods inherited from class org.asteriskjava.manager.event.ManagerEvent
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, 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

MeetMeLeaveEvent

public MeetMeLeaveEvent(java.lang.Object source)
Parameters:
source -
Method Detail

getCallerIdName

public java.lang.String getCallerIdName()
Returns the Caller*ID Name of the channel that left the conference.

This property is available since Asterisk 1.4.

Returns:
the Caller*ID Name of the channel that left the conference.

setCallerIdName

public void setCallerIdName(java.lang.String callerIdName)
Sets the Caller*ID Name of the channel that left the conference.

Parameters:
callerIdName - the Caller*ID Name of the channel that left the conference.

getCallerIdNum

public java.lang.String getCallerIdNum()
Returns the Caller*ID Number of the channel that left the conference.

This property is available since Asterisk 1.4.

Returns:
the Caller*ID Number of the channel that left the conference.

setCallerIdNum

public void setCallerIdNum(java.lang.String callerIdNum)
Sets the Caller*ID Number of the channel that left the conference.

Parameters:
callerIdNum - the Caller*ID Number of the channel that left the conference.

getDuration

public java.lang.Long getDuration()
Returns how long the user spent in the conference.

This property is available since Asterisk 1.4.

Returns:
the duration in seconds the user spent in the conference.

setDuration

public void setDuration(java.lang.Long duration)
Sets how long the user spent in the conference.

Parameters:
duration - the duration in seconds the user spent in the conference.

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.