Package org.robovm.apple.corefoundation
Class CFSocket
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFSocket
- All Implemented Interfaces:
AutoCloseable
public class CFSocket extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCFSocket.CFSocketCallbackstatic classCFSocket.CFSocketPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFSocket() -
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
-
CFSocket
protected CFSocket()
-
-
Method Details
-
create
public static CFSocket create(int protocolFamily, int socketType, int protocol, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback) -
create
public static CFSocket create(CFAllocator allocator, int protocolFamily, int socketType, int protocol, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback) -
create
public static CFSocket create(int sock, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback) -
create
public static CFSocket create(CFAllocator allocator, int sock, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback) -
create
public static CFSocket create(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback) -
create
public static CFSocket create(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback) -
createConnectedToSocketSignature
public static CFSocket createConnectedToSocketSignature(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback, double timeout) -
createConnectedToSocketSignature
public static CFSocket createConnectedToSocketSignature(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocket.CFSocketCallback callback, double timeout) -
createRunLoopSource
-
createRunLoopSource
-
getClassTypeID
public static long getClassTypeID() -
setAddress
-
connectToAddress
-
invalidate
public void invalidate() -
isValid
public boolean isValid() -
getAddress
-
getPeerAddress
-
getNative
public int getNative() -
createRunLoopSource
-
getSocketFlags
-
setSocketFlags
-
disableCallBacks
public void disableCallBacks(long callBackTypes) -
enableCallBacks
public void enableCallBacks(long callBackTypes) -
sendData
-
registerValue
public static CFSocketError registerValue(CFSocketSignature nameServerSignature, double timeout, String name, CFType value) -
getRegisteredValue
public static CFSocketError getRegisteredValue(CFSocketSignature nameServerSignature, double timeout, String name, CFType.CFTypePtr value, CFData.CFDataPtr nameServerAddress) -
registerSocketSignature
public static CFSocketError registerSocketSignature(CFSocketSignature nameServerSignature, double timeout, String name, CFSocketSignature signature) -
getRegisteredSocketSignature
public static CFSocketError getRegisteredSocketSignature(CFSocketSignature nameServerSignature, double timeout, String name, CFSocketSignature signature, CFData.CFDataPtr nameServerAddress) -
unregister
public static CFSocketError unregister(CFSocketSignature nameServerSignature, double timeout, String name) -
setDefaultNameRegistryPortNumber
public static void setDefaultNameRegistryPortNumber(short port) -
getDefaultNameRegistryPortNumber
public static short getDefaultNameRegistryPortNumber()
-