Open Lighting Architecture  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::io::ReadFileDescriptor Class Reference

Detailed Description

Represents a file descriptor that supports reading data.

Inheritance diagram for ola::io::ReadFileDescriptor:
Inheritance graph

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.

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

Check if this file descriptor is valid.

true if the read descriptor is valid.

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