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::WriteFileDescriptor Class Referenceabstract

Detailed Description

Represents a file descriptor that supports writing data.

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

Public Member Functions

virtual DescriptorHandle WriteDescriptor () const =0
 Returns the write descriptor for this socket. More...
 
bool ValidWriteDescriptor () const
 Check if this file descriptor is valid. More...
 
virtual void PerformWrite ()=0
 Called when the descriptor can be written to. More...
 

Member Function Documentation

virtual void ola::io::WriteFileDescriptor::PerformWrite ( )
pure virtual

Called when the descriptor can be written to.

This is usually called by the SelectServer.

Implemented in ola::io::BidirectionalFileDescriptor, and ola::network::PendingTCPConnection.

bool ola::io::WriteFileDescriptor::ValidWriteDescriptor ( ) const
inline

Check if this file descriptor is valid.

Returns
true if the write descriptor is valid.
virtual DescriptorHandle ola::io::WriteFileDescriptor::WriteDescriptor ( ) const
pure virtual

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