19 #import "OFStreamObserver.h"
20 #import "OFTCPSocket.h"
50 + (void)OF_setMainRunLoop;
51 + (void)OF_addAsyncReadForStream: (
OFStream*)stream
53 length: (
size_t)length
55 selector: (
SEL)selector;
56 + (void)OF_addAsyncReadForStream: (
OFStream*)stream
58 exactLength: (
size_t)length
60 selector: (
SEL)selector;
61 + (void)OF_addAsyncReadLineForStream: (
OFStream*)stream
62 encoding: (of_string_encoding_t)encoding
64 selector: (
SEL)selector;
65 + (void)OF_addAsyncAcceptForTCPSocket: (
OFTCPSocket*)socket
67 selector: (
SEL)selector;
69 + (void)OF_addAsyncReadForStream: (
OFStream*)stream
71 length: (
size_t)length
72 block: (of_stream_async_read_block_t)block;
73 + (void)OF_addAsyncReadForStream: (
OFStream*)stream
75 exactLength: (
size_t)length
76 block: (of_stream_async_read_block_t)block;
77 + (void)OF_addAsyncReadLineForStream: (
OFStream*)stream
78 encoding: (of_string_encoding_t)encoding
79 block: (of_stream_async_read_line_block_t)block;
80 + (void)OF_addAsyncAcceptForTCPSocket: (
OFTCPSocket*)socket
81 block: (of_tcpsocket_async_accept_block_t)block;
89 - (void)addTimer: (
OFTimer*)timer;