![]() |
Open Lighting Architecture 0.10.9
|
Public Member Functions | |
| TCPAcceptingSocket (class TCPSocketFactoryInterface *factory) | |
| ~TCPAcceptingSocket () | |
| bool | Listen (const SocketAddress &endpoint, int backlog=10) |
| ola::io::DescriptorHandle | ReadDescriptor () const |
| Returns the read descriptor for this socket. | |
| bool | Close () |
| void | PerformRead () |
| Called when there is data available on the descriptor. | |
| void | SetFactory (class TCPSocketFactoryInterface *factory) |
| GenericSocketAddress | GetLocalAddress () const |
Public Member Functions inherited from ola::io::ReadFileDescriptor | |
| bool | ValidReadDescriptor () const |
| Check if this file descriptor is valid. | |
| ola::network::TCPAcceptingSocket::~TCPAcceptingSocket | ( | ) |
Clean up
| GenericSocketAddress ola::network::TCPAcceptingSocket::GetLocalAddress | ( | ) | const |
Get the local IPAddress and port for this socket
|
virtual |
Called when there is data available on the descriptor.
This is usually called by the SelectServer.
Implements ola::io::ReadFileDescriptor.
|
inlinevirtual |
Returns the read descriptor for this socket.
Implements ola::io::ReadFileDescriptor.