Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ public void handleEvent(MeetMeTalkingEvent event) {
public void handleEvent(MeetMeTalkingRequestEvent event) {
}

public void handleEvent(MeetMeTalkRequestEvent event) {
}

public void handleEvent(MonitorStartEvent event) {
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package org.asteriskjava.manager.event;

/**
* A MeetMeTalkRequestEvent is triggered when a muted user requests talking in
* a MeetMe conference.
*/
public class MeetMeTalkRequestEvent extends AbstractMeetMeEvent {
private static final long serialVersionUID = 0L;

private Boolean status;
private Integer duration;

/**
* Constructs a MeetMeTalkRequestEvent.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
protected MeetMeTalkRequestEvent(Object source) {
super(source);
}

/**
* The length of time (in seconds) that the MeetMe user has been in the
* conference at the time of this event.
*
* @return the number of seconds this user has been in the conference.
*/
public Integer getDuration() {
return duration;
}

public void setDuration(Integer duration) {
this.duration = duration;
}

/**
* Returns whether the user has started or stopped requesting talking.
*
* @return {@code true} if the user has started requesting talking,
* {@code false} if the user has stopped requesting talking.
*/
public Boolean getStatus() {
return status;
}

public void setStatus(Boolean status) {
this.status = status;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* It is implemented in <code>apps/app_meetme.c</code><p>
* Available since Asterisk 1.6
*
* @deprecated You want {@link MeetMeTalkRequestEvent} instead.
*
* @author srt
* @version $Id$
* @since 1.0.0
Expand Down
Loading