mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2023-05-23 Fred Gleason <fredg@paravelsystems.com>
* Implemented the 'Heartbeat' ['HB'] protocol command in ripcd(8). * Added support for the 'Heartbeat' ['HB'] RIPC protocol command to 'RDRipc'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -522,6 +522,10 @@ bool MainObject::DispatchCommand(RipcdConnection *conn)
|
||||
EchoCommand(conn->id(),cmds.join(" ")+"-!");
|
||||
return true;
|
||||
}
|
||||
if(cmds[0]=="HB") { // Heartbeat
|
||||
EchoCommand(conn->id(),"HB!");
|
||||
}
|
||||
|
||||
if(cmds[0]=="RU") { // Request User
|
||||
EchoCommand(conn->id(),(QString("RU ")+rda->station()->userName()+"!").
|
||||
toUtf8());
|
||||
|
Reference in New Issue
Block a user