|
using | ipc::transport::asio_local_stream_socket::Protocol = local_ns::stream_protocol |
| Short-hand for boost.asio Unix domain stream-socket protocol.
|
|
using | ipc::transport::asio_local_stream_socket::Acceptor = Protocol::acceptor |
| Short-hand for boost.asio Unix domain stream-socket acceptor (listening guy) socket.
|
|
using | ipc::transport::asio_local_stream_socket::Peer_socket = Protocol::socket |
| Short-hand for boost.asio Unix domain peer stream-socket (usually-connected-or-empty guy).
|
|
using | ipc::transport::asio_local_stream_socket::Endpoint = Protocol::endpoint |
| Short-hand for boost.asio Unix domain peer stream-socket endpoint.
|
|
|
template<typename Task_err > |
void | ipc::transport::asio_local_stream_socket::async_write_with_native_handle (flow::log::Logger *logger_ptr, Peer_socket *peer_socket, Native_handle payload_hndl, const util::Blob_const &payload_blob, Task_err &&on_sent_or_error) |
| boost.asio extension similar to boost::asio::async_write(Peer_socket&, Blob_const, Task_err_sz) with the added capability of accompanying the Blob_const with a native handle to be transmitted to the opposing peer. More...
|
|
size_t | ipc::transport::asio_local_stream_socket::nb_write_some_with_native_handle (flow::log::Logger *logger_ptr, Peer_socket *peer_socket, Native_handle payload_hndl, const util::Blob_const &payload_blob, Error_code *err_code) |
| boost.asio extension similar to peer_socket->non_blocking(true); auto n = peer_socket->write_some(payload_blob) with the added capability of accompanying the Blob_const payload_blob with a native handle to be transmitted to the opposing peer. More...
|
|
size_t | ipc::transport::asio_local_stream_socket::nb_read_some_with_native_handle (flow::log::Logger *logger_ptr, Peer_socket *peer_socket, Native_handle *target_payload_hndl, const util::Blob_mutable &target_payload_blob, Error_code *err_code, int message_flags=0) |
| boost.asio extension similar to peer_socket->non_blocking(true); auto n = peer_socket->read_some(target_payload_blob) with the added capability of reading (from opposing peer) not only Blob_mutable target_payload_blob but an optionally accompanying native handle. More...
|
|
template<typename Task_err_blob , typename Target_payload_blob_func , typename Should_interrupt_func > |
void | ipc::transport::asio_local_stream_socket::async_read_with_target_func (flow::log::Logger *logger_ptr, Peer_socket *peer_socket, Target_payload_blob_func &&target_payload_blob_func, Should_interrupt_func &&should_interrupt_func, Task_err_blob &&on_rcvd_or_error) |
| boost.asio extension similar to boost::asio::async_read(Peer_socket&, Blob_mutable, Task_err_sz) with the difference that the target buffer (util::Blob_mutable) is determined by calling the arg-supplied function at the time when at least 1 byte is available to read, instead of the buffer being given direcly as an arg. More...
|
|
template<typename Task_err , typename Should_interrupt_func > |
void | ipc::transport::asio_local_stream_socket::async_read_interruptible (flow::log::Logger *logger_ptr, Peer_socket *peer_socket, util::Blob_mutable target_payload_blob, Should_interrupt_func &&should_interrupt_func, Task_err &&on_rcvd_or_error) |
| boost.asio extension similar to boost::asio::async_read(Peer_socket&, Blob_mutable, Task_err_sz) with the difference that it can be canceled/interrupted via should_interrupt_func() in the same way as the otherwise more complex async_read_with_target_func(). More...
|
|
void | ipc::transport::asio_local_stream_socket::release_native_peer_socket (Native_handle &&peer_socket_native_or_null) |
| Little utility that returns the raw Native_handle suitable for Peer_socket to the OS. More...
|
|