Interface IdCommandExecutorType<S extends IdSessionType,C extends IdCommandContext<R,S>,M extends IdProtocolMessageType,R extends IdProtocolMessageType>
- Type Parameters:
S- The type of sessionsC- The type of command contextsM- The type of accepted commandsR- 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,IdACmdAdminUpdateCredentials,IdACmdAuditSearchBegin,IdACmdAuditSearchNext,IdACmdAuditSearchPrevious,IdACmdUserBanCreate,IdACmdUserBanDelete,IdACmdUserBanGet,IdACmdUserCreate,IdACmdUserDelete,IdACmdUserEmailAdd,IdACmdUserEmailRemove,IdACmdUserGet,IdACmdUserGetByEmail,IdACmdUserLoginHistory,IdACmdUserSearchBegin,IdACmdUserSearchByEmailBegin,IdACmdUserSearchByEmailNext,IdACmdUserSearchByEmailPrevious,IdACmdUserSearchNext,IdACmdUserSearchPrevious,IdACmdUserUpdateCredentials,IdACommandExecutor,IdUCmdAbstract,IdUCmdEmailAddBegin,IdUCmdEmailAddDeny,IdUCmdEmailAddPermit,IdUCmdEmailRemoveBegin,IdUCmdEmailRemoveDeny,IdUCmdEmailRemovePermit,IdUCmdLogin,IdUCmdPasswordUpdate,IdUCmdRealNameUpdate,IdUCmdUserSelf,IdUCommandExecutor
public interface IdCommandExecutorType<S extends IdSessionType,C extends IdCommandContext<R,S>,M extends IdProtocolMessageType,R extends IdProtocolMessageType>
The type of command executors.
-
Method Summary
-
Method Details
-
execute
Execute a command.- Parameters:
context- The execution contextcommand- The command- Returns:
- The result of execution
- Throws:
IdCommandExecutionFailure- On errorsInterruptedException- On interruptionIOException- On I/O errors
-