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
[legend]
Collaboration diagram for ola::network::PendingTCPConnection:
Collaboration graph
[legend]

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
 
TCPConnector::TCPConnectCallbackcallback
 
ola::thread::timeout_id timeout_id
 

Member Function Documentation

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.

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: