Package de.xima.fc.server.config.impl
Class UserPresenceConfigImpl
- java.lang.Object
-
- de.xima.fc.server.config.impl.UserPresenceConfigImpl
-
- All Implemented Interfaces:
UserPresenceConfig
public class UserPresenceConfigImpl extends Object implements UserPresenceConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserPresenceConfigImplgetInstance()intgetMaxPresenceBarWsConnections()intgetMaxPresenceViewSubscriptions()longgetPresenceBarPingIntervalSeconds()longgetPresenceBarPingSchedulerIntervalSeconds()longgetPresenceBarPongTimeoutSeconds()longgetPresenceTimeToIdleSeconds()StringgetTrackingStrategy()booleanisForceAnonymous()booleanisFormRecordPresenceReadFrqSession()booleanisNotificationHistoryEnabled()
-
-
-
Method Detail
-
getInstance
public static UserPresenceConfigImpl getInstance()
-
getPresenceTimeToIdleSeconds
public long getPresenceTimeToIdleSeconds()
- Specified by:
getPresenceTimeToIdleSecondsin interfaceUserPresenceConfig- Returns:
- The number of seconds after which a user is considered idle if no heartbeat is received.
-
isForceAnonymous
public boolean isForceAnonymous()
- Specified by:
isForceAnonymousin interfaceUserPresenceConfig- Returns:
- Whether to force all users to be treated as anonymous.
-
isFormRecordPresenceReadFrqSession
public boolean isFormRecordPresenceReadFrqSession()
- Specified by:
isFormRecordPresenceReadFrqSessionin interfaceUserPresenceConfig- Returns:
- Whether to read the form record presence from the FRQ session.
-
isNotificationHistoryEnabled
public boolean isNotificationHistoryEnabled()
- Specified by:
isNotificationHistoryEnabledin interfaceUserPresenceConfig- Returns:
- Whether notification history is enabled.
-
getMaxPresenceViewSubscriptions
public int getMaxPresenceViewSubscriptions()
- Specified by:
getMaxPresenceViewSubscriptionsin interfaceUserPresenceConfig- Returns:
- The maximum number of presence view subscriptions.
-
getTrackingStrategy
public String getTrackingStrategy()
- Specified by:
getTrackingStrategyin interfaceUserPresenceConfig- Returns:
- The tracking strategy.
-
getMaxPresenceBarWsConnections
public int getMaxPresenceBarWsConnections()
- Specified by:
getMaxPresenceBarWsConnectionsin interfaceUserPresenceConfig- Returns:
- The maximum number of presence bar WebSocket connections.
-
getPresenceBarPingIntervalSeconds
public long getPresenceBarPingIntervalSeconds()
- Specified by:
getPresenceBarPingIntervalSecondsin interfaceUserPresenceConfig- Returns:
- The interval in seconds between presence bar ping messages.
-
getPresenceBarPongTimeoutSeconds
public long getPresenceBarPongTimeoutSeconds()
- Specified by:
getPresenceBarPongTimeoutSecondsin interfaceUserPresenceConfig- Returns:
- The timeout in seconds for presence bar pong messages.
-
getPresenceBarPingSchedulerIntervalSeconds
public long getPresenceBarPingSchedulerIntervalSeconds()
- Specified by:
getPresenceBarPingSchedulerIntervalSecondsin interfaceUserPresenceConfig- Returns:
- The interval in seconds for the presence bar ping scheduler.
-
-