Package de.uplanet.lucy.server.polling
Schnittstelle IPollingService
public interface IPollingService
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddEndpoint(String p_strKey, IPollingEndpoint p_endpoint) Add a new polling endpoint.getEndpoint(String p_strKey) Get the endpoint with the given key.booleanhasEndpoint(String p_strKey) Check if the service has a polling endpoint with the given key.removeEndpoint(String p_strKey) Get the endpoint with the given key.
-
Methodendetails
-
hasEndpoint
Check if the service has a polling endpoint with the given key.- Parameter:
p_strKey- The key.- Gibt zurück:
- @return
trueif the service has an endpoint with the given key, orfalseotherwise.
-
getEndpoint
Get the endpoint with the given key.- Parameter:
p_strKey- The key.- Gibt zurück:
- The polling endpoint, or
nullif the service does not have an endpoint with the given key.
-
addEndpoint
Add a new polling endpoint.- Parameter:
p_strKey- The key.p_endpoint- The polling endpoint.- Löst aus:
IllegalStateException- If the service already contains an endpoint with the given key.
-
removeEndpoint
Get the endpoint with the given key.- Parameter:
p_strKey- The key.- Gibt zurück:
- The removed polling endpoint, or
nullif the service does not have an endpoint with the given key.
-