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.
19 lines
335 B
19 lines
335 B
11 years ago
|
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);
|
||
|
}
|