de.novanic.eventservice.config
Interface EventServiceConfiguration

All Known Implementing Classes:
RemoteEventServiceConfiguration

public interface EventServiceConfiguration

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.

Author:
sstrohschein
Date: 09.08.2008
Time: 23:17:26

Method Summary
 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.
 

Method Detail

getConfigDescription

java.lang.String getConfigDescription()
Returns the description of the configuration (for example the location).

Returns:
configuration description

getMinWaitingTime

int getMinWaitingTime()
Returns the min waiting time. Listening should hold at least for min waiting time.

Returns:
min waiting time

getMaxWaitingTime

int getMaxWaitingTime()
Returns the max waiting time. Listening shouldn't hold longer than max waiting time.

Returns:
max waiting time

getTimeoutTime

int getTimeoutTime()
Returns the timeout time. The timeout time is the max time for a listen cycle. If the timeout time is exceeded, the client will be deregistered.

Returns:
timeout time