package Ġio . github . re ug n . a ero spike . kotlin . listener Ċ Ċ import Ġcom . a ero spike . client . A ero spike Exception Ċ import Ġcom . a ero spike . client . Key Ċ import Ġcom . a ero spike . client . Record Ċ import Ġcom . a ero spike . client . listener . Record Listener Ċ Ċ class ĠKotlin Record Listener Ġ: ĠBase Listener < Record >(), ĠRecord Listener Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠonSuccess ( key : ĠKey ?, Ġrecord : ĠRecord ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuccess ( record ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Failure ( exception : ĠA ero spike Exception ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġfailure ( exception ) ĊĠĠĠ Ġ} Ċ } Ċ