Interface Network.ServiceAsync
-
- All Superinterfaces:
Maskable,ResultLimitable,ServiceAsync
- Enclosing class:
- Network
public static interface Network.ServiceAsync extends ServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<String>nsLookup(String address, String type)Async version ofNetwork.Service.nsLookup(java.lang.String, java.lang.String)Future<?>nsLookup(String address, String type, ResponseHandler<String> callback)voidsetMask(Network.Mask mask)Future<String>whois(String address)Async version ofNetwork.Service.whois(java.lang.String)Future<?>whois(String address, ResponseHandler<String> callback)Network.MaskwithMask()Use the existing mask on this service or create it if not presentNetwork.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
withNewMask
Network.Mask withNewMask()
Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Network.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Network.Mask mask)
-
nsLookup
Future<String> nsLookup(String address, String type)
Async version ofNetwork.Service.nsLookup(java.lang.String, java.lang.String)
-
nsLookup
Future<?> nsLookup(String address, String type, ResponseHandler<String> callback)
-
whois
Future<String> whois(String address)
Async version ofNetwork.Service.whois(java.lang.String)
-
whois
Future<?> whois(String address, ResponseHandler<String> callback)
-
-