REQUEST - type of request object, see CommandRequestRESPONSE - type of response object, see CommandResponse@Api(allMethods=true)
@UserImplemented
public interface Command<REQUEST extends CommandRequest,RESPONSE extends CommandResponse>
| Modifier and Type | Method and Description |
|---|---|
void |
execute(REQUEST request,
RESPONSE response)
Execute the command.
|
RESPONSE |
getEmptyCommandResponse()
Get an empty response object which will be filled when executing the command and partially by the dispatcher.
|
RESPONSE getEmptyCommandResponse()
CommandResponseCopyright © 2015 Geosparc. All Rights Reserved.