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.

Transceiver.java 488B

12345678910111213141516171819202122232425262728
  1. package grafikchat.model;
  2. import java.util.Observer;
  3. /**
  4. * Interface for server and client
  5. *
  6. * @author marian
  7. */
  8. public interface Transceiver
  9. {
  10. /**
  11. * Initialize the transceiver
  12. */
  13. public void init();
  14. /**
  15. * Send object
  16. * @param d TransceiverData to send
  17. */
  18. public void sendMessage(TransceiverData d);
  19. /**
  20. * Register on transceiver
  21. * @param o Object to register
  22. */
  23. public void registerObserver(Observer o);
  24. }