Updated requirements to use get_io_service() rather than the now removed
io_service() member function.
This commit is contained in:
parent
99279af951
commit
82ef1d3cf4
@ -16,7 +16,7 @@ asio.reference.ReadHandler read handler] requirements.
|
||||
[table Buffer-oriented asynchronous read stream requirements
|
||||
[[operation] [type] [semantics, pre/post-conditions]]
|
||||
[
|
||||
[`a.io_service();`]
|
||||
[`a.get_io_service();`]
|
||||
[`io_service&`]
|
||||
[Returns the `io_service` object through which the `async_read_some`
|
||||
handler `h` will be invoked.]
|
||||
@ -27,7 +27,7 @@ asio.reference.ReadHandler read handler] requirements.
|
||||
[
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from the stream `a`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -15,7 +15,7 @@ constant buffer sequence] requirements, and `h` denotes an object satisfying
|
||||
[table Buffer-oriented asynchronous write stream requirements
|
||||
[[operation] [type] [semantics, pre/post-conditions]]
|
||||
[
|
||||
[`a.io_service();`]
|
||||
[`a.get_io_service();`]
|
||||
[`io_service&`]
|
||||
[Returns the `io_service` object through which the `async_write_some`
|
||||
handler `h` will be invoked.]
|
||||
@ -26,7 +26,7 @@ constant buffer sequence] requirements, and `h` denotes an object satisfying
|
||||
[
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
the stream `a`. The operation is performed via the `io_service` object
|
||||
`a.io_service()` and behaves according to [link
|
||||
`a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -48,7 +48,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from a connected socket `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -95,7 +95,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from an unconnected socket `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -145,7 +145,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
a connected socket `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -198,7 +198,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
an unconnected socket `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -48,7 +48,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from a connected socket `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -95,7 +95,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from an unconnected socket `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -145,7 +145,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
a connected socket `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -198,7 +198,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
an unconnected socket `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -62,7 +62,7 @@ asio.reference.ResolveHandler `ResolveHandler`] requirements.
|
||||
[]
|
||||
[
|
||||
Initiates an asynchronous resolve operation that is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -93,7 +93,7 @@ asio.reference.ResolveHandler `ResolveHandler`] requirements.
|
||||
[]
|
||||
[
|
||||
Initiates an asynchronous resolve operation that is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -50,7 +50,7 @@ requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from a connected socket `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -98,7 +98,7 @@ requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
a connected socket `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -222,7 +222,7 @@ and `v` denote identifiers.
|
||||
[
|
||||
pre: `a.is_open(b) && !k.is_open()`.\n
|
||||
Initiates an asynchronous accept operation that is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n\n
|
||||
The program must ensure the objects `k` and `e` are valid until the
|
||||
@ -237,7 +237,7 @@ and `v` denote identifiers.
|
||||
[
|
||||
pre: `a.is_open(b) && !k.is_open()`.\n
|
||||
Initiates an asynchronous accept operation that is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n\n
|
||||
The program must ensure the object `k` is valid until the handler for the
|
||||
|
@ -280,7 +280,7 @@ requirements, and `u` and `v` denote identifiers.
|
||||
[
|
||||
pre: `a.is_open(b)`.\n
|
||||
Initiates an asynchronous connect operation that is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.
|
||||
]
|
||||
|
@ -51,7 +51,7 @@ requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from a descriptor `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -106,7 +106,7 @@ requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
a descriptor `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -51,7 +51,7 @@ requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from a handle `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -106,7 +106,7 @@ requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
a handle `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -52,7 +52,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to read one or more bytes of data
|
||||
from a connected socket `b`. The operation is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
@ -107,7 +107,7 @@ asio.reference.WriteHandler `WriteHandler`] requirements.
|
||||
\n
|
||||
Initiates an asynchronous operation to write one or more bytes of data to
|
||||
a connected socket `b`. The operation is performed via the `io_service`
|
||||
object `a.io_service()` and behaves according to [link
|
||||
object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -91,7 +91,7 @@ asio.reference.WaitHandler `WaitHandler`] requirements.
|
||||
[]
|
||||
[
|
||||
Initiates an asynchronous wait operation that is performed via the
|
||||
`io_service` object `a.io_service()` and behaves according to [link
|
||||
`io_service` object `a.get_io_service()` and behaves according to [link
|
||||
asio.reference.asynchronous_operations asynchronous operation]
|
||||
requirements.\n
|
||||
\n
|
||||
|
@ -38,9 +38,9 @@ fail with any error condition associated with non-blocking operations
|
||||
|
||||
All asynchronous operations have an associated `io_service` object. Where the
|
||||
initiating function is a member function, the associated `io_service` is that
|
||||
returned by the `io_service()` member function on the same object. Where the
|
||||
returned by the `get_io_service()` member function on the same object. Where the
|
||||
initiating function is not a member function, the associated `io_service` is
|
||||
that returned by the `io_service()` member function of the first argument to
|
||||
that returned by the `get_io_service()` member function of the first argument to
|
||||
the initiating function.
|
||||
|
||||
Arguments to initiating functions will be treated as follows:
|
||||
@ -71,11 +71,11 @@ argument is the associated `io_service` object.
|
||||
|
||||
[mdash] The thread is executing any member function, constructor or destructor
|
||||
of an object of a class defined in this clause, where the object's
|
||||
`io_service()` member function returns the associated `io_service` object.
|
||||
`get_io_service()` member function returns the associated `io_service` object.
|
||||
|
||||
[mdash] The thread is executing any function defined in this clause, where any
|
||||
argument to the function has an `io_service()` member function that returns the
|
||||
associated `io_service` object.
|
||||
argument to the function has an `get_io_service()` member function that returns
|
||||
the associated `io_service` object.
|
||||
|
||||
[blurb Asio may use one or more hidden threads to emulate asynchronous
|
||||
functionality. The above requirements are intended to prevent these hidden
|
||||
|
Loading…
Reference in New Issue
Block a user