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;
66 DISALLOW_COPY_AND_ASSIGN(TCPSocket);
89 ola::io::DescriptorHandle m_handle;
90 class TCPSocketFactoryInterface *m_factory;
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
GenericSocketAddress GetPeerAddress() const
Definition: TCPSocket.cpp:72
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
ola::io::DescriptorHandle ReadDescriptor() const
Returns the read descriptor for this socket.
Definition: TCPSocket.h:49
Definition: TCPSocketFactory.h:34
GenericSocketAddress GetLocalAddress() const
Definition: TCPSocket.cpp:323
Definition: TCPSocket.h:43
Represents an IPv4 Address.
Represents a file descriptor that supports reading data.
Definition: Descriptor.h:140
Definition: TCPSocket.h:73
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
~TCPAcceptingSocket()
Definition: TCPSocket.cpp:183
The base SocketAddress.
Definition: SocketAddress.h:57
a Generic Socket Address
Definition: SocketAddress.h:165
void PerformRead()
Called when there is data available on the descriptor.
Definition: TCPSocket.cpp:278