Open Lighting Architecture  0.9.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
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

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: