Package com.io7m.idstore.server.internal.command_exec

# Interface IdCommandExecutorType<C extends IdCommandContext<R>,M extends IdProtocolMessageType,R extends IdProtocolMessageType>

Type Parameters:
  `C` - The type of command contexts
  `M` - The type of accepted commands
  `R` - The type of responses

All Known Implementing Classes:
  `IdACmdAbstract`, `IdACmdAdminBanCreate`, `IdACmdAdminBanDelete`, `IdACmdAdminBanGet`, `IdACmdAdminCreate`, `IdACmdAdminDelete`, `IdACmdAdminEmailAdd`, `IdACmdAdminEmailRemove`, `IdACmdAdminGet`, `IdACmdAdminGetByEmail`, `IdACmdAdminLogin`, `IdACmdAdminPermissionGrant`, `IdACmdAdminPermissionRevoke`, `IdACmdAdminSearchBegin`, `IdACmdAdminSearchByEmailBegin`, `IdACmdAdminSearchByEmailNext`, `IdACmdAdminSearchByEmailPrevious`, `IdACmdAdminSearchNext`, `IdACmdAdminSearchPrevious`, `IdACmdAdminSelf`, `IdACmdAdminUpdate`, `IdACmdAuditSearchBegin`, `IdACmdAuditSearchNext`, `IdACmdAuditSearchPrevious`, `IdACmdUserBanCreate`, `IdACmdUserBanDelete`, `IdACmdUserBanGet`, `IdACmdUserCreate`, `IdACmdUserDelete`, `IdACmdUserEmailAdd`, `IdACmdUserEmailRemove`, `IdACmdUserGet`, `IdACmdUserGetByEmail`, `IdACmdUserLoginHistory`, `IdACmdUserSearchBegin`, `IdACmdUserSearchByEmailBegin`, `IdACmdUserSearchByEmailNext`, `IdACmdUserSearchByEmailPrevious`, `IdACmdUserSearchNext`, `IdACmdUserSearchPrevious`, `IdACmdUserUpdate`, `IdACommandExecutor`, `IdUCmdAbstract`, `IdUCmdEmailAddBegin`, `IdUCmdEmailAddDeny`, `IdUCmdEmailAddPermit`, `IdUCmdEmailRemoveBegin`, `IdUCmdEmailRemoveDeny`, `IdUCmdEmailRemovePermit`, `IdUCmdLogin`, `IdUCmdPasswordUpdate`, `IdUCmdRealNameUpdate`, `IdUCmdUserSelf`, `IdUCommandExecutor`

public interface IdCommandExecutorType<C extends IdCommandContext<R>,M extends IdProtocolMessageType,R extends IdProtocolMessageType>
The type of command executors.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `R`
  `execute(C context, M command)`
  Execute a command.

- ## Method Details

  - ### execute

    R execute(C context, M command) throws IdCommandExecutionFailure, IOException, InterruptedException
    Execute a command.
    Parameters:
      `context` - The execution context
      `command` - The command
    Returns:
      The result of execution
    Throws:
      `IdCommandExecutionFailure` - On errors
      `IOException`
      `InterruptedException`