27 #ifndef INCLUDE_OLA_NETWORK_TCPSOCKET_H_ 28 #define INCLUDE_OLA_NETWORK_TCPSOCKET_H_ 61 bool IsSocket()
const {
return true; }
64 ola::io::DescriptorHandle m_handle;
89 ola::io::DescriptorHandle m_handle;
96 #endif // INCLUDE_OLA_NETWORK_TCPSOCKET_H_ Represents Socket Addresses.
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
A BidirectionalFileDescriptor that also generates notifications when closed.
Definition: Descriptor.h:282
Definition: TCPSocketFactory.h:34
GenericSocketAddress GetPeerAddress() const
Definition: TCPSocket.cpp:72
GenericSocketAddress GetLocalAddress(int sd)
Definition: SocketHelper.cpp:39
Definition: TCPSocket.h:43
Represents an IPv4 Address.
void PerformRead()
Called when there is data available on the descriptor.
Definition: Descriptor.cpp:212
Represents a file descriptor that supports reading data.
Definition: Descriptor.h:140
Definition: TCPSocket.h:73
ola::io::DescriptorHandle ReadDescriptor() const
Returns the read descriptor for this socket.
Definition: TCPSocket.h:49
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
The base SocketAddress.
Definition: SocketAddress.h:58
ola::io::DescriptorHandle WriteDescriptor() const
Returns the write descriptor for this socket.
Definition: TCPSocket.h:50
ola::io::DescriptorHandle ReadDescriptor() const
Returns the read descriptor for this socket.
Definition: TCPSocket.h:78
a Generic Socket Address
Definition: SocketAddress.h:166