Home | History | Annotate | Download | only in asio

Lines Matching refs:Iterator

41  * @param begin An iterator pointing to the start of a sequence of endpoints.
43 * @returns On success, an iterator denoting the successfully connected
44 * endpoint. Otherwise, the end iterator.
51 * Iterator represents the end of the sequence. This is a valid assumption for
52 * iterator types such as @c asio::ip::tcp::resolver::iterator.
60 template <typename Protocol, typename SocketService, typename Iterator>
61 Iterator connect(basic_socket<Protocol, SocketService>& s, Iterator begin);
73 * @param begin An iterator pointing to the start of a sequence of endpoints.
79 * @returns On success, an iterator denoting the successfully connected
80 * endpoint. Otherwise, the end iterator.
83 * Iterator represents the end of the sequence. This is a valid assumption for
84 * iterator types such as @c asio::ip::tcp::resolver::iterator.
97 template <typename Protocol, typename SocketService, typename Iterator>
98 Iterator connect(basic_socket<Protocol, SocketService>& s,
99 Iterator begin, asio::error_code& ec);
111 * @param begin An iterator pointing to the start of a sequence of endpoints.
113 * @param end An iterator pointing to the end of a sequence of endpoints.
115 * @returns On success, an iterator denoting the successfully connected
116 * endpoint. Otherwise, the end iterator.
125 * tcp::resolver::iterator i = r.resolve(q), end;
129 template <typename Protocol, typename SocketService, typename Iterator>
130 Iterator connect(basic_socket<Protocol, SocketService>& s,
131 Iterator begin, Iterator end);
143 * @param begin An iterator pointing to the start of a sequence of endpoints.
145 * @param end An iterator pointing to the end of a sequence of endpoints.
151 * @returns On success, an iterator denoting the successfully connected
152 * endpoint. Otherwise, the end iterator.
157 * tcp::resolver::iterator i = r.resolve(q), end;
166 template <typename Protocol, typename SocketService, typename Iterator>
167 Iterator connect(basic_socket<Protocol, SocketService>& s,
168 Iterator begin, Iterator end, asio::error_code& ec);
180 * @param begin An iterator pointing to the start of a sequence of endpoints.
184 * @code Iterator connect_condition(
186 * Iterator next); @endcode
189 * indicate success. The @c next parameter is an iterator pointing to the next
190 * endpoint to be tried. The function object should return the next iterator,
191 * but is permitted to return a different iterator so that endpoints may be
193 * be called with the end iterator.
195 * @returns On success, an iterator denoting the successfully connected
196 * endpoint. Otherwise, the end iterator.
203 * Iterator represents the end of the sequence. This is a valid assumption for
204 * iterator types such as @c asio::ip::tcp::resolver::iterator.
211 * template <typename Iterator>
212 * Iterator operator()(
214 * Iterator next)
225 * tcp::resolver::iterator i = asio::connect(
230 typename Iterator, typename ConnectCondition>
231 Iterator connect(basic_socket<Protocol, SocketService>& s,
232 Iterator begin, ConnectCondition connect_condition);
244 * @param begin An iterator pointing to the start of a sequence of endpoints.
248 * @code Iterator connect_condition(
250 * Iterator next); @endcode
253 * indicate success. The @c next parameter is an iterator pointing to the next
254 * endpoint to be tried. The function object should return the next iterator,
255 * but is permitted to return a different iterator so that endpoints may be
257 * be called with the end iterator.
263 * @returns On success, an iterator denoting the successfully connected
264 * endpoint. Otherwise, the end iterator.
267 * Iterator represents the end of the sequence. This is a valid assumption for
268 * iterator types such as @c asio::ip::tcp::resolver::iterator.
275 * template <typename Iterator>
276 * Iterator operator()(
278 * Iterator next)
290 * tcp::resolver::iterator i = asio::connect(
302 typename Iterator, typename ConnectCondition>
303 Iterator connect(basic_socket<Protocol, SocketService>& s, Iterator begin,
316 * @param begin An iterator pointing to the start of a sequence of endpoints.
318 * @param end An iterator pointing to the end of a sequence of endpoints.
322 * @code Iterator connect_condition(
324 * Iterator next); @endcode
327 * indicate success. The @c next parameter is an iterator pointing to the next
328 * endpoint to be tried. The function object should return the next iterator,
329 * but is permitted to return a different iterator so that endpoints may be
331 * be called with the end iterator.
333 * @returns On success, an iterator denoting the successfully connected
334 * endpoint. Otherwise, the end iterator.
345 * template <typename Iterator>
346 * Iterator operator()(
348 * Iterator next)
358 * tcp::resolver::iterator i = r.resolve(q), end;
364 typename Iterator, typename ConnectCondition>
365 Iterator connect(basic_socket<Protocol, SocketService>& s, Iterator begin,
366 Iterator end, ConnectCondition connect_condition);
378 * @param begin An iterator pointing to the start of a sequence of endpoints.
380 * @param end An iterator pointing to the end of a sequence of endpoints.
384 * @code Iterator connect_condition(
386 * Iterator next); @endcode
389 * indicate success. The @c next parameter is an iterator pointing to the next
390 * endpoint to be tried. The function object should return the next iterator,
391 * but is permitted to return a different iterator so that endpoints may be
393 * be called with the end iterator.
399 * @returns On success, an iterator denoting the successfully connected
400 * endpoint. Otherwise, the end iterator.
407 * template <typename Iterator>
408 * Iterator operator()(
410 * Iterator next)
420 * tcp::resolver::iterator i = r.resolve(q), end;
434 typename Iterator, typename ConnectCondition>
435 Iterator connect(basic_socket<Protocol, SocketService>& s,
436 Iterator begin, Iterator end, ConnectCondition connect_condition,
460 * @param begin An iterator pointing to the start of a sequence of endpoints.
471 * // On success, an iterator denoting the successfully
472 * // connected endpoint. Otherwise, the end iterator.
473 * Iterator iterator
481 * Iterator represents the end of the sequence. This is a valid assumption for
482 * iterator types such as @c asio::ip::tcp::resolver::iterator.
497 * tcp::resolver::iterator i)
509 * tcp::resolver::iterator i)
515 typename Iterator, typename ComposedConnectHandler>
517 void (asio::error_code, Iterator))
519 Iterator begin, ASIO_MOVE_ARG(ComposedConnectHandler) handler);
532 * @param begin An iterator pointing to the start of a sequence of endpoints.
534 * @param end An iterator pointing to the end of a sequence of endpoints.
545 * // On success, an iterator denoting the successfully
546 * // connected endpoint. Otherwise, the end iterator.
547 * Iterator iterator
567 * tcp::resolver::iterator i)
571 * tcp::resolver::iterator end;
580 * tcp::resolver::iterator i)
586 typename Iterator, typename ComposedConnectHandler>
588 void (asio::error_code, Iterator))
590 Iterator begin, Iterator end,
604 * @param begin An iterator pointing to the start of a sequence of endpoints.
608 * @code Iterator connect_condition(
610 * Iterator next); @endcode
613 * indicate success. The @c next parameter is an iterator pointing to the next
614 * endpoint to be tried. The function object should return the next iterator,
615 * but is permitted to return a different iterator so that endpoints may be
617 * be called with the end iterator.
628 * // On success, an iterator denoting the successfully
629 * // connected endpoint. Otherwise, the end iterator.
630 * Iterator iterator
638 * Iterator represents the end of the sequence. This is a valid assumption for
639 * iterator types such as @c asio::ip::tcp::resolver::iterator.
646 * template <typename Iterator>
647 * Iterator operator()(
649 * Iterator next)
669 * tcp::resolver::iterator i)
683 * tcp::resolver::iterator i)
695 template <typename Protocol, typename SocketService, typename Iterator,
698 void (asio::error_code, Iterator))
699 async_connect(basic_socket<Protocol, SocketService>& s, Iterator begin,
714 * @param begin An iterator pointing to the start of a sequence of endpoints.
716 * @param end An iterator pointing to the end of a sequence of endpoints.
720 * @code Iterator connect_condition(
722 * Iterator next); @endcode
725 * indicate success. The @c next parameter is an iterator pointing to the next
726 * endpoint to be tried. The function object should return the next iterator,
727 * but is permitted to return a different iterator so that endpoints may be
729 * be called with the end iterator.
740 * // On success, an iterator denoting the successfully
741 * // connected endpoint. Otherwise, the end iterator.
742 * Iterator iterator
754 * template <typename Iterator>
755 * Iterator operator()(
757 * Iterator next)
777 * tcp::resolver::iterator i)
781 * tcp::resolver::iterator end;
792 * tcp::resolver::iterator i)
804 template <typename Protocol, typename SocketService, typename Iterator,
807 void (asio::error_code, Iterator))
809 Iterator begin, Iterator end, ConnectCondition connect_condition,