![]() |
Open Lighting Architecture 0.10.9
|
Represents a file descriptor that supports reading data.
Public Member Functions | |
virtual DescriptorHandle | ReadDescriptor () const =0 |
Returns the read descriptor for this socket. | |
bool | ValidReadDescriptor () const |
Check if this file descriptor is valid. | |
virtual void | PerformRead ()=0 |
Called when there is data available on the descriptor. | |
|
pure virtual |
Called when there is data available on the descriptor.
This is usually called by the SelectServer.
Implemented in ola::DNSSDDescriptor, ola::io::BidirectionalFileDescriptor, and ola::network::TCPAcceptingSocket.
|
pure virtual |
Returns the read descriptor for this socket.
Implemented in ola::DNSSDDescriptor, ola::io::DeviceDescriptor, ola::io::LoopbackDescriptor, ola::io::PipeDescriptor, ola::io::UnixSocket, ola::io::UnmanagedFileDescriptor, ola::network::TCPAcceptingSocket, ola::network::TCPSocket, ola::network::UDPSocket, and ola::network::UDPSocketInterface.
|
inline |
Check if this file descriptor is valid.