public static CFSocket create(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { return create(null, signature, callBackTypes, callback); } public static CFSocket create(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback) {
public static CFSocket createConnectedToSocketSignature(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) { return createConnectedToSocketSignature(null, signature, callBackTypes, callback, timeout); } public static CFSocket createConnectedToSocketSignature(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) {
public CFRunLoopSource createRunLoopSource(@MachineSizedSInt long order) { return createRunLoopSource(null, this, order); } public CFRunLoopSource createRunLoopSource(CFAllocator allocator, @MachineSizedSInt long order) {
public static CFSocket create(int protocolFamily, int socketType, int protocol, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { return create(null, protocolFamily, socketType, protocol, callBackTypes, callback); } public static CFSocket create(CFAllocator allocator, int protocolFamily, int socketType, int protocol, CFSocketCallBackType callBackTypes, CFSocketCallback callback) {
public static CFSocket createConnectedToSocketSignature(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) { long refconId = CFSocket.refconId.getAndIncrement(); CFSocketContext context = new CFSocketContext(); context.setInfo(refconId); CFSocket result = createConnectedToSocketSignature(allocator, signature, callBackTypes, new FunctionPtr(cbInvoke), context, timeout); if (result != null) { synchronized (callbacks) { callbacks.put(refconId, callback); } } return result; }
public CFRunLoopSource createRunLoopSource(CFAllocator allocator, @MachineSizedSInt long order) { return createRunLoopSource(allocator, this, order); } /*<methods>*/
public static CFSocket create(int sock, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { return create(null, sock, callBackTypes, callback); } public static CFSocket create(CFAllocator allocator, int sock, CFSocketCallBackType callBackTypes, CFSocketCallback callback) {
public static CFSocket createConnectedToSocketSignature(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) { return createConnectedToSocketSignature(null, signature, callBackTypes, callback, timeout); } public static CFSocket createConnectedToSocketSignature(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) {
public CFRunLoopSource createRunLoopSource(CFAllocator allocator, @MachineSizedSInt long order) { return createRunLoopSource(allocator, this, order); } /*<methods>*/
public static CFSocket create(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { long refconId = CFSocket.refconId.getAndIncrement(); CFSocketContext context = new CFSocketContext(); context.setInfo(refconId); CFSocket result = create(allocator, signature, callBackTypes, new FunctionPtr(cbInvoke), context); if (result != null) { synchronized (callbacks) { callbacks.put(refconId, callback); } } return result; } public static CFSocket createConnectedToSocketSignature(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) {
public static CFSocket createConnectedToSocketSignature(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) { return createConnectedToSocketSignature(null, signature, callBackTypes, callback, timeout); } public static CFSocket createConnectedToSocketSignature(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) {
public CFRunLoopSource createRunLoopSource(CFAllocator allocator, @MachineSizedSInt long order) { return createRunLoopSource(allocator, this, order); } /*<methods>*/
public static CFSocket create(CFAllocator allocator, int sock, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { long refconId = CFSocket.refconId.getAndIncrement(); CFSocketContext context = new CFSocketContext(); context.setInfo(refconId); CFSocket result = create(allocator, sock, callBackTypes, new FunctionPtr(cbInvoke), context); if (result != null) { synchronized (callbacks) { callbacks.put(refconId, callback); } } return result; } public static CFSocket create(CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback) {
public static CFSocket createConnectedToSocketSignature(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) { long refconId = CFSocket.refconId.getAndIncrement(); CFSocketContext context = new CFSocketContext(); context.setInfo(refconId); CFSocket result = createConnectedToSocketSignature(allocator, signature, callBackTypes, new FunctionPtr(cbInvoke), context, timeout); if (result != null) { synchronized (callbacks) { callbacks.put(refconId, callback); } } return result; }
public CFRunLoopSource createRunLoopSource(@MachineSizedSInt long order) { return createRunLoopSource(null, this, order); } public CFRunLoopSource createRunLoopSource(CFAllocator allocator, @MachineSizedSInt long order) {
public static CFSocket create(CFAllocator allocator, int protocolFamily, int socketType, int protocol, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { long refconId = CFSocket.refconId.getAndIncrement(); CFSocketContext context = new CFSocketContext(); context.setInfo(refconId); CFSocket result = create(allocator, protocolFamily, socketType, protocol, callBackTypes, new FunctionPtr(cbInvoke), context); if (result != null) { synchronized (callbacks) { callbacks.put(refconId, callback); } } return result; } public static CFSocket create(int sock, CFSocketCallBackType callBackTypes, CFSocketCallback callback) {
public static CFSocket createConnectedToSocketSignature(CFAllocator allocator, CFSocketSignature signature, CFSocketCallBackType callBackTypes, CFSocketCallback callback, double timeout) { long refconId = CFSocket.refconId.getAndIncrement(); CFSocketContext context = new CFSocketContext(); context.setInfo(refconId); CFSocket result = createConnectedToSocketSignature(allocator, signature, callBackTypes, new FunctionPtr(cbInvoke), context, timeout); if (result != null) { synchronized (callbacks) { callbacks.put(refconId, callback); } } return result; }
public CFRunLoopSource createRunLoopSource(@MachineSizedSInt long order) { return createRunLoopSource(null, this, order); } public CFRunLoopSource createRunLoopSource(CFAllocator allocator, @MachineSizedSInt long order) {
public static CFSocket create(int protocolFamily, int socketType, int protocol, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { return create(null, protocolFamily, socketType, protocol, callBackTypes, callback); } public static CFSocket create(CFAllocator allocator, int protocolFamily, int socketType, int protocol, CFSocketCallBackType callBackTypes, CFSocketCallback callback) {
public static CFSocket create(int sock, CFSocketCallBackType callBackTypes, CFSocketCallback callback) { return create(null, sock, callBackTypes, callback); } public static CFSocket create(CFAllocator allocator, int sock, CFSocketCallBackType callBackTypes, CFSocketCallback callback) {