Woman, Life, Freedom |
Async BSD Sockets Library
Library protected and public interface header documentation
|
Communication method (i.e., network sockets and named pipes) More...
#include <communicator.h>
Public Member Functions | |
int | Descriptor () const noexcept |
File descriptor. More... | |
virtual int | Connection () const noexcept=0 |
Connection descriptor for sending and receiving. More... | |
virtual bool | TrySetup () noexcept=0 |
Try to setup the communicator. More... | |
virtual bool | TryClose () noexcept |
Try to close the communicator. More... | |
Protected Attributes | |
int | FileDescriptor |
File descriptor. | |
Communication method (i.e., network sockets and named pipes)
|
pure virtualnoexcept |
Connection descriptor for sending and receiving.
Implemented in AsyncBsdSocketLib::FifoReceiver, AsyncBsdSocketLib::FifoSender, AsyncBsdSocketLib::TcpClient, AsyncBsdSocketLib::TcpListener, and AsyncBsdSocketLib::UdpClient.
|
noexcept |
File descriptor.
|
virtualnoexcept |
Try to close the communicator.
|
pure virtualnoexcept |
Try to setup the communicator.
Implemented in AsyncBsdSocketLib::FifoReceiver, AsyncBsdSocketLib::FifoSender, AsyncBsdSocketLib::TcpClient, AsyncBsdSocketLib::TcpListener, and AsyncBsdSocketLib::UdpClient.