Exact analysis of stochastic resonance and directed transport in potencial with time-dependent discontinuity.