| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/222_export_env.r |
| 3 |
\docType{data} |
| 4 |
\name{ZMQ Control Environment} |
| 5 |
\alias{ZMQ Control Environment} |
| 6 |
\alias{.pbd_env} |
| 7 |
\title{Sets of controls in pbdZMQ.} |
| 8 |
\format{ |
| 9 |
Objects contain several parameters for communicators and methods. |
| 10 |
} |
| 11 |
\description{ |
| 12 |
These sets of controls are used to provide default values in this package. |
| 13 |
} |
| 14 |
\details{ |
| 15 |
The elements of \code{.pbd_env$ZMQ.ST} are default values for socket types |
| 16 |
as defined in `zmq.h' including \tabular{lcl}{ Elements \tab Value \tab |
| 17 |
Usage \cr \code{PAIR} \tab 0L \tab socket type PAIR \cr \code{PUB} \tab 1L |
| 18 |
\tab socket type PUB \cr \code{SUB} \tab 2L \tab socket type SUB \cr |
| 19 |
\code{REQ} \tab 3L \tab socket type REQ \cr \code{REP} \tab 4L \tab socket |
| 20 |
type REP \cr \code{DEALER} \tab 5L \tab socket type DEALER \cr \code{ROUTER} |
| 21 |
\tab 6L \tab socket type ROUTER \cr \code{PULL} \tab 7L \tab socket type |
| 22 |
PULL \cr \code{PUSH} \tab 8L \tab socket type PUSH \cr \code{XPUB} \tab 9L |
| 23 |
\tab socket type XPUB \cr \code{XSUB} \tab 10L \tab socket type XSUB \cr |
| 24 |
\code{STREAM} \tab 11L \tab socket type STREAM } |
| 25 |
|
| 26 |
The elements of \code{.pbd_env$ZMQ.SO} are default values for socket |
| 27 |
options as defined in `zmq.h' including 60 different values, see |
| 28 |
\code{.pbd_env$ZMQ.SO} and `zmq.h' for details. |
| 29 |
|
| 30 |
The elements of \code{.pbd_env$ZMQ.SR} are default values for send/recv |
| 31 |
options as defined in `zmq.h' including \tabular{lcl}{ Elements \tab Value |
| 32 |
\tab Usage \cr \code{BLOCK} \tab 0L \tab send/recv option BLOCK \cr |
| 33 |
\code{DONTWAIT} \tab 1L \tab send/recv option DONTWAIT \cr \code{NOBLOCK} |
| 34 |
\tab 1L \tab send/recv option NOBLOCK \cr \code{SNDMORE} \tab 2L \tab |
| 35 |
send/recv option SNDMORE (not supported) } |
| 36 |
|
| 37 |
The elements of \code{.pbd_env$ZMQ.MC} are default values for warning and |
| 38 |
stop controls in R. These are not the ZeroMQ's internal default values. They |
| 39 |
are defined as \tabular{lcl}{ Elements \tab Value \tab Usage \cr |
| 40 |
\code{warning.at.error} \tab TRUE \tab if warn at error \cr |
| 41 |
\code{stop.at.error} \tab TRUE \tab if stop at error } |
| 42 |
} |
| 43 |
\references{ |
| 44 |
ZeroMQ/4.1.0 API Reference: |
| 45 |
\url{https://libzmq.readthedocs.io/en/zeromq4-1/} |
| 46 |
|
| 47 |
Programming with Big Data in R Website: \url{https://pbdr.org/} |
| 48 |
} |
| 49 |
\seealso{ |
| 50 |
\code{\link{.zmqopt_init}()}. |
| 51 |
} |
| 52 |
\author{ |
| 53 |
Wei-Chen Chen \email{[email protected]}. |
| 54 |
} |
| 55 |
\keyword{global} |
| 56 |
\keyword{variables} |