Skip to content

Commit

Permalink
- add externUserID to participant
Browse files Browse the repository at this point in the history
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@4326 af16638f-c34d-0410-8cfa-b39d5352b314
  • Loading branch information
ritzalam committed May 14, 2010
1 parent ef93c3e commit d426fbb
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@ import java.lang.Long
private final Long userid
private final String name
private final String role = "VIEWER"
private final String externUserID

private final Map status
private final Map<String, Object> unmodifiableStatus

public Participant(Long userid, String name, String role, Map<String, Object> status) {
public Participant(Long userid, String name, String role, String externUserID, Map<String, Object> status) {
this.userid = userid
this.name = name
this.role = role
this.externUserID = externUserID
this.status = new ConcurrentHashMap<String, Object>(status)
unmodifiableStatus = Collections.unmodifiableMap(status)
}
Expand All @@ -56,6 +59,10 @@ import java.lang.Long
return role
}

public String getExternUserID() {
return externUserID
}

/**
* Returns that status for this participant. However, the status cannot
* be modified. To do that, setStatus(...) must be used.
Expand Down

0 comments on commit d426fbb

Please sign in to comment.