Woman, Life, Freedom |
|
Async BSD Sockets Library
Library protected and public interface header documentation
|
FIFO (named pipe) IPC sender (writer) More...
#include <fifo_sender.h>
Public Member Functions | |
| FifoSender (std::string pathname) | |
| Constructor. | |
| int | Connection () const noexcept override |
| Connection descriptor for sending and receiving. | |
| bool | TrySetup () noexcept override |
| Try to setup the communicator. | |
| template<std::size_t N> | |
| ssize_t | Send (const std::array< uint8_t, N > &buffer) const noexcept |
| Send a byte array to the FIFO pipe. | |
Public Member Functions inherited from AsyncBsdSocketLib::Communicator | |
| int | Descriptor () const noexcept |
| File descriptor. | |
| virtual bool | TryClose () noexcept |
| Try to close the communicator. | |
Additional Inherited Members | |
Protected Attributes inherited from AsyncBsdSocketLib::Communicator | |
| int | FileDescriptor |
| File descriptor. | |
FIFO (named pipe) IPC sender (writer)
| AsyncBsdSocketLib::FifoSender::FifoSender | ( | std::string | pathname | ) |
Constructor.
| pathname | FIFO file path |
|
overridevirtualnoexcept |
Connection descriptor for sending and receiving.
Implements AsyncBsdSocketLib::Communicator.
|
inlinenoexcept |
Send a byte array to the FIFO pipe.
| N | Send buffer size |
| buffer | Send buffer byte array |
|
overridevirtualnoexcept |
Try to setup the communicator.
Implements AsyncBsdSocketLib::Communicator.