Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::network::PendingTCPConnection Class Reference
Inheritance diagram for ola::network::PendingTCPConnection:
ola::io::WriteFileDescriptor

Public Member Functions

 PendingTCPConnection (TCPConnector *connector, const IPV4Address &ip, int fd, TCPConnector::TCPConnectCallback *callback)
ola::io::DescriptorHandle WriteDescriptor () const
 Returns the write descriptor for this socket.
void PerformWrite ()
 Called when the descriptor can be written to.
void Close ()
Public Member Functions inherited from ola::io::WriteFileDescriptor
bool ValidWriteDescriptor () const
 Check if this file descriptor is valid.

Public Attributes

const IPV4Address ip_address
TCPConnector::TCPConnectCallbackcallback
ola::thread::timeout_id timeout_id

Member Function Documentation

◆ PerformWrite()

void ola::network::PendingTCPConnection::PerformWrite ( )
virtual

Called when the descriptor can be written to.

This is usually called by the SelectServer.

Implements ola::io::WriteFileDescriptor.

◆ WriteDescriptor()

ola::io::DescriptorHandle ola::network::PendingTCPConnection::WriteDescriptor ( ) const
inlinevirtual

Returns the write descriptor for this socket.

Returns
the DescriptorHandle for this descriptor.

Implements ola::io::WriteFileDescriptor.


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