Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::io::ReadFileDescriptor Class Referenceabstract

Detailed Description

Represents a file descriptor that supports reading data.

Inheritance diagram for ola::io::ReadFileDescriptor:
Inheritance graph
[legend]

Public Member Functions

virtual DescriptorHandle ReadDescriptor () const =0
 Returns the read descriptor for this socket. More...
 
bool ValidReadDescriptor () const
 Check if this file descriptor is valid. More...
 
virtual void PerformRead ()=0
 Called when there is data available on the descriptor. More...
 

Member Function Documentation

virtual void ola::io::ReadFileDescriptor::PerformRead ( )
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.

virtual DescriptorHandle ola::io::ReadFileDescriptor::ReadDescriptor ( ) const
pure virtual
bool ola::io::ReadFileDescriptor::ValidReadDescriptor ( ) const
inline

Check if this file descriptor is valid.

Returns
true if the read descriptor is valid.

The documentation for this class was generated from the following file: