src/Pure/General/sql.scala
changeset 79728 df4eb4b05ecd
parent 79727 529a6e35aaa9
child 79775 752806151432
equal deleted inserted replaced
79727:529a6e35aaa9 79728:df4eb4b05ecd
   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 {