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. More... | |
int | Connection () const noexcept override |
Connection descriptor for sending and receiving. More... | |
bool | TrySetup () noexcept override |
Try to setup the communicator. More... | |
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. More... | |
![]() | |
int | Descriptor () const noexcept |
File descriptor. More... | |
virtual bool | TryClose () noexcept |
Try to close the communicator. More... | |
Additional Inherited Members | |
![]() | |
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.