Eliminating magic numbers in ServerListenerDao class