Method | Description | |
---|---|---|
Proxy ( [ frontend, [ backend, [ control = null, [ poller = null ) : System |
Create a new instance of a Proxy (NetMQ.Proxy) with the given sockets to serve as a front-end, a back-end, and a control socket.
|
|
Proxy ( [ frontend, [ backend, [ controlIn, [ controlOut, [ poller = null ) : System |
Create a new instance of a Proxy (NetMQ.Proxy) with the given sockets to serve as a front-end, a back-end, and a control socket.
|
|
Start ( ) : void |
Start proxying messages between the front and back ends. Blocks, unless using an external NetMQPoller.
|
|
Stop ( ) : void |
Stops the proxy, blocking until the underlying NetMQPoller has completed.
|
Method | Description | |
---|---|---|
OnBackendReady ( object sender, |
||
OnFrontendReady ( object sender, |
||
ProxyBetween ( IReceivingSocket from, IOutgoingSocket to, [ control ) : void |
public Proxy ( [ frontend, [ backend, [ control = null, [ poller = null ) : System | ||
frontend | [ | the socket that messages will be forwarded from |
backend | [ | the socket that messages will be forwarded to |
control | [ | this socket will have messages also sent to it - you can set this to null if not needed |
poller | [ | an optional external poller to use within this proxy |
return | System |
public Proxy ( [ frontend, [ backend, [ controlIn, [ controlOut, [ poller = null ) : System | ||
frontend | [ | the socket that messages will be forwarded from |
backend | [ | the socket that messages will be forwarded to |
controlIn | [ | this socket will have incoming messages also sent to it - you can set this to null if not needed |
controlOut | [ | this socket will have outgoing messages also sent to it - you can set this to null if not needed |
poller | [ | an optional external poller to use within this proxy |
return | System |