A class of self-injective algebras and their indecomposable modules