Class Client
java.lang.Object
org.apache.openmeetings.db.entity.basic.Client
- All Implemented Interfaces:
Serializable,IWsClient,IDataProviderEntity
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStream(Client.StreamType stype, Client.Activity toggle) voidallow(Iterable<Room.Right> inRights) allow(Room.Right... inRights) voidclear()voiddeny(Room.Right... inRights) booleanintgetCam()intgetId()intgetMic()intgetRoom()getSid()getUid()getUser()intgetWidth()booleanhas(Client.Activity activity) inthashCode()booleanhasRight(Room.Right right) booleanbooleanbooleanbooleanbooleanisSip()voidremoveStream(String inUid) booleansameUserId(Long userId) setCam(int cam) setHeight(int height) voidsetMic(int mic) setRemoteAddress(String remoteAddress) voidsetServerId(String serverId) setWidth(int width) com.github.openjson.JSONObjecttoJson(boolean self) toString()updateUser(UserDao dao)
-
Constructor Details
-
Client
-
-
Method Details
-
getSessionId
- Specified by:
getSessionIdin 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:
getIdin interfaceIDataProviderEntity
-
setId
- Specified by:
setIdin 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
-