Hexagonal pattern: Introduced lottery events port with two adapters

This commit is contained in:
Ilkka Seppälä
2016-09-15 21:45:09 +03:00
parent c4c5e78e50
commit df32a7b893
11 changed files with 282 additions and 41 deletions

View File

@ -116,7 +116,7 @@ package com.iluwatar.hexagonal.database {
+ save(LotteryTicket) : Optional<LotteryTicketId> {abstract}
}
}
package com.iluwatar.hexagonal.notifications {
package com.iluwatar.hexagonal.eventlog {
interface LotteryNotifications {
+ notifyNoWin(PlayerDetails) {abstract}
+ notifyPrize(PlayerDetails, int) {abstract}