7#include "./communicator.h"
9namespace AsyncBsdSocketLib
15 const std::string mPathname;
32 template <std::
size_t N>
33 ssize_t
Send(const std::array<uint8_t, N> &buffer) const noexcept
Communication method (i.e., network sockets and named pipes)
Definition: communicator.h:10
int FileDescriptor
File descriptor.
Definition: communicator.h:13
FIFO (named pipe) IPC sender (writer)
Definition: fifo_sender.h:13
FifoSender(std::string pathname)
Constructor.
ssize_t Send(const std::array< uint8_t, N > &buffer) const noexcept
Send a byte array to the FIFO pipe.
Definition: fifo_sender.h:33
int Connection() const noexcept override
Connection descriptor for sending and receiving.
bool TrySetup() noexcept override
Try to setup the communicator.