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. | |
| virtual int | Connection () const noexcept=0 |
| Connection descriptor for sending and receiving. | |
| virtual bool | TrySetup () noexcept=0 |
| Try to setup the communicator. | |
| virtual bool | TryClose () noexcept |
| Try to close the communicator. | |
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.