Package org.bigbluebutton.api.domain

Examples of org.bigbluebutton.api.domain.UserSession


    return sessions.get(token);
  }
 
  public UserSession removeUserSession(String token) {
    log.debug("Removing user token [" + token + "]");
    UserSession user = sessions.remove(token);
    if (user != null) {
      log.debug("Found user [" + user.fullname + "] token=[" + token + "] to meeting [" + user.meetingID + "]");
    }
    return user;
  }
View Full Code Here


  private void removeUserSessions(String meetingId) {
    log.debug("Cleaning up user sessions for meeting [" + meetingId + "]");
    Iterator<Map.Entry<String, UserSession>> iterator = sessions.entrySet().iterator();
    while(iterator.hasNext()){
       Map.Entry<String, UserSession> entry = iterator.next();      
       UserSession userSession = entry.getValue();
       log.debug("Got user [" + userSession.fullname + "] from meeting [" + userSession.conferencename + "]");
       if (userSession.meetingID.equals(meetingId)) {
         log.debug("Removing user [" + userSession.fullname + "] from meeting [" + userSession.conferencename + "]");
         iterator.remove();
       } else {
View Full Code Here

TOP

Related Classes of org.bigbluebutton.api.domain.UserSession

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.