![]() |
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, ola::network::TCPAcceptingSocket, ola::plugin::openpixelcontrol::TCPAcceptingSocket, ola::rpc::TCPAcceptingSocket, and ola::TCPAcceptingSocket.
|
pure virtual |
Returns the read descriptor for this socket.
Implemented in ola::client::TCPSocket, ola::DNSSDDescriptor, ola::http::UnmanagedFileDescriptor, ola::io::DeviceDescriptor, ola::io::LoopbackDescriptor, ola::io::PipeDescriptor, ola::io::UnixSocket, ola::io::UnmanagedFileDescriptor, ola::network::TCPAcceptingSocket, ola::network::TCPSocket, ola::network::UDPSocket, ola::network::UDPSocketInterface, ola::plugin::artnet::UDPSocket, ola::plugin::espnet::UDPSocket, ola::plugin::kinet::UDPSocket, ola::plugin::openpixelcontrol::TCPAcceptingSocket, ola::plugin::openpixelcontrol::TCPSocket, ola::plugin::pathport::UDPSocket, ola::plugin::sandnet::UDPSocket, ola::plugin::shownet::UDPSocket, ola::rpc::TCPAcceptingSocket, ola::rpc::TCPSocket, ola::TCPAcceptingSocket, and UDPSocket.
|
inline |
Check if this file descriptor is valid.