Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::io::WriteFileDescriptor Class Referenceabstract

Detailed Description

Represents a file descriptor that supports writing data.

Inheritance diagram for ola::io::WriteFileDescriptor:
ola::io::BidirectionalFileDescriptor ola::network::PendingTCPConnection ola::io::ConnectedDescriptor ola::io::UnmanagedFileDescriptor ola::network::UDPSocketInterface ola::io::DeviceDescriptor ola::io::LoopbackDescriptor ola::io::PipeDescriptor ola::io::UnixSocket ola::network::TCPSocket ola::network::UDPSocket

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

◆ PerformWrite()

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.

◆ ValidWriteDescriptor()

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

Check if this file descriptor is valid.

Returns
true if the write descriptor is valid.

◆ WriteDescriptor()

virtual DescriptorHandle ola::io::WriteFileDescriptor::WriteDescriptor ( ) const
pure virtual

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