forked from bigbluebutton/bigbluebutton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now just need to add more information to it git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@3796 af16638f-c34d-0410-8cfa-b39d5352b314
- Loading branch information
1 parent
bdb9832
commit 500604e
Showing
8 changed files
with
106 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
...-apps/src/main/groovy/org/bigbluebutton/conference/ParticipantUpdatingRoomListener.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* BigBlueButton - http://www.bigbluebutton.org | ||
* | ||
* Copyright (c) 2008-2009 by respective authors (see below). All rights reserved. | ||
* | ||
* BigBlueButton is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 3 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* $Id: $ | ||
*/ | ||
|
||
package org.bigbluebutton.conference | ||
|
||
public class ParticipantUpdatingRoomListener implements IRoomListener{ | ||
|
||
private IConferenceEventListener conferenceEventListener; | ||
private Room room; | ||
|
||
public ParticipantUpdatingRoomListener(IConferenceEventListener lstnr, Room room) { | ||
this.conferenceEventListener = lstnr; | ||
this.room = room; | ||
} | ||
|
||
def getName() { | ||
return 'TEMPNAME' | ||
} | ||
|
||
public void participantStatusChange(Long userid, String status, Object value){ | ||
if (conferenceEventListener != null) { | ||
conferenceEventListener.participantsUpdated(room); | ||
} | ||
} | ||
|
||
public void participantJoined(Participant p) { | ||
if (conferenceEventListener != null) { | ||
conferenceEventListener.participantsUpdated(room); | ||
} | ||
} | ||
|
||
public void participantLeft(Long userid) { | ||
if (conferenceEventListener != null) { | ||
conferenceEventListener.participantsUpdated(room); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters