call

fun call(commandName: String, responder: Responder?, vararg arguments: Any)

Invokes a command on the server. Does nothing if the connection is not connected.

Parameters

commandName

The remote command or method name.

responder

Receives the server response, or null if no response handler is needed.

arguments

Values sent as arguments to the command.