Overview
Comment: | -[cancelAsyncRequests] documentation: Add warning |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
048c4912d617305d46252369ad9aff1b |
User & Date: | js on 2014-02-10 10:46:09 |
Other Links: | manifest | tags |
Context
2014-02-10
| ||
18:56 | OFString: Add a cast which is needed on NetBSD check-in: 66c20e115f user: js tags: trunk | |
10:46 | -[cancelAsyncRequests] documentation: Add warning check-in: 048c4912d6 user: js tags: trunk | |
2014-02-08
| ||
18:04 | Add JSON5 output option check-in: e07fa89b44 user: js tags: trunk | |
Changes
Modified src/OFStream.h from [76d6ca8c67] to [4f20417c15].
︙ | ︙ | |||
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. |
︙ | ︙ |
Modified src/OFUDPSocket.h from [02587fac57] to [7ca9ec0aa8].
︙ | ︙ | |||
233 234 235 236 237 238 239 240 241 242 243 244 245 246 | */ - (void)sendBuffer: (const void*)buffer length: (size_t)length receiver: (of_udp_socket_address_t*)receiver; /*! * @brief Cancels all pending asyncronous requests on the socket. */ - (void)cancelAsyncRequests; /*! * @brief Closes the socket so that it can neither receive nor send any more * datagrams. */ | > > > > > > | 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | */ - (void)sendBuffer: (const void*)buffer length: (size_t)length receiver: (of_udp_socket_address_t*)receiver; /*! * @brief Cancels all pending asyncronous requests on the socket. * * @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; /*! * @brief Closes the socket so that it can neither receive nor send any more * datagrams. */ |
︙ | ︙ |