Subversion Repositories HomeAutomation

Rev

Rev 1919 | Rev 1986 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1919 Rev 1959
Line 285... Line 285...
285
        //LOG.Info("Bytes: " + data.ToDebugString());
285
        //LOG.Info("Bytes: " + data.ToDebugString());
286
        net::Manager::Instance()->SendTo(this->client_id_, data);
286
        net::Manager::Instance()->SendTo(this->client_id_, data);
287
    }
287
    }
288
}
288
}
289
 
289
 
290
void Network::SlotOnNewDataHandler(net::ClientId client_id, net::ServerId server_id, common::Byteset data)
290
void Network::SlotOnNewDataHandler(net::SocketId client_id, net::SocketId server_id, common::Byteset data)
291
{
291
{
292
    if (client_id != this->client_id_)
292
    if (client_id != this->client_id_)
293
    {
293
    {
294
            return;
294
            return;
295
    }
295
    }
Line 320... Line 320...
320
            LOG.Info("Received pong.");
320
            LOG.Info("Received pong.");
321
        }
321
        }
322
    }
322
    }
323
}
323
}
324
 
324
 
325
void Network::SlotOnNewStateHandler(net::ClientId client_id, net::ServerId server_id, net::ClientState client_state)
325
void Network::SlotOnNewStateHandler(net::SocketId client_id, net::SocketId server_id, net::ClientState client_state)
326
{
326
{
327
    if (client_id != this->client_id_)
327
    if (client_id != this->client_id_)
328
    {
328
    {
329
        return;
329
        return;
330
    }
330
    }