Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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