@Api public interface CommandDispatcher extends Serializable
CommandDispatcher is the main command execution center. It accepts command from the client and
executes them on the server.| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
execute(String commandName,
CommandRequest commandRequest,
String userToken,
String locale)
General command execution function.
|
long |
getCommandCount()
Get the current command count value.
|
@Api CommandResponse execute(String commandName, CommandRequest commandRequest, String userToken, String locale)
commandName - name of command to executecommandRequest - CommandRequest object for the command (if any)userToken - token to identify userlocale - which should be used for the error messages in the responseCommandResponse command responselong getCommandCount()
Copyright © 2015 Geosparc. All Rights Reserved.