Package org.robovm.apple.coreservices
Class CFHost
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coreservices.CFHost
- All Implemented Interfaces:
AutoCloseable
public class CFHost extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFHost.CFHostPtrstatic interfaceCFHost.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 protectedCFHost() -
Method Summary
Modifier and Type Method Description voidcancelInfoResolution(CFHostInfoType info)Deprecated.Use Network framework instead, see deprecation notice instatic CFHostcreate(String hostname)protected static CFHostcreate(CFAllocator allocator, String hostname)Deprecated.Use Network framework instead, see deprecation notice inprotected static CFHostcreate(CFAllocator allocator, NSData addr)Deprecated.Use Network framework instead, see deprecation notice instatic CFHostcreate(NSData addr)protected static CFHostcreateCopy(CFAllocator alloc, CFHost host)Deprecated.Use Network framework instead, see deprecation notice instatic CFHostcreateCopy(CFHost host)NSInputStreamcreateSocketReadStream(int port)NSOutputStreamcreateSocketWriteStream(int port)NSArray<NSData>getAddressing()NSArray<NSData>getAddressing(BooleanPtr hasBeenResolved)Deprecated.Use Network framework instead, see deprecation notice instatic longgetClassTypeID()Deprecated.Use Network framework instead, see deprecation notice inList<String>getNames()List<String>getNames(BooleanPtr hasBeenResolved)Deprecated.Use Network framework instead, see deprecation notice inNSDatagetReachability()NSDatagetReachability(BooleanPtr hasBeenResolved)Deprecated.Use Network framework instead, see deprecation notice invoidscheduleInRunLoop(CFRunLoop runLoop, String runLoopMode)Deprecated.Use Network framework instead, see deprecation notice invoidsetCallback(CFHost.ClientCallback callback)booleanstartInfoResolution(CFHostInfoType info)Deprecated.Use Network framework instead, see deprecation notice invoidunscheduleFromRunLoop(CFRunLoop runLoop, String runLoopMode)Deprecated.Use Network framework instead, see deprecation notice inMethods 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
-
CFHost
protected CFHost()
-
-
Method Details
-
create
- Since:
- Available in iOS 2.0 and later.
-
create
- Since:
- Available in iOS 2.0 and later.
-
createCopy
- Since:
- Available in iOS 2.0 and later.
-
getAddressing
- Since:
- Available in iOS 2.0 and later.
-
getNames
- Since:
- Available in iOS 2.0 and later.
-
getReachability
- Since:
- Available in iOS 2.0 and later.
-
setCallback
- Since:
- Available in iOS 2.0 and later.
-
createSocketReadStream
- Since:
- Available in iOS 2.0 and later.
-
createSocketWriteStream
- Since:
- Available in iOS 2.0 and later.
-
getClassTypeID
Deprecated.Use Network framework instead, see deprecation notice in -
create
Deprecated.Use Network framework instead, see deprecation notice in -
create
Deprecated.Use Network framework instead, see deprecation notice in -
createCopy
Deprecated.Use Network framework instead, see deprecation notice in -
startInfoResolution
Deprecated.Use Network framework instead, see deprecation notice in- Throws:
CFStreamErrorException
-
getAddressing
Deprecated.Use Network framework instead, see deprecation notice in -
getNames
Deprecated.Use Network framework instead, see deprecation notice in -
getReachability
Deprecated.Use Network framework instead, see deprecation notice in -
cancelInfoResolution
Deprecated.Use Network framework instead, see deprecation notice in -
scheduleInRunLoop
Deprecated.Use Network framework instead, see deprecation notice in -
unscheduleFromRunLoop
Deprecated.Use Network framework instead, see deprecation notice in
-