Asterisk-Java

org.asteriskjava.manager.event
Class AbstractMeetMeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.asteriskjava.manager.event.ManagerEvent
          extended by org.asteriskjava.manager.event.AbstractMeetMeEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MeetMeJoinEvent, MeetMeLeaveEvent, MeetMeMuteEvent, MeetMeTalkingEvent, MeetMeTalkingRequestEvent

public abstract class AbstractMeetMeEvent
extends ManagerEvent

Abstract base class providing common properties for MeetMe (Asterisk's conference system) events.

MeetMe events are implemented in apps/app_meetme.c

Version:
$Id: AbstractMeetMeEvent.java 1057 2008-05-20 00:56:28Z srt $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected AbstractMeetMeEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getChannel()
          Returns the name of the channel.
 java.lang.String getMeetMe()
          Returns the conference number.
 java.lang.String getUniqueId()
          Returns the unique id of the channel.
 java.lang.Integer getUserNum()
          Returns the index of the user in the conference.
 void setChannel(java.lang.String channel)
          Sets the name of the channel.
 void setMeetMe(java.lang.String meetMe)
          Sets the conference number.
 void setUniqueId(java.lang.String uniqueId)
          Sets the unique id of the channel.
 void setUserNum(java.lang.Integer userNum)
          Sets the index of the user in the conference.
 
Methods inherited from class org.asteriskjava.manager.event.ManagerEvent
getDateReceived, getPrivilege, getServer, getTimestamp, setDateReceived, setPrivilege, 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

AbstractMeetMeEvent

protected AbstractMeetMeEvent(java.lang.Object source)
Parameters:
source -
Method Detail

getChannel

public java.lang.String getChannel()
Returns the name of the channel.

This property is available since Asterisk 1.4.

Returns:
the name of the channel.

setChannel

public void setChannel(java.lang.String channel)
Sets the name of the channel.

This property is available since Asterisk 1.4.

Parameters:
channel - the name of the channel.

getUniqueId

public java.lang.String getUniqueId()
Returns the unique id of the channel.

This property is available since Asterisk 1.4.

Returns:
the unique id of the channel.

setUniqueId

public void setUniqueId(java.lang.String uniqueId)
Sets the unique id of the channel.

This property is available since Asterisk 1.4.

Parameters:
uniqueId - the unique id of the channel.

getMeetMe

public java.lang.String getMeetMe()
Returns the conference number.

Returns:
the conference number.

setMeetMe

public void setMeetMe(java.lang.String meetMe)
Sets the conference number.

Parameters:
meetMe - the conference number.

getUserNum

public java.lang.Integer getUserNum()
Returns the index of the user in the conference.

This can be used for the "meetme (mute|unmute|kick)" commands.

Returns:
the index of the user in the conference.

setUserNum

public void setUserNum(java.lang.Integer userNum)
Sets the index of the user in the conference.

Parameters:
userNum - the index of the user in the conference.

Asterisk-Java

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