2016-05-11 08:36:29 -04:00
|
|
|
[/
|
2017-02-06 20:07:03 -05:00
|
|
|
Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
2016-05-11 08:36:29 -04:00
|
|
|
|
|
|
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
]
|
|
|
|
|
|
2017-06-04 17:25:55 -07:00
|
|
|
[section:streams Stream]
|
2016-05-11 08:36:29 -04:00
|
|
|
|
|
|
|
|
Stream types represent objects capable of performing synchronous or
|
|
|
|
|
asynchronous I/O. They are based on concepts from `boost::asio`.
|
|
|
|
|
|
|
|
|
|
[heading:Stream Stream]
|
|
|
|
|
|
2017-05-28 09:05:29 -07:00
|
|
|
A type modeling [*Stream] meets either or both of the following requirements:
|
2016-05-11 08:36:29 -04:00
|
|
|
|
2017-05-28 09:05:29 -07:00
|
|
|
* [*AsyncStream]
|
|
|
|
|
* [*SyncStream]
|
2016-05-11 08:36:29 -04:00
|
|
|
|
|
|
|
|
[heading:AsyncStream AsyncStream]
|
|
|
|
|
|
2017-05-28 09:05:29 -07:00
|
|
|
A type modeling [*AsyncStream] meets the following requirements:
|
2016-05-11 08:36:29 -04:00
|
|
|
|
2017-05-10 12:03:00 -07:00
|
|
|
* __AsyncReadStream__
|
|
|
|
|
* __AsyncWriteStream__
|
2016-05-11 08:36:29 -04:00
|
|
|
|
|
|
|
|
[heading:SyncStream SyncStream]
|
|
|
|
|
|
2017-05-28 09:05:29 -07:00
|
|
|
A type modeling [*SyncStream] meets the following requirements:
|
2016-05-11 08:36:29 -04:00
|
|
|
|
2017-05-10 12:03:00 -07:00
|
|
|
* __SyncReadStream__
|
|
|
|
|
* __SyncWriteStream__
|
2016-05-11 08:36:29 -04:00
|
|
|
|
|
|
|
|
[endsect]
|