All-optical method of conducting long-distance switching by proper use of an electro-optic Pockels material and a nonlinear optical waveguide