public interface EventServiceConfiguration
EventService
.
The time for a timeout and the min- and max-waiting-time can be configured.
Modifier and Type | Method and Description |
---|---|
String |
getConfigDescription()
Returns the description of the configuration (for example the location).
|
Map<ConfigParameter,Object> |
getConfigMap()
Returns the configurations as a
Map with ConfigParameter
instances as the key. |
String |
getConnectionIdGeneratorClassName()
Returns the class name of the configured
ConnectionIdGenerator . |
String |
getConnectionStrategyClientConnectorClassName()
Returns the class name of the configured connection strategy (client side part).
|
String |
getConnectionStrategyEncoding()
Returns the configured encoding / charset for the connection strategy.
|
String |
getConnectionStrategyServerConnectorClassName()
Returns the class name of the configured connection strategy (server side part).
|
Integer |
getMaxEvents()
Returns the configured maximum amount of events which should be transferred to the client at once.
|
Integer |
getMaxWaitingTime()
Returns the max waiting time.
|
Integer |
getMinWaitingTime()
Returns the min waiting time.
|
Integer |
getReconnectAttemptCount()
Returns the number of reconnect attempts to execute.
|
Integer |
getTimeoutTime()
Returns the timeout time.
|
String getConfigDescription()
Integer getMinWaitingTime()
ConfigParameter.MIN_WAITING_TIME_TAG
Integer getMaxWaitingTime()
ConfigParameter.MAX_WAITING_TIME_TAG
Integer getTimeoutTime()
ConfigParameter.TIMEOUT_TIME_TAG
Integer getReconnectAttemptCount()
ConfigParameter.RECONNECT_ATTEMPT_COUNT_TAG
String getConnectionIdGeneratorClassName()
ConnectionIdGenerator
.
The ConnectionIdGenerator
generates unique ids to identify the clients.ConnectionIdGenerator
ConfigParameter.CONNECTION_ID_GENERATOR
String getConnectionStrategyClientConnectorClassName()
ConfigParameter.CONNECTION_STRATEGY_CLIENT_CONNECTOR
String getConnectionStrategyServerConnectorClassName()
ConfigParameter.CONNECTION_STRATEGY_SERVER_CONNECTOR
String getConnectionStrategyEncoding()
Integer getMaxEvents()
Map<ConfigParameter,Object> getConfigMap()
Map
with ConfigParameter
instances as the key.Map
with the configurations with ConfigParameter
instances as the keyCopyright © 2012. All Rights Reserved.