Class Client
java.lang.Object
org.apache.openmeetings.db.entity.basic.Client
- All Implemented Interfaces:
Serializable
,IWsClient
,IDataProviderEntity
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddStream
(Client.StreamType stype, Client.Activity toggle) void
allow
(Iterable<Room.Right> inRights) allow
(Room.Right... inRights) void
clear()
void
deny
(Room.Right... inRights) boolean
int
getCam()
int
getId()
int
getMic()
int
getRoom()
getSid()
getUid()
getUser()
int
getWidth()
boolean
has
(Client.Activity activity) int
hashCode()
boolean
hasRight
(Room.Right right) boolean
boolean
boolean
boolean
boolean
isSip()
void
removeStream
(String inUid) boolean
sameUserId
(Long userId) setCam
(int cam) setHeight
(int height) void
setMic
(int mic) setRemoteAddress
(String remoteAddress) void
setServerId
(String serverId) setWidth
(int width) com.github.openjson.JSONObject
toJson
(boolean self) toString()
updateUser
(UserDao dao)
-
Constructor Details
-
Client
-
-
Method Details
-
getSessionId
- Specified by:
getSessionId
in interfaceIWsClient
-
getPageId
public int getPageId() -
getUser
-
updateUser
-
getUserId
-
sameUserId
-
getPictureUri
-
getUid
-
getSid
-
isSip
public boolean isSip() -
clear
public void clear() -
hasRight
-
allow
-
allow
-
deny
-
isBroadcasting
public boolean isBroadcasting() -
getActivities
-
has
-
isAllowed
-
addStream
-
removeStream
-
getStreams
-
getStream
-
getScreenStream
-
getCamStreams
-
getConnectedSince
-
getId
- Specified by:
getId
in interfaceIDataProviderEntity
-
setId
- Specified by:
setId
in interfaceIDataProviderEntity
-
getRoom
-
getRoomId
-
setRoom
-
isCamEnabled
public boolean isCamEnabled() -
getCam
public int getCam() -
setCam
-
isMicEnabled
public boolean isMicEnabled() -
getMic
public int getMic() -
setMic
-
getWidth
public int getWidth() -
setWidth
-
getHeight
public int getHeight() -
setHeight
-
getRemoteAddress
-
setRemoteAddress
-
getServerId
-
setServerId
-
toJson
public com.github.openjson.JSONObject toJson(boolean self) -
merge
-
hashCode
public int hashCode() -
equals
-
toString
-