Package org.robovm.apple.corefoundation
Class CFMachPort
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFMachPort
- All Implemented Interfaces:
AutoCloseable
public class CFMachPort extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFMachPort.CFMachPortPtrstatic interfaceCFMachPort.InvalidationCallbackstatic interfaceCFMachPort.MachPortCallbackNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFMachPort() -
Method Summary
Modifier and Type Method Description static CFMachPortcreate(int portNum, CFMachPort.MachPortCallback callback)static CFMachPortcreate(CFMachPort.MachPortCallback callback)static CFRunLoopSourcecreateRunLoopSource(CFAllocator allocator, CFMachPort port, long order)static CFRunLoopSourcecreateRunLoopSource(CFMachPort port, long order)static longgetClassTypeID()CFMachPort.InvalidationCallbackgetInvalidationCallBack()intgetPort()voidinvalidate()booleanisValid()voidsetInvalidationCallBack(CFMachPort.InvalidationCallback callback)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
-
CFMachPort
protected CFMachPort()
-
-
Method Details
-
create
-
create
-
getInvalidationCallBack
-
setInvalidationCallBack
-
createRunLoopSource
-
getClassTypeID
public static long getClassTypeID() -
getPort
public int getPort() -
invalidate
public void invalidate() -
isValid
public boolean isValid() -
createRunLoopSource
public static CFRunLoopSource createRunLoopSource(CFAllocator allocator, CFMachPort port, long order)
-