16 #import "OFDNSResolver.h" 18 #import "OFRunLoop+Private.h" 20 OF_ASSUME_NONNULL_BEGIN
22 @protocol OFAsyncIPSocketConnecting
27 - (void)of_closeSocket;
30 @interface OFAsyncIPSocketConnector:
OFObject <OFRunLoopConnectDelegate,
31 OFDNSResolverHostDelegate>
36 id _Nullable _delegate;
38 id _Nullable _exception;
39 OFData *_Nullable _socketAddresses;
40 size_t _socketAddressesIndex;
43 - (instancetype)initWithSocket: (
id)sock
46 delegate: (nullable
id)delegate
47 block: (nullable
id)block;
49 - (void)tryNextAddressWithRunLoopMode: (
OFRunLoopMode)runLoopMode;
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:37
The root class for all other classes inside ObjFW.
Definition: OFObject.h:686
A struct which represents a host / port pair for a socket.
Definition: OFSocket.h:182
A class for handling strings.
Definition: OFString.h:134
A class for storing arbitrary data in an array.
Definition: OFData.h:41