Control Functions

0th

Percentile

Set controls in pbdZMQ

Control functions

Keywords
programming
Usage
.zmqopt_get(main, sub = NULL, envir = .GlobalEnv)

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

.zmqopt_init(envir = .GlobalEnv)

Arguments
main
a ZMQ control variable
sub
a ZMQ control sub-variable
envir
an environment where ZMQ controls locate
val
a value for the ZMQ control
Details

.zmqopt_get() gets a ZMQ control.

.zmqopt_set() sets a ZMQ control.

.zmqopt_init() initials default ZMQ controls.

Value

  • .zmqopt_get() returns the value of the ZMQ control.

    .zmqopt_set() sets the value to the ZMQ control.

    .zmqopt_init() initial the ZMQ control to .pbd_env at envir.

References

ZeroMQ/4.1.0 API Reference: http://api.zeromq.org/4-1:_start

Programming with Big Data in R Website: http://r-pbd.org/

See Also

.pbd_env.

Aliases
  • .zmqopt_get
  • .zmqopt_init
  • .zmqopt_set
  • Control Functions
Examples
library(pbdZMQ, quietly = TRUE)

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

.pbd_env$ZMQ.SR$BLOCK
.zmqopt_set(0L, "ZMQ.SR", "BLOCK")
Documentation reproduced from package pbdZMQ, version 0.2-0, License: GPL-3

Community examples

Looks like there are no examples yet.