equal
deleted
inserted
replaced
383 } |
383 } |
384 |
384 |
385 |
385 |
386 /* notifications: IPC via database server */ |
386 /* notifications: IPC via database server */ |
387 |
387 |
388 sealed case class Notification(channel: String, payload: String) |
388 sealed case class Notification(channel: String, payload: String = "") { |
|
389 override def toString = |
|
390 "Notification(" + channel + if_proper(payload, "," + payload) + ")" |
|
391 } |
389 |
392 |
390 |
393 |
391 /* database */ |
394 /* database */ |
392 |
395 |
393 trait Database extends AutoCloseable { |
396 trait Database extends AutoCloseable { |