defines wrappers for boost::asio functions More...
#include <boost/asio.hpp>#include <boost/thread.hpp>#include <mace/cmt/future.hpp>Go to the source code of this file.
| Namespaces | |
| namespace | mace::cmt | 
| All types that are part of the MACE Cooperative Multi-Tasking Library. | |
| namespace | mace::cmt::asio | 
| defines mace::cmt wrappers for boost::asio functions. | |
| Typedefs | |
| typedef boost::asio::ip::tcp::endpoint | mace::cmt::asio::tcp::endpoint | 
| typedef boost::asio::ip::tcp::resolver::iterator | mace::cmt::asio::tcp::resolver_iterator | 
| typedef boost::asio::ip::tcp::resolver | mace::cmt::asio::tcp::resolver | 
| typedef boost::asio::ip::udp::endpoint | mace::cmt::asio::udp::endpoint | 
| typedef boost::asio::ip::udp::resolver::iterator | mace::cmt::asio::udp::resolver_iterator | 
| typedef boost::asio::ip::udp::resolver | mace::cmt::asio::udp::resolver | 
| Functions | |
| boost::asio::io_service & | mace::cmt::asio::default_io_service () | 
| template<typename AsyncReadStream , typename MutableBufferSequence > | |
| cmt::future< size_t > | mace::cmt::asio::read (AsyncReadStream &s, const MutableBufferSequence &buf) | 
| wraps boost::asio::async_read | |
| template<typename AsyncReadStream , typename MutableBufferSequence > | |
| cmt::future< size_t > | mace::cmt::asio::read_some (AsyncReadStream &s, const MutableBufferSequence &buf) | 
| wraps boost::asio::async_read_some | |
| template<typename AsyncReadStream , typename MutableBufferSequence > | |
| cmt::future< size_t > | mace::cmt::asio::write (AsyncReadStream &s, const MutableBufferSequence &buf) | 
| wraps boost::asio::async_write | |
| template<typename AsyncReadStream , typename MutableBufferSequence > | |
| cmt::future< size_t > | mace::cmt::asio::write_some (AsyncReadStream &s, const MutableBufferSequence &buf) | 
| wraps boost::asio::async_write_some | |
| cmt::future< std::vector < endpoint > > | mace::cmt::asio::tcp::resolve (const std::string &hostname, const std::string &port) | 
| asynchronously resolve all tcp::endpoints for hostname:port | |
| template<typename SocketType , typename AcceptorType > | |
| cmt::future < boost::system::error_code > | mace::cmt::asio::tcp::accept (AcceptorType &acc, SocketType &sock) | 
| wraps boost::asio::async_accept | |
| template<typename AsyncSocket , typename EndpointType > | |
| cmt::future < boost::system::error_code > | mace::cmt::asio::tcp::connect (AsyncSocket &sock, const EndpointType &ep) | 
| wraps boost::asio::socket::async_connect | |
| cmt::future< std::vector < endpoint > > | mace::cmt::asio::udp::resolve (resolver &r, const std::string &hostname, const std::string &port) | 
| asynchronously resolve all udp::endpoints for hostname:port | |
Definition in file asio.hpp.
 1.8.0
 1.8.0