Package: nanonext 1.2.1

Charlie Gao

nanonext: NNG (Nanomsg Next Gen) Lightweight Messaging Library

R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is a socket library implementing 'Scalability Protocols', a reliable, high-performance standard for common communications patterns including publish/subscribe, request/reply and service discovery, over in-process, IPC, TCP, WebSocket and secure TLS transports. As its own threaded concurrency framework, provides a toolkit for asynchronous programming and distributed computing, with intuitive 'aio' objects which resolve automatically upon completion of asynchronous operations, and synchronisation primitives allowing R to wait upon events signalled by concurrent threads.

Authors:Charlie Gao [aut, cre], Hibiki AI Limited [cph], R Consortium [fnd]

nanonext_1.2.1.tar.gz
nanonext_1.2.1.tar.gz(r-4.5-noble)nanonext_1.2.1.tar.gz(r-4.4-noble)
nanonext_1.2.1.tgz(r-4.4-emscripten)nanonext_1.2.1.tgz(r-4.3-emscripten)
nanonext.pdf |nanonext.html
nanonext/json (API)
NEWS

# Install 'nanonext' in R:
install.packages('nanonext', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/shikokuchuo/nanonext/issues

Uses libs:
  • nng– Lightweight Messaging Library
  • mbedtls– Lightweight crypto and SSL/TLS library

64 exports 6.58 score 0 dependencies 8 dependents 40 scripts 6.6k downloads

Last updated 2 months agofrom:5c229d387c. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 19 2024
R-4.5-linux-x86_64OKSep 19 2024

Exports:.advance.context.mark.unresolved%~>%call_aiocall_aio_collect_aiocollect_aio_collect_pipecontextcvcv_resetcv_signalcv_valuedialis_aiois_error_valueis_nanois_ncurl_sessionis_nul_bytelistenlockmclockmessengermsleepnanoncurlncurl_aioncurl_sessionnext_confignng_errornng_versionoptopt<-parse_urlpipe_notifyrandomreaprecvrecv_aioreplyrequestsendsend_aioserial_configset_promise_contextsocketstatstatus_codestop_aiostreamsubscribesurvey_timetls_configtransactunlockunresolvedunsubscribeuntiluntil_waitwait_write_cert

Dependencies:

nanonext - NNG Lightweight Messaging Library

Rendered fromnanonext.Rmdusingknitr::knitron Sep 19 2024.

Last update: 2024-08-18
Started: 2024-01-11

Readme and manuals

Help Manual

Help pageTopics
nanonext: NNG (Nanomsg Next Gen) Lightweight Messaging Librarynanonext-package nanonext
Technical Utility: Open Context.context
Signal Forwarder%~>%
Make ncurl Promiseas.promise.ncurlAio
Call the Value of an Asynchronous Aio Operationcall_aio call_aio_
Close Connectionclose close.nanoContext close.nanoDialer close.nanoListener close.nanoPipe close.nanoSocket close.nanoStream close.ncurlSession
Collect Data of an Aio or List of Aioscollect_aio collect_aio_
Collect the Pipe from an Aiocollect_pipe
Open Contextcontext
Condition Variablescv cv_reset cv_signal cv_value until until_ wait wait_
Dial an Address from a Socketdial
Validatorsis_aio is_nano is_ncurl_session
Error Validatorsis_error_value is_nul_byte
Listen to an Address from a Socketlisten
Lock / Unlock a Socketlock unlock
Clock Utilitymclock
Messengermessenger
Sleep Utilitymsleep
Create Nano Objectnano
ncurlncurl
ncurl Asyncncurl_aio
ncurl Sessionncurl_session transact
Translate Error Codesnng_error
NNG Library Versionnng_version
Get and Set Options for a Socket, Context, Stream, Listener or Dialeropt opt<-
Parse URLparse_url
Pipe Notifypipe_notify
Protocols [Documentation]protocols
Random Data Generationrandom
Reapreap
Receiverecv
Receive Asyncrecv_aio
Reply over Context (RPC Server for Req/Rep Protocol)reply
Request over Context (RPC Client for Req/Rep Protocol)request
Sendsend
Send Asyncsend_aio
Create Serialization Configurationserial_config
Open Socketsocket
Start Listener/Dialerstart start.nanoDialer start.nanoListener
Get Statistic for a Socket, Listener or Dialerstat
Translate HTTP Status Codesstatus_code
Stop Asynchronous Aio Operationstop_aio
Open Streamstream
Subscribe / Unsubscribe Topicsubscribe unsubscribe
Set Survey Timesurvey_time
Create TLS Configurationtls_config
Transports [Documentation]transports
Query if an Aio is Unresolvedunresolved
Generate Self-Signed Certificate and Keywrite_cert