Open Lighting Architecture
Latest Git
|
Represents a file descriptor that supports writing data.
Public Member Functions | |
virtual DescriptorHandle | WriteDescriptor () const =0 |
Returns the write descriptor for this socket. More... | |
bool | ValidWriteDescriptor () const |
Check if this file descriptor is valid. More... | |
virtual void | PerformWrite ()=0 |
Called when the descriptor can be written to. More... | |
|
pure virtual |
Called when the descriptor can be written to.
This is usually called by the SelectServer.
Implemented in ola::io::BidirectionalFileDescriptor, and ola::network::PendingTCPConnection.
|
inline |
Check if this file descriptor is valid.
|
pure virtual |
Returns the write descriptor for this socket.
Implemented in ola::io::DeviceDescriptor, ola::io::UnixSocket, ola::io::PipeDescriptor, ola::io::LoopbackDescriptor, ola::io::UnmanagedFileDescriptor, ola::network::UDPSocket, ola::network::UDPSocketInterface, ola::testing::MockUDPSocket, ola::network::TCPSocket, and ola::network::PendingTCPConnection.