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 EventServiceConfigurationTransferablepublic Integer getMaxWaitingTime()
getMaxWaitingTime in interface EventServiceConfigurationTransferablepublic Integer getTimeoutTime()
getTimeoutTime in interface EventServiceConfigurationTransferablepublic Integer getReconnectAttemptCount()
getReconnectAttemptCount in interface EventServiceConfigurationTransferablepublic String getConnectionId()
getConnectionId in interface EventServiceConfigurationTransferablepublic String getConnectionStrategyClientConnector()
getConnectionStrategyClientConnector in interface EventServiceConfigurationTransferableCopyright © 2012. All Rights Reserved.