38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
id _Nullable _delegate;
id _Nullable _block;
id _Nullable _exception;
OFData *_Nullable _socketAddresses;
size_t _socketAddressesIndex;
}
- (instancetype)initWithSocket: (OFTCPSocket *)sock
host: (OFString *)host
port: (uint16_t)port
delegate: (nullable id)delegate
block: (nullable id)block;
- (void)didConnect;
- (void)tryNextAddressWithRunLoopMode: (of_run_loop_mode_t)runLoopMode;
- (void)startWithRunLoopMode: (of_run_loop_mode_t)runLoopMode;
@end
OF_ASSUME_NONNULL_END
|
|
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
id _Nullable _delegate;
id _Nullable _block;
id _Nullable _exception;
OFData *_Nullable _socketAddresses;
size_t _socketAddressesIndex;
}
- (instancetype)initWithSocket: (id)sock
host: (OFString *)host
port: (uint16_t)port
delegate: (nullable id)delegate
block: (nullable id)block;
- (void)didConnect;
- (void)tryNextAddressWithRunLoopMode: (of_run_loop_mode_t)runLoopMode;
- (void)startWithRunLoopMode: (of_run_loop_mode_t)runLoopMode;
@end
OF_ASSUME_NONNULL_END
|