| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/context.R |
| 3 |
\name{.context} |
| 4 |
\alias{.context} |
| 5 |
\title{Technical Utility: Open Context} |
| 6 |
\usage{ |
| 7 |
.context(socket) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{socket}{a Socket.} |
| 11 |
} |
| 12 |
\value{ |
| 13 |
An external pointer. |
| 14 |
} |
| 15 |
\description{ |
| 16 |
Open a new Context to be used with a Socket. This function is a performance |
| 17 |
variant of \code{\link[=context]{context()}}, designed to wrap a socket in a function argument when |
| 18 |
calling \code{\link[=request]{request()}} or \code{\link[=reply]{reply()}}. |
| 19 |
} |
| 20 |
\details{ |
| 21 |
External pointers created by this function are unclassed, hence methods for |
| 22 |
contexts such as \code{\link[=close]{close()}} will not work (use \code{\link[=reap]{reap()}} instead). Otherwise |
| 23 |
they function identically to a Context when passed to all messaging |
| 24 |
functions. |
| 25 |
} |
| 26 |
\keyword{internal} |