Protocol.java 249 B

1234567891011121314151617
  1. package de.tudarmstadt.informatik.hostage.protocol;
  2. public interface Protocol {
  3. public static enum TALK_FIRST {
  4. SERVER, CLIENT
  5. };
  6. int getPort();
  7. TALK_FIRST whoTalksFirst();
  8. String processMessage(String message);
  9. boolean isClosed();
  10. }