-
-
Save maxov/e5d0baa9203be0b96faa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Sender { | |
String getName() | |
void say(Message message); | |
} | |
public interface Reciever { | |
void send(Message message); | |
void onMessage(Sender sender, Message message) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment