Package: nanonext 1.1.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.1.1.tar.gz
nanonext_1.1.1.zip(r-4.5)nanonext_1.1.1.zip(r-4.4)nanonext_1.1.1.zip(r-4.3)
nanonext_1.1.1.tgz(r-4.4-arm64)nanonext_1.1.1.tgz(r-4.4-x86_64)nanonext_1.1.1.tgz(r-4.3-arm64)nanonext_1.1.1.tgz(r-4.3-x86_64)
nanonext_1.1.1.tar.gz(r-4.5-noble)nanonext_1.1.1.tar.gz(r-4.4-noble)
nanonext_1.1.1.tgz(r-4.4-emscripten)nanonext_1.1.1.tgz(r-4.3-emscripten)
nanonext.pdf |nanonext.html
nanonext/json (API)
NEWS

# Install nanonext in R:
install.packages('nanonext', repos = c('https://r-multiverse.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

On CRAN:

concurrencyhttpsipc-messagemessaging-librarynanomsgnngrpcsocket-communicationsynchronization-primitivestcp-protocolwebsocket

59 exports 48 stars 4.51 score 0 dependencies 7 dependents 5.0k downloads

Last updated 6 days agofrom:17536aa86996308095c6814a8ab2cbec9f5354fd (via v1.1.1)

Exports:.context.unresolved%~>%call_aiocall_aio_collect_aiocollect_aio_contextcvcv_resetcv_signalcv_valuedialis_aiois_error_valueis_nanois_nul_bytelistenlockmclockmessengermsleepnanoncurlncurl_aioncurl_sessionnext_confignng_errornng_versionoptopt<-parse_urlpipe_notifyrandomreaprecvrecv_aioreplyrequestsendsend_aioset_promise_contextsocketstatstatus_codestop_aiostreamsubscribesurvey_timetls_configtransactunlockunresolvedunsubscribeuntiluntil_waitwait_write_cert

Dependencies:

nanonext - NNG Lightweight Messaging Library

Rendered fromnanonext.Rmdusingknitr::knitron Jun 23 2024.

Last update: 2024-06-19
Started: 2023-12-18

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.nanoSocket close.nanoStream close.ncurlSession
Collect Data of an Aio or List of Aioscollect_aio collect_aio_
Open Contextcontext
Condition Variablescv cv_reset cv_signal cv_value until until_ wait wait_
Dial an Address from a Socketdial
Validatorsis_aio is_nano
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
Configure Next Modenext_config
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
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