Added server AgentPing/AgentPong settings.

This commit is contained in:
Ylian Saint-Hilaire
2019-05-28 10:58:46 -07:00
parent 5f12486c13
commit c73fe57974
7 changed files with 22 additions and 4 deletions

View File

@@ -623,6 +623,8 @@ function createMeshCore(agent) {
sendConsoleText('getScript: ' + JSON.stringify(data));
break;
}
case 'ping': { mesh.SendCommand('{"action":"pong"}'); break; }
case 'pong': { break; }
default:
// Unknown action, ignore it.
break;

File diff suppressed because one or more lines are too long