You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TestExecutor.java 480B

12345678910111213141516171819
  1. package com.uqac.rthoni.java_rmi.server.executors;
  2. import com.uqac.rthoni.java_rmi.common.Command;
  3. import com.uqac.rthoni.java_rmi.server.ServerApplication;
  4. /**
  5. * Created by robin on 9/16/16.
  6. */
  7. public class TestExecutor extends AbstractCommandExecutor {
  8. @Override
  9. public String getCommandName() {
  10. return "test";
  11. }
  12. @Override
  13. public String run(Command command, ServerApplication server) throws Exception {
  14. return "Test. succeeded";
  15. }
  16. }