public abstract static class ZProxy.Proxy.SimpleProxy extends Object implements ZProxy.Proxy
ZProxy.Proxy.SimpleProxy| Constructor and Description |
|---|
SimpleProxy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(ZMQ.Socket pipe,
ZMsg cfg,
ZMQ.Socket frontend,
ZMQ.Socket backend,
ZMQ.Socket capture,
Object[] args)
Configures the proxy with a custom message.
|
boolean |
custom(ZMQ.Socket pipe,
String cmd,
ZMQ.Socket frontend,
ZMQ.Socket backend,
ZMQ.Socket capture,
Object[] args)
Handles a custom command not recognized by the proxy.
|
boolean |
restart(ZMsg cfg,
ZMQ.Socket socket,
ZProxy.Plug place,
Object[] args)
Performs a hot restart of the given socket.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, createpublic boolean restart(ZMsg cfg, ZMQ.Socket socket, ZProxy.Plug place, Object[] args)
ZProxy.Proxyrestart in interface ZProxy.Proxycfg - the custom configuration message sent by the control.socket - the socket to hot restartplace - the position for the socket in the proxyargs - the optional array of arguments that has been passed at the creation of the ZProxy.public boolean configure(ZMQ.Socket pipe, ZMsg cfg, ZMQ.Socket frontend, ZMQ.Socket backend, ZMQ.Socket capture, Object[] args)
ZProxy.Proxyconfigure in interface ZProxy.Proxypipe - the control pipecfg - the custom configuration message sent by the controlfrontend - the frontend socketbackend - the backend socketcapture - the optional capture socketargs - the optional array of arguments that has been passed at the creation of the ZProxy.public boolean custom(ZMQ.Socket pipe, String cmd, ZMQ.Socket frontend, ZMQ.Socket backend, ZMQ.Socket capture, Object[] args)
ZProxy.Proxycustom in interface ZProxy.Proxypipe - the control pipecmd - the unrecognized commandfrontend - the frontend socketbackend - the backend socketcapture - the optional capture socketargs - the optional array of arguments that has been passed at the creation of the ZProxy.Copyright © 2016. All rights reserved.