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.
17 lines
335 B
17 lines
335 B
package mightypork.utils.patterns.subscription;
|
|
|
|
/**
|
|
* Something that can be handled by HANDLER.
|
|
*
|
|
* @author MightyPork
|
|
* @param <HANDLER> handler type
|
|
*/
|
|
public interface Handleable<HANDLER> {
|
|
|
|
/**
|
|
* Ask handler to handle this message.
|
|
*
|
|
* @param handler handler instance
|
|
*/
|
|
public void handleBy(HANDLER handler);
|
|
}
|
|
|