1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
|
* @return The file descriptor for the write end of the stream
*/
- (int)fileDescriptorForWriting;
#ifdef OF_HAVE_SOCKETS
/*!
* @brief Cancels all pending asyncronous requests on the stream.
*/
- (void)cancelAsyncRequests;
#endif
/*!
* @brief "Reverses" a read operation, meaning the bytes from the specified
* buffer will be returned on the next read operation.
|
>
>
>
>
>
>
|
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
|
* @return The file descriptor for the write end of the stream
*/
- (int)fileDescriptorForWriting;
#ifdef OF_HAVE_SOCKETS
/*!
* @brief Cancels all pending asyncronous requests on the stream.
*
* @warning You are not allowed to call this inside the handler of an
* asyncronous request, as this would cancel the asyncronous request
* that is currently being handled! To cancel all pending asyncronous
* requests after the handler has finished executing, you may schedule
* a timer for this method with a timeout of 0 from inside the handler.
*/
- (void)cancelAsyncRequests;
#endif
/*!
* @brief "Reverses" a read operation, meaning the bytes from the specified
* buffer will be returned on the next read operation.
|