org.opengts.db
Interface CustomCommand
public interface CustomCommand
Method Summary |
byte[] |
handleCommand(java.lang.String cmdID,
java.lang.String cmdArg,
Account account,
User user,
BasicPrivateLabel bpl,
java.lang.String respType)
Callback to handle custom web-service commands. |
ARG_SEPARATOR
static final java.lang.String ARG_SEPARATOR
- See Also:
- Constant Field Values
ARG_SEPARATOR_CHAR
static final char ARG_SEPARATOR_CHAR
- See Also:
- Constant Field Values
handleCommand
byte[] handleCommand(java.lang.String cmdID,
java.lang.String cmdArg,
Account account,
User user,
BasicPrivateLabel bpl,
java.lang.String respType)
- Callback to handle custom web-service commands.
device communication server.
- Parameters:
cmdID
- The command idcmdArg
- The command argument stringaccount
- The current Account instanceuser
- The current User instancebpl
- The context BasicPrivateLabel (if available)respType
- The expect response type (ie. "xml", "json", "csv", etc).
- Returns:
- The response which will be sent back to the requestor