|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.novanic.eventservice.config.RemoteEventServiceConfiguration
public class RemoteEventServiceConfiguration
An EventServiceConfiguration holds the configuration for EventService.
The time for a timeout and the min- and max-waiting-time can be configured.
- Min waiting time - Listening should hold at least for min waiting time.
- Max waiting time - Listening shouldn't hold longer than max waiting time.
- Timeout time - Max time for a listen cycle. If the timeout time is exceeded, the client will be deregistered.
| Constructor Summary | |
|---|---|
RemoteEventServiceConfiguration(java.lang.String aConfigDescription,
int aMinWaitingTime,
int aMaxWaitingTime,
int aTimeoutTime)
Creates a new RemoteEventServiceConfiguration. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object anObject)
|
java.lang.String |
getConfigDescription()
Returns the description of the configuration (for example the location). |
int |
getMaxWaitingTime()
Returns the max waiting time. |
int |
getMinWaitingTime()
Returns the min waiting time. |
int |
getTimeoutTime()
Returns the timeout time (max time for a listen cycle). |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteEventServiceConfiguration(java.lang.String aConfigDescription,
int aMinWaitingTime,
int aMaxWaitingTime,
int aTimeoutTime)
aConfigDescription - description of the configuration (for example the location)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)| Method Detail |
|---|
public java.lang.String getConfigDescription()
getConfigDescription in interface EventServiceConfigurationpublic int getMinWaitingTime()
getMinWaitingTime in interface EventServiceConfigurationpublic int getMaxWaitingTime()
getMaxWaitingTime in interface EventServiceConfigurationpublic int getTimeoutTime()
getTimeoutTime in interface EventServiceConfigurationpublic boolean equals(java.lang.Object anObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||