Move listener interface into inner class of IdobataStream.