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:
java.lang.AutoCloseable
public class CFMachPort extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFMachPort.CFMachPortPtr
static interface
CFMachPort.InvalidationCallback
static interface
CFMachPort.MachPortCallback
-
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
CFMachPort()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CFMachPort
create(int portNum, CFMachPort.MachPortCallback callback)
static CFMachPort
create(CFMachPort.MachPortCallback callback)
static CFRunLoopSource
createRunLoopSource(CFAllocator allocator, CFMachPort port, long order)
static CFRunLoopSource
createRunLoopSource(CFMachPort port, long order)
static long
getClassTypeID()
CFMachPort.InvalidationCallback
getInvalidationCallBack()
int
getPort()
void
invalidate()
boolean
isValid()
void
setInvalidationCallBack(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
-
-
-
-
Method Detail
-
create
public static CFMachPort create(CFMachPort.MachPortCallback callback)
-
create
public static CFMachPort create(int portNum, CFMachPort.MachPortCallback callback)
-
getInvalidationCallBack
public CFMachPort.InvalidationCallback getInvalidationCallBack()
-
setInvalidationCallBack
public void setInvalidationCallBack(CFMachPort.InvalidationCallback callback)
-
createRunLoopSource
public static CFRunLoopSource createRunLoopSource(CFMachPort port, long order)
-
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)
-
-