Eikonal formulation for a scattering by a monopole and by a dyon