Open Lighting Architecture
0.9.2
|
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::io::BidirectionalFileDescriptor, ola::network::TCPAcceptingSocket, and ola::DNSSDDescriptor.
|
pure virtual |
Returns the read 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::network::TCPAcceptingSocket, ola::testing::MockUDPSocket, ola::DNSSDDescriptor, and ola::network::TCPSocket.
|
inline |
Check if this file descriptor is valid.