last changes
This commit is contained in:
11
AdServer/connection.cpp
Normal file
11
AdServer/connection.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "connection.h"
|
||||
|
||||
Connection::Connection(int id, QTcpSocket *socket, QObject *parent) :
|
||||
ClientBase(parent)
|
||||
{
|
||||
m_socket = socket;
|
||||
m_id = id;
|
||||
connect(m_socket,SIGNAL(readyRead()),this,SLOT(readData()));
|
||||
connect(m_socket,SIGNAL(disconnected()),this,SLOT(Disconnection()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user