Package org.robovm.apple.coreservices
Class CFNetServiceMonitor
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coreservices.CFNetServiceMonitor
- All Implemented Interfaces:
AutoCloseable
public class CFNetServiceMonitor extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFNetServiceMonitor.CFNetServiceMonitorPtrstatic interfaceCFNetServiceMonitor.ClientCallbackNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFNetServiceMonitor() -
Method Summary
Modifier and Type Method Description static CFNetServiceMonitorcreate(CFNetService theService, CFNetServiceMonitor.ClientCallback clientCB)static longgetClassTypeID()Deprecated.Use nw_browser_t or nw_listener_t in Network framework insteadvoidinvalidate()Deprecated.Use nw_browser_t or nw_listener_t in Network framework insteadvoidscheduleInRunLoop(CFRunLoop runLoop, String runLoopMode)Deprecated.Use nw_browser_t or nw_listener_t in Network framework insteadvoidscheduleInRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)booleanstart(CFNetServiceMonitorType recordType)Deprecated.Use nw_browser_t or nw_listener_t in Network framework insteadvoidstop()Deprecated.Use nw_browser_t or nw_listener_t in Network framework insteadvoidunscheduleFromRunLoop(CFRunLoop runLoop, String runLoopMode)Deprecated.Use nw_browser_t or nw_listener_t in Network framework insteadvoidunscheduleFromRunLoop(CFRunLoop runLoop, CFRunLoopMode 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
-
CFNetServiceMonitor
protected CFNetServiceMonitor()
-
-
Method Details
-
create
public static CFNetServiceMonitor create(CFNetService theService, CFNetServiceMonitor.ClientCallback clientCB)- Since:
- Available in iOS 2.0 and later.
-
scheduleInRunLoop
- Since:
- Available in iOS 2.0 and later.
-
unscheduleFromRunLoop
- Since:
- Available in iOS 2.0 and later.
-
getClassTypeID
Deprecated.Use nw_browser_t or nw_listener_t in Network framework instead -
invalidate
Deprecated.Use nw_browser_t or nw_listener_t in Network framework instead -
start
Deprecated.Use nw_browser_t or nw_listener_t in Network framework instead- Throws:
CFStreamErrorException
-
stop
Deprecated.Use nw_browser_t or nw_listener_t in Network framework instead- Throws:
CFStreamErrorException
-
scheduleInRunLoop
Deprecated.Use nw_browser_t or nw_listener_t in Network framework instead -
unscheduleFromRunLoop
Deprecated.Use nw_browser_t or nw_listener_t in Network framework instead
-