[][src]Function zmq::proxy_steerable

pub fn proxy_steerable(
    frontend: &mut Socket,
    backend: &mut Socket,
    control: &mut Socket
) -> Result<()>

Start a 0MQ proxy in the current thread, with a control socket.

If PAUSE is received on the control socket, the proxy suspends its activities. If RESUME is received, it goes on. If TERMINATE is received, it terminates smoothly. At start, the proxy runs normally as if proxy was used.