Class ContextInfo
java.lang.Object
org.exoplatform.webconferencing.ContextInfo
A lightweight info about current Platform context: space, chat room etc.
Created by The eXo Platform SAS
- Version:
- $Id: SpaceContextInfo.java 00000 Mar 30, 2017 pnedonosko $
- Author:
- Peter Nedonosko
-
Constructor Summary
ConstructorsConstructorDescriptionContextInfo(String containerName, String spaceId, String roomTitle, String cometdPath, String cometdToken, Set<CallProviderConfiguration> providersConfig) Instantiates a new context info.ContextInfo(String containerName, String spaceId, String roomTitle, Set<CallProviderConfiguration> providersConfig) Instantiates a new context info. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessages(Map<String, String> localeResources) Adds the localized messages.Gets the cometd path (optional).Gets the cometd token.Gets the container name.longGets how long, in seconds, a started call alerts its participants.Gets the localized messages.Gets the providers config.Gets the room title.Gets the space id.voidsetIncomingCallTimeout(long incomingCallTimeout) Sets how long, in seconds, a started call alerts its participants.
-
Constructor Details
-
ContextInfo
public ContextInfo(String containerName, String spaceId, String roomTitle, String cometdPath, String cometdToken, Set<CallProviderConfiguration> providersConfig) Instantiates a new context info.- Parameters:
containerName- the container namespaceId- the space idroomTitle- the room namecometdPath- the cometd pathcometdToken- the cometd tokenprovidersConfig- the providers config
-
ContextInfo
public ContextInfo(String containerName, String spaceId, String roomTitle, Set<CallProviderConfiguration> providersConfig) Instantiates a new context info.- Parameters:
containerName- the container namespaceId- the space idroomTitle- the room nameprovidersConfig- the providers config
-
-
Method Details
-
getContainerName
-
getCometdPath
Gets the cometd path (optional).- Returns:
- the cometd path, can be
null
-
getCometdToken
-
getSpaceId
-
getRoomTitle
-
getIncomingCallTimeout
public long getIncomingCallTimeout()Gets how long, in seconds, a started call alerts its participants.- Returns:
- the incoming call timeout in seconds
-
setIncomingCallTimeout
public void setIncomingCallTimeout(long incomingCallTimeout) Sets how long, in seconds, a started call alerts its participants.- Parameters:
incomingCallTimeout- the incoming call timeout in seconds
-
getProvidersConfig
Gets the providers config.- Returns:
- the providers config
-
getMessages
-
addMessages
-