Class: CommandingClient

CommandingClient()

A client which posts commands. This class has a default implementation but is intended to be overridden as necessary if it's required to change the behavior.

Constructor

new CommandingClient()

Source:

Classes

CommandingClient

Methods

command(commandMessagenon-null, clientnon-null) → {CommandRequest}

Creates a new command request.
Parameters:
Name Type Description
commandMessage Message the command to send to the server
client Client the client which initiated the request
Source:
Returns:
a new command request
Type
CommandRequest

post(commandnon-null, onAcknon-null)

Posts a given command to the Spine server.
Parameters:
Name Type Description
command spine.core.Command a Command sent to Spine server
onAck AckCallback a command acknowledgement callback
Source: