public interface ConnectionValidationPolicyConfig extends ValidationPolicyConfig
ValidationPolicyConfig.Type
Modifier and Type | Method and Description |
---|---|
boolean |
isConnectionValid(InetSocketAddress remoteAddress,
Locale remoteLocale)
Check to see if a remote address and locale are valid for this policy.
|
boolean |
isRemoteAddressValid(String address)
Check to see if the specified IP address is valid for the this policy.
|
addAddress, addHostName, addLocale, addResolvedName, getAddresses, getHostNames, getLocales, getName, getResolvedNames, getType, hasHostNames, hasLocales, hasResolvedNames, isConnection, isSubscription, removeAddresses, removeHostNames, removeLocales, removeResolvedNames, setType, validate
boolean isConnectionValid(InetSocketAddress remoteAddress, Locale remoteLocale)
remoteAddress
- The address of the incoming connectionremoteLocale
- The locale of the incoming connection or null if
unknown.boolean isRemoteAddressValid(String address)
address
- the addressCopyright © 2022 Push Technology Ltd. All Rights Reserved.