Open Lighting Architecture  0.9.5
 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:
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 ola::testing::MockUDPSocket

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
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: