a0_c_options: Initial controls in pbdZMQ

Initial Control FunctionsR Documentation

Initial controls in pbdZMQ

Description

Initial control functions

Usage

.zmqopt_get(main, sub = NULL, envir = .GlobalEnv)

.zmqopt_set(val, main, sub = NULL, envir = .GlobalEnv)

.zmqopt_init(envir = .GlobalEnv)

Arguments

main

a variable to be get from or set to

sub

a subvariable to be get from or set to

envir

an environment where ZMQ controls locate

val

a value to be set

Details

.zmqopt_init() initials default ZMQ controls. .zmqopt_get() gets a ZMQ control. .zmqopt_set() sets a ZMQ control.

Value

.zmqopt_init() initial the ZMQ control at envir.

Author(s)

Wei-Chen Chen wccsnow@gmail.com.

References

ZeroMQ/4.1.0 API Reference: https://libzmq.readthedocs.io/en/zeromq4-1/

Programming with Big Data in R Website: https://pbdr.org/

See Also

.pbd_env.

Examples

## Not run: 
library(pbdZMQ, quietly = TRUE)

ls(.pbd_env)
rm(.pbd_env)
.zmqopt_init()
ls(.pbd_env)

.pbd_env$ZMQ.SR$BLOCK
pbd_opt(bytext = "ZMQ.SR$BLOCK = 0L")

## End(Not run)


pbdZMQ documentation built on Sept. 11, 2024, 5:36 p.m.