Learn R Programming

nanonext (version 1.4.0)

.dispatcher: Dispatcher Socket

Description

Creates a Dispatcher socket, which is a special type of ‘req’ socket, with FIFO scheduling using a threaded implementation. Internal package function.

Usage

.dispatcher(host, url, tls = NULL)

Value

A ‘req’ Socket. The thread is attached as an attribute.

Arguments

host

‘inproc://’ url connecting the host to the thread.

url

the URLs at which to listen for rep nodes.

tls

[default NULL] for secure tls+tcp:// or wss:// connections only, provide a TLS configuration object created by tls_config.