public interface ISessionManager
StreamClients to the session| 修飾子とタイプ | メソッドと説明 |
|---|---|
StreamClient |
add(StreamClient c) |
StreamClient |
get(String uid)
Get a client by its UID
|
Set<Long> |
getActiveRoomIds()
Get a list of all rooms with users in the system.
|
Set<Long> |
getActiveRoomIds(String serverId)
Get a list of rooms with users on particular cluster node.
|
long |
getBroadcastingCount(Long roomId)
returns number of users sending A/V streams to server
|
long |
getPublishingCount(Long roomId)
returns a number of current users publishing screensharing
|
long |
getRecordingCount(Long roomId)
returns number of users performing recording
|
long |
getSharingCount(Long roomId)
returns a number of users performing screen-sharing
|
Collection<StreamClient> |
list()
loads the server into the client (only if database cache is used)
|
List<StreamClient> |
listByRoom(Long roomId)
Get all ClientList Objects of that room and domain This Function is
needed cause it is invoked internally AFTER the current user has been
already removed from the ClientList to see if the Room is empty again and
the PollList can be removed
|
boolean |
remove(String uid)
Remove a client from the session store
|
void |
update(IClient rcm)
Updates
StreamClient in the cache |
StreamClient add(StreamClient c)
Collection<StreamClient> list()
StreamClient get(String uid)
uid - void update(IClient rcm)
StreamClient in the cachercm - boolean remove(String uid)
uid - List<StreamClient> listByRoom(Long roomId)
roomId - long getRecordingCount(Long roomId)
roomId - long getPublishingCount(Long roomId)
roomId - long getSharingCount(Long roomId)
roomId - long getBroadcastingCount(Long roomId)
roomId - Set<Long> getActiveRoomIds()
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.