Network: Get rid of now useless TcpBase
Former-commit-id: 5a682d6d58cc5e2b8bea19dbfc9acb1133b35337
This commit is contained in:
@@ -7,9 +7,18 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
inline TcpClient::TcpClient() :
|
||||
AbstractSocket(SocketType_TCP)
|
||||
{
|
||||
}
|
||||
|
||||
inline TcpClient::TcpClient(TcpClient&& tcpClient) :
|
||||
TcpBase(std::move(tcpClient)),
|
||||
m_peerAddress(std::move(tcpClient.m_peerAddress))
|
||||
AbstractSocket(std::move(tcpClient)),
|
||||
m_peerAddress(std::move(tcpClient.m_peerAddress)),
|
||||
m_keepAliveInterval(tcpClient.m_keepAliveInterval),
|
||||
m_keepAliveTime(tcpClient.m_keepAliveTime),
|
||||
m_isLowDelayEnabled(tcpClient.m_isLowDelayEnabled),
|
||||
m_isKeepAliveEnabled(tcpClient.m_isKeepAliveEnabled)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -32,6 +41,16 @@ namespace Nz
|
||||
{
|
||||
return m_peerAddress;
|
||||
}
|
||||
|
||||
inline bool TcpClient::IsLowDelayEnabled() const
|
||||
{
|
||||
return m_isLowDelayEnabled;
|
||||
}
|
||||
|
||||
inline bool TcpClient::IsKeepAliveEnabled() const
|
||||
{
|
||||
return m_isKeepAliveEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Network/DebugOff.hpp>
|
||||
|
||||
Reference in New Issue
Block a user