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

Detailed Description

Represents a file descriptor that supports writing data.

Inheritance diagram for ola::io::WriteFileDescriptor:
Inheritance graph

Public Member Functions

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

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

Check if this file descriptor is valid.

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: