From 5b3ef5e91916e8e88c3ce02ad515d0e76cc9b294 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 21 Oct 2015 23:52:37 -0700 Subject: [PATCH] Javadoc. --- .../com/beust/kobalt/internal/remote/PingCommand.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt b/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt index 432caf3d..569b9fe1 100644 --- a/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt +++ b/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt @@ -2,6 +2,14 @@ package com.beust.kobalt.internal.remote import com.google.gson.JsonObject +/** + * A simple command that returns its own content. + * Payload: + * { + * "name" : "ping" + * } + * + */ class PingCommand() : ICommand { override val name = "ping" override fun run(sender: ICommandSender, received: JsonObject) =