1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-12 11:00:47 +02:00

put communication-related classes to namespace

This commit is contained in:
Felix Mauch
2019-04-01 14:54:39 +02:00
parent 5840d4f406
commit 31746259cf
21 changed files with 108 additions and 89 deletions

View File

@@ -76,7 +76,7 @@ bool URServer::bind()
bool URServer::accept()
{
if (TCPSocket::getState() != SocketState::Connected || client_.getSocketFD() > 0)
if (TCPSocket::getState() != comm::SocketState::Connected || client_.getSocketFD() > 0)
return false;
struct sockaddr addr;
@@ -98,7 +98,7 @@ bool URServer::accept()
void URServer::disconnectClient()
{
if (client_.getState() != SocketState::Connected)
if (client_.getState() != comm::SocketState::Connected)
return;
client_.close();