Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
ola::network::PendingTCPConnection Class Reference
Inheritance diagram for ola::network::PendingTCPConnection:
Inheritance graph
Collaboration diagram for ola::network::PendingTCPConnection:
Collaboration graph

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. More...
void PerformWrite ()
 Called when the descriptor can be written to. More...
void Close ()
- Public Member Functions inherited from ola::io::WriteFileDescriptor
bool ValidWriteDescriptor () const
 Check if this file descriptor is valid. More...

Public Attributes

const IPV4Address ip_address
ola::thread::timeout_id timeout_id

Member Function Documentation

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

Called when the descriptor can be written to.

This is usually called by the SelectServer.

Implements ola::io::WriteFileDescriptor.

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

Returns the write descriptor for this socket.

the DescriptorHandle for this descriptor.

Implements ola::io::WriteFileDescriptor.

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