public class RemoteEventServiceConfigurationTransferable extends Object implements EventServiceConfigurationTransferable
EventServiceConfigurationTransferable
holds the configuration options for
EventService
which could be usable by the client side.
The whole covered configuration for EventService
is only available
to the server side and isn't transferable / serializable.Constructor and Description |
---|
RemoteEventServiceConfigurationTransferable()
This constructor is only required for serialization.
|
RemoteEventServiceConfigurationTransferable(int aMinWaitingTime,
int aMaxWaitingTime,
int aTimeoutTime,
int aReconnectAttemptCount,
String aConnectionId,
String aConnectionStrategyClientConnector)
Creates a new RemoteEventServiceConfigurationTransferable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object anObject) |
String |
getConnectionId()
Returns the connection / client id.
|
String |
getConnectionStrategyClientConnector()
Returns the class name of the configured connection strategy (client side part).
|
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.
|
int |
hashCode() |
public RemoteEventServiceConfigurationTransferable()
public RemoteEventServiceConfigurationTransferable(int aMinWaitingTime, int aMaxWaitingTime, int aTimeoutTime, int aReconnectAttemptCount, String aConnectionId, String aConnectionStrategyClientConnector)
aMinWaitingTime
- min waiting time before listen returns (in milliseconds)aMaxWaitingTime
- max waiting time before listen returns, when no events recognized (in milliseconds)aTimeoutTime
- timeout time for a listen cycle (in milliseconds)aReconnectAttemptCount
- number of reconnect attempts to executeaConnectionId
- unique id to identify the clientaConnectionStrategyClientConnector
- class name of the configured connection strategy (client side part)public Integer getMinWaitingTime()
getMinWaitingTime
in interface EventServiceConfigurationTransferable
public Integer getMaxWaitingTime()
getMaxWaitingTime
in interface EventServiceConfigurationTransferable
public Integer getTimeoutTime()
getTimeoutTime
in interface EventServiceConfigurationTransferable
public Integer getReconnectAttemptCount()
getReconnectAttemptCount
in interface EventServiceConfigurationTransferable
public String getConnectionId()
getConnectionId
in interface EventServiceConfigurationTransferable
public String getConnectionStrategyClientConnector()
getConnectionStrategyClientConnector
in interface EventServiceConfigurationTransferable
Copyright © 2012. All Rights Reserved.