760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
|
* @brief Enables or disables the write buffer.
*
* @param enable Whether the write buffer should be enabled or disabled
*/
- (void)setWriteBuffered: (bool)enable;
/*!
* @brief Writes everythig in the write buffer to the stream.
*/
- (void)flushWriteBuffer;
/*!
* @brief Writes from a buffer into the stream.
*
* @param buffer The buffer from which the data is written to the stream
|
|
|
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
|
* @brief Enables or disables the write buffer.
*
* @param enable Whether the write buffer should be enabled or disabled
*/
- (void)setWriteBuffered: (bool)enable;
/*!
* @brief Writes everything in the write buffer to the stream.
*/
- (void)flushWriteBuffer;
/*!
* @brief Writes from a buffer into the stream.
*
* @param buffer The buffer from which the data is written to the stream
|
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
|
*
* @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
/*!
|
|
|
|
|
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
|
*
* @return The file descriptor for the write end of the stream
*/
- (int)fileDescriptorForWriting;
#ifdef OF_HAVE_SOCKETS
/*!
* @brief Cancels all pending asynchronous requests on the stream.
*
* @warning You are not allowed to call this inside the handler of an
* asynchronous request, as this would cancel the asynchronous request
* that is currently being handled! To cancel all pending asynchronous
* 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
/*!
|