IProtocolCommand.java 511 B

123456789101112131415161718
  1. import java.util.Arrays;
  2. import java.util.HashSet;
  3. import java.util.Set;
  4. public interface IProtocolCommand {
  5. public static final int SERVER_CONNECTION = 10;
  6. public static final int CLIENT_CONNECTION = 20;
  7. public static final int RELAY_CONNECTION = 30;
  8. /*public Set<Integer> ALL_COMMANDS = new HashSet<Integer>(Arrays.asList(new Integer[] { new Integer(SERVER_CONNECTION),
  9. new Integer(CLIENT_CONNECTION),
  10. new Integer(RELAY_CONNECTION)}));
  11. */
  12. }