pelican/server/src/DataReceiver.cpp
// NOTE this function is not called if not using signals
NOTE this function is not called if not using signals
NOTE this function is not called if not using signals
void DataReceiver::_registerSocket(QAbstractSocket* socket)
{
    Q_ASSERT(USE_SIGNALS);
    connect(socket, SIGNAL(error(QAbstractSocket::SocketError)),
             SLOT(_processError()), Qt::DirectConnection);
    connect(socket, SIGNAL(disconnected()),
             SLOT(_reconnect()), Qt::DirectConnection);
}
void DataReceiver :: _registerSocket ( QAbstractSocket * socket ) { Q_ASSERT ( USE_SIGNALS ) ; connect ( socket , SIGNAL ( error ( QAbstractSocket :: SocketError ) ) , SLOT ( _processError ( ) ) , Qt :: DirectConnection ) ; connect ( socket , SIGNAL ( disconnected ( ) ) , SLOT ( _reconnect ( ) ) , Qt :: DirectConnection ) ; }
NOTE this function is not called if not using signals
NOTE this function is not called if not using signals