Class SCNetworkReachability
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.systemconfiguration.SCNetworkReachability
- All Implemented Interfaces:
AutoCloseable
public class SCNetworkReachability extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSCNetworkReachability.ClientCallbackstatic classSCNetworkReachability.SCNetworkReachabilityPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedSCNetworkReachability()SCNetworkReachability(String nodename)SCNetworkReachability(InetSocketAddress address)SCNetworkReachability(InetSocketAddress localAddress, InetSocketAddress remoteAddress) -
Method Summary
Modifier and Type Method Description static longgetClassTypeID()SCNetworkReachabilityFlagsgetFlags()protected booleangetFlags(IntPtr flags)booleanschedule(CFRunLoop runLoop, CFString runLoopMode)booleansetCallback(SCNetworkReachability.ClientCallback callback)protected booleansetCallback(FunctionPtr callout, org.robovm.apple.systemconfiguration.SCNetworkReachabilityContext context)booleansetDispatchQueue(DispatchQueue queue)booleanunschedule(CFRunLoop runLoop, CFString runLoopMode)Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
SCNetworkReachability
protected SCNetworkReachability() -
SCNetworkReachability
- Since:
- Available in iOS 2.0 and later.
-
SCNetworkReachability
- Since:
- Available in iOS 2.0 and later.
-
SCNetworkReachability
- Since:
- Available in iOS 2.0 and later.
-
-
Method Details
-
getFlags
- Since:
- Available in iOS 2.0 and later.
-
setCallback
- Since:
- Available in iOS 2.0 and later.
-
getClassTypeID
public static long getClassTypeID() -
getFlags
-
setCallback
protected boolean setCallback(FunctionPtr callout, org.robovm.apple.systemconfiguration.SCNetworkReachabilityContext context) -
schedule
-
unschedule
-
setDispatchQueue
-