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 396B

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