Interface ConnectionValidationPolicyConfig
- All Superinterfaces:
- Config,- ValidationPolicyConfig
Connection Validation Policy Configuration.
- Since:
- 4.4
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.pushtechnology.diffusion.api.config.ValidationPolicyConfigValidationPolicyConfig.Type
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisConnectionValid(InetSocketAddress remoteAddress, Locale remoteLocale) Check to see if a remote address and locale are valid for this policy.booleanisRemoteAddressValid(String address) Check to see if the specified IP address is valid for the this policy.Methods inherited from interface com.pushtechnology.diffusion.api.config.ValidationPolicyConfigaddAddress, addHostName, addLocale, addResolvedName, getAddresses, getHostNames, getLocales, getName, getResolvedNames, getType, hasHostNames, hasLocales, hasResolvedNames, removeAddresses, removeHostNames, removeLocales, removeResolvedNames, setType, validate
- 
Method Details- 
isConnectionValidCheck to see if a remote address and locale are valid for this policy.- Parameters:
- remoteAddress- The address of the incoming connection
- remoteLocale- The locale of the incoming connection or null if unknown.
- Returns:
- true if the connection is valid, else false
 
- 
isRemoteAddressValidCheck to see if the specified IP address is valid for the this policy.- Parameters:
- address- the address
- Returns:
- true if valid, or false
 
 
-