Package: Proc4 0.8-5

Proc4: Four Process Assessment Database and Dispatcher

Utilities for working with messages in the four four process architecture as json objects.

Authors:Russell Almond

Proc4_0.8-5.tar.gz
Proc4_0.8-5.zip(r-4.5)Proc4_0.8-5.zip(r-4.4)Proc4_0.8-5.zip(r-4.3)
Proc4_0.8-5.tgz(r-4.4-any)Proc4_0.8-5.tgz(r-4.3-any)
Proc4_0.8-5.tar.gz(r-4.5-noble)Proc4_0.8-5.tar.gz(r-4.4-noble)
Proc4_0.8-5.tgz(r-4.4-emscripten)Proc4_0.8-5.tgz(r-4.3-emscripten)
Proc4.pdf |Proc4.html
Proc4/json (API)

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

Peer review:

Bug tracker:https://github.com/ralmond/proc4/issues

On CRAN:

assessment-scoringevidence-centered-designmongodb-database

3.95 score 2 packages 52 exports 11 dependencies

Last updated 11 months agofrom:b45286c302. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winERRORNov 14 2024
R-4.5-linuxERRORNov 14 2024
R-4.4-winERRORNov 14 2024
R-4.4-macERRORNov 14 2024
R-4.3-winERRORNov 14 2024
R-4.3-macERRORNov 14 2024

Exports:all.equal.P4Messageappapp<-as.jlistbuildListenerbuildListenerSetbuildMessageCaptureListenercleanMessageJlistcleanMessageQueueclearMessagescontextcontext<-detailsdetails<-fetchNextMessagegenerateListenerExportsimportMessagesInjectionListenerisListenerlistenerDataTablelistenerNameListenerSetlisteningFormarkAsErrormarkAsProcessedmessmess<-mongoAppendernotifyListenersP4Messageparse.jlistprocessedprocessingErrorreceiveMessageregisterOutputresetListenersresetProcessedMessagessendersender<-serializeDatashowTableListenertimestamptimestamp<-toStringuiduid<-UpdateListenerupdateTableUpsertListenerwithFlogging

Dependencies:askpassformatRfutile.loggerfutile.optionsjsonlitelambda.rmimemongomongoliteopensslsys

Listener model for Interprocess Communication

Rendered fromListeners.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2023-07-11
Started: 2023-07-11

Four Process and Event Stream Architecture

Rendered fromProc4Arch.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2023-07-11
Started: 2023-07-11

Dongle: A lightweight interface between EI, EA and AS processes and the Presentation Process

Rendered fromDongle.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2022-05-28
Started: 2022-05-28

Readme and manuals

Help Manual

Help pageTopics
Four Process Assessment Database and DispatcherProc4-package Proc4
Builds a listener from a JSON description.buildListener
Builds Listener Set from a a JSON configurationbuildListenerSet
Converts a JSON object into a P4 Messageas.jlist,P4Message,list-method buildMessage cleanMessageJlist parse.jlist,P4Message,list-method
Class '"CaptureListener"'CaptureListener-class isListener,CaptureListener-method listenerDataTable,CaptureListener-method listenerName,CaptureListener-method receiveMessage,CaptureListener-method
Removes messages matching query from queue.cleanMessageQueue cleanMessageQueue,MongoQueue-method
Returns the next unprocessed message from a message queue.fetchNextMessage fetchNextMessage,MessageQueue-method
Build tables from messages saved by the listnergenerateListenerExports updateTable
Imports a file full of messages into a message queue.importMessages importMessages,MongoQueue-method
Class '"InjectionListener"'InjectionListener-class isListener,InjectionListener-method listenerDataTable,InjectionListener-method listenerName,InjectionListener-method receiveMessage,InjectionListener-method
A listener is an object which can recieve a message.clearMessages clearMessages,RefListener-method isListener isListener,ANY-method isListener,RefListener-method Listener Listener-class listenerName listenerName,RefListener-method listeningFor listeningFor,RefListener-method receiveMessage receiveMessage,RefListener-method RefListener RefListener-class
Constructors for Listener ClassesCaptureListener InjectionListener TableListener UpdateListener UpsertListener
Fetches a data frame containing information captured by listenerlistenerDataTable listenerDataTable,RefListener-method
Class '"ListenerSet"'clearMessages,ListenerSet-method isListener,ListenerSet-method ListenerSet ListenerSet-class notifyListeners,ListenerSet-method NullListenerSet NullListenerSet-class receiveMessage,ListenerSet-method
Class '"ListQueue"'ListQueue-class markAsError,ListQueue,ANY-method markAsProcessed,ListQueue,ANY-method
Functions for manipulating entries in a message queue.markAsError markAsError,JSONDB,P4Message-method markAsError,ListQueue-method markAsError,MongoQueue,ANY-method markAsError,NULL,P4Message-method markAsProcessed markAsProcessed,JSONDB,P4Message-method markAsProcessed,ListQueue-method markAsProcessed,MongoQueue,ANY-method markAsProcessed,NULL,P4Message-method processed processingError
Class '"MessageQueue"'MessageQueue-class
Class '"mongoAppender"'mongoAppender mongoAppender-class
Class '"MongoQueue"'MongoQueue-class
Notifies listeners that a new message is available.notifyListeners
Constructor and accessors for P4 Messagesall.equal.P4Message app app<- context context<- details details<- mess mess<- P4Message sender sender<- show,P4Message-method timestamp timestamp<- toString,P4Message-method uid uid<-
Class '"P4Message"'app,P4Message-method app<-,P4Message-method context,P4Message-method context<-,P4Message-method details,P4Message-method details<-,P4Message-method mess,P4Message-method mess<-,P4Message-method P4Message-class processed,P4Message-method processingError,P4Message-method sender,P4Message-method sender<-,P4Message-method timestamp,P4Message-method timestamp<-,P4Message-method uid,P4Message-method uid<-,P4Message-method
Registers a file used for output information from an engine.registerOutput registerOutput,ListenerSet-method
Clears messages caches associated with listenersresetListeners resetListeners,ListenerSet-method resetListeners,NULL-method
Clears the processed flags on the matching messagesresetProcessedMessages resetProcessedMessages,ListQueue-method resetProcessedMessages,MongoQueue-method
Produces a string with a JSON representation of an R objectserializeData
Class '"TableListener"'isListener,TableListener-method listenerDataTable,TableListener-method listenerName,TableListener-method receiveMessage,TableListener-method TableListener-class
Class '"UpdateListener"'isListener,UpdateListener-method listenerDataTable,UpdateListener-method listenerName,UpdateListener-method receiveMessage,UpdateListener-method UpdateListener-class
Class '"UpsertListener"'isListener,UpsertListener-method listenerDataTable,UpsertListener-method listenerName,UpsertListener-method receiveMessage,UpsertListener-method UpsertListener-class
Invoke expression with errors logged and tracedwithFlogging