Package request.logic.sender
Class CommandRequestSender
java.lang.Object
request.logic.sender.CommandRequestSender
- All Implemented Interfaces:
ExceptionProvider
,ApplicationResponseProvider<BaseResponse>
public class CommandRequestSender
extends Object
implements ApplicationResponseProvider<BaseResponse>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
acceptResponse
(BaseResponse response) final void
sendCommand
(CommandDescription command, String[] args, ServerConnection connection, ApplicationResponseProvider<CommandStatusResponse>... providers)
-
Constructor Details
-
CommandRequestSender
public CommandRequestSender()
-
-
Method Details
-
sendCommand
@SafeVarargs public final void sendCommand(CommandDescription command, String[] args, ServerConnection connection, ApplicationResponseProvider<CommandStatusResponse>... providers) -
acceptException
- Specified by:
acceptException
in interfaceExceptionProvider
-
acceptResponse
- Specified by:
acceptResponse
in interfaceApplicationResponseProvider<BaseResponse>
-