Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation and exports of send.multipart and receive.multipart…
… functions
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
\name{receive.multipart} | ||
\alias{receive.multipart} | ||
\title{Receive multipart ZMQ message} | ||
\usage{ | ||
receive.multipart(socket) | ||
} | ||
\arguments{ | ||
\item{socket}{The ZMQ socket from which to receive data} | ||
} | ||
\description{ | ||
Returns a string vector, one element per message part. | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\name{send.multipart} | ||
\alias{send.multipart} | ||
\title{Send multipart ZMQ message.} | ||
\usage{ | ||
send.multipart(socket, parts) | ||
} | ||
\arguments{ | ||
\item{socket}{The ZMQ socket on which to send data} | ||
|
||
\item{parts}{A string vector; each element will be sent | ||
as one part of the message} | ||
} | ||
\description{ | ||
Queue a string vector to be sent as a series of ZMQ message parts. Each part | ||
before the last will be sent with the SNDMORE flag. | ||
} |