Package org.robovm.apple.corefoundation
Class CFMessagePort
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFMessagePort
- All Implemented Interfaces:
AutoCloseable
public class CFMessagePort extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFMessagePort.CFMessagePortPtrstatic interfaceCFMessagePort.InvalidationCallbackstatic interfaceCFMessagePort.MessagePortCallbackNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFMessagePort() -
Method Summary
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
-
CFMessagePort
protected CFMessagePort()
-
-
Method Details
-
createLocal
-
createRemote
-
getInvalidationCallBack
-
setInvalidationCallBack
-
createRunLoopSource
-
sendRequest
public CFData sendRequest(int msgid, CFData data, double sendTimeout, double rcvTimeout, String replyMode) throws NSErrorException- Parameters:
msgid-data-sendTimeout-rcvTimeout-replyMode-- Returns:
- Throws:
NSErrorException
-
getClassTypeID
public static long getClassTypeID() -
createLocal
protected static CFMessagePort createLocal(CFAllocator allocator, String name, FunctionPtr callout, org.robovm.apple.corefoundation.CFMessagePortContext context, BooleanPtr shouldFreeInfo) -
createRemote
-
isRemote
public boolean isRemote() -
getName
-
setName
-
invalidate
public void invalidate() -
isValid
public boolean isValid() -
sendRequest
protected CFMessagePortErrorCode sendRequest(int msgid, CFData data, double sendTimeout, double rcvTimeout, String replyMode, CFData.CFDataPtr returnData) -
createRunLoopSource
public static CFRunLoopSource createRunLoopSource(CFAllocator allocator, CFMessagePort local, long order) -
setDispatchQueue
-