Package | Description |
---|---|
org.apache.openmeetings.db.dao.room | |
org.apache.openmeetings.db.dao.server | |
org.apache.openmeetings.db.dto.server | |
org.apache.openmeetings.db.entity.room |
Modifier and Type | Method and Description |
---|---|
void |
ClientDao.cleanClientsByServer(Server server) |
int |
ClientDao.countClientsByServer(Server server) |
long |
ClientDao.countClientsByServerAndStreamId(Server server,
String streamId) |
Client |
ClientDao.getClientByServerAndStreamId(Server server,
String streamId)
Query.getSingleResult would throw an error if result is null,
see: http://stackoverflow.com/questions/2002993/jpa-getsingleresult-or-null
|
List<Client> |
ClientDao.getClientsByPublicSIDAndServer(Server server,
String publicSID) |
List<Client> |
ClientDao.getClientsByServer(Server server) |
List<Client> |
ClientDao.getClientsByUserId(Server server,
Long userId) |
List<Long> |
ClientDao.getRoomsIdsByServer(Server server)
returns a list of servers or an empty list in case no roomIds are found
|
void |
ClientDao.removeClientByServerAndStreamId(Server server,
String streamId) |
Modifier and Type | Method and Description |
---|---|
Server |
ServerDao.get(Long id) |
Server |
ServerDao.getServerByAddress(String address)
Get server by its address
|
Server |
ServerDao.update(Server entity,
Long userId) |
Modifier and Type | Method and Description |
---|---|
List<Server> |
ServerDao.get(int start,
int max) |
List<Server> |
ServerDao.get(String search,
int start,
int count,
String order) |
List<Server> |
ServerDao.getActiveServers()
get the list of all servers in the cluster that are ready to receive a
ping (active = true)
|
List<Server> |
ServerDao.getServerList()
Get a list of all available servers
|
List<Server> |
ServerDao.getServersByName(String name)
get
Server by name |
Modifier and Type | Method and Description |
---|---|
Client |
ISessionManager.addClientListItem(String streamId,
String scopeName,
Integer remotePort,
String remoteAddress,
String swfUrl,
Server server)
add a new client item
|
void |
ServerDao.delete(Server entity,
Long userId) |
List<Long> |
ISessionManager.getActiveRoomIdsByServer(Server server)
Get a list of all servers of all rooms on that server, serverId = null
means it is a local session on the master.
|
Client |
ISessionManager.getClientByPublicSID(String publicSID,
Server server)
get a client by its publicSID and the server,
|
Client |
ISessionManager.getClientByStreamId(String streamId,
Server server)
Get a client by its streamId
|
boolean |
ISessionManager.removeClient(String streamId,
Server server)
Remove a client from the session store
|
Server |
ServerDao.update(Server entity,
Long userId) |
boolean |
ISessionManager.updateAVClientByStreamId(String streamId,
Client rcm,
Server server)
Update the session object of the audio/video-connection and additionally
swap the values to the session object of the user that holds the full
session object
|
boolean |
ISessionManager.updateClientByStreamId(String streamId,
Client rcm,
boolean updateRoomCount,
Server server)
Update the session object
updateRoomCount is only one time true, in
ScopeApplicationAdapter#setRoomValues(Long, Boolean, Boolean, String)
.
|
Modifier and Type | Method and Description |
---|---|
Server |
ServerDTO.get() |
Modifier and Type | Method and Description |
---|---|
static List<ServerDTO> |
ServerDTO.list(List<Server> l) |
Constructor and Description |
---|
ServerDTO(Server s) |
Modifier and Type | Method and Description |
---|---|
Server |
Client.getServer() |
Modifier and Type | Method and Description |
---|---|
void |
Client.setServer(Server server) |
Copyright © 2012–2016 Apache Software Foundation. All rights reserved.