Skip to content

Instantly share code, notes, and snippets.

@rclayton-the-terrible
Created February 25, 2012 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rclayton-the-terrible/1909207 to your computer and use it in GitHub Desktop.
Save rclayton-the-terrible/1909207 to your computer and use it in GitHub Desktop.
EventFilter
public interface EventFilter<TEvent> {
public enum Decision {
Handle,
Reject,
Retry
}
Decision filter(TEvent event);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment