mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Javadoc.
This commit is contained in:
parent
7a2906409f
commit
5b3ef5e919
1 changed files with 8 additions and 0 deletions
|
@ -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) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue