Woman, Life, Freedom |
Async BSD Sockets Library
Library protected and public interface header documentation
|
FIFO (named pipe) IPC receiver (reader) More...
#include <fifo_receiver.h>
Public Member Functions | |
FifoReceiver (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 | Receive (std::array< uint8_t, N > &buffer) const noexcept |
Receive a byte array from 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 receiver (reader)
AsyncBsdSocketLib::FifoReceiver::FifoReceiver | ( | std::string | pathname | ) |
Constructor.
pathname | FIFO file path |
|
overridevirtualnoexcept |
Connection descriptor for sending and receiving.
Implements AsyncBsdSocketLib::Communicator.
|
inlinenoexcept |
Receive a byte array from the FIFO pipe.
N | Receive buffer size |
buffer | Receive buffer byte array |
|
overridevirtualnoexcept |
Try to setup the communicator.
Implements AsyncBsdSocketLib::Communicator.