mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 16:58:56 +00:00
+4
-5
@@ -4,11 +4,10 @@ import com.iluwatar.eda.event.UserUpdatedEvent;
|
||||
import com.iluwatar.eda.framework.Channel;
|
||||
|
||||
/**
|
||||
* Handles the {@link UserUpdatedEvent} message
|
||||
* Handles the {@link UserUpdatedEvent} message.
|
||||
*/
|
||||
public class UserUpdatedEventHandler implements Channel<UserUpdatedEvent> {
|
||||
|
||||
public void dispatch(UserUpdatedEvent message) {
|
||||
System.out.println("User Updated!");
|
||||
}
|
||||
public void dispatch(UserUpdatedEvent message) {
|
||||
System.out.println("User Updated!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user