Semiconductor based architectures for all-optical 3R signal regeneration at 40 Gbit/s