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:
java.lang.AutoCloseable
public class CFNetServiceMonitor extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFNetServiceMonitor.CFNetServiceMonitorPtr
static interface
CFNetServiceMonitor.ClientCallback
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFNetServiceMonitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CFNetServiceMonitor
create(CFNetService theService, CFNetServiceMonitor.ClientCallback clientCB)
static long
getClassTypeID()
void
invalidate()
void
scheduleInRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
void
scheduleInRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)
boolean
start(CFNetServiceMonitorType recordType)
void
stop()
void
unscheduleFromRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
void
unscheduleFromRunLoop(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
-
-
-
-
Method Detail
-
create
public static CFNetServiceMonitor create(CFNetService theService, CFNetServiceMonitor.ClientCallback clientCB)
- Since:
- Available in iOS 2.0 and later.
-
scheduleInRunLoop
public void scheduleInRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
unscheduleFromRunLoop
public void unscheduleFromRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 2.0 and later.
-
invalidate
public void invalidate()
- Since:
- Available in iOS 2.0 and later.
-
start
public boolean start(CFNetServiceMonitorType recordType) throws CFStreamErrorException
- Throws:
CFStreamErrorException
- Since:
- Available in iOS 2.0 and later.
-
stop
public void stop() throws CFStreamErrorException
- Throws:
CFStreamErrorException
- Since:
- Available in iOS 2.0 and later.
-
scheduleInRunLoop
public void scheduleInRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
unscheduleFromRunLoop
public void unscheduleFromRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
-