RegLog connector template
RegLogConnector.RdParent class for all RegLog connectors
Public fields
module_idcharacter vector specifying the automatically-generated module_id for listener server module
listenerreactiveVal that the object keeps listening of changes for
messagereactiveVal containing outward message
loglist containing data about received and sent messages by the object
handlersnamed list containing functions used to handle different types of
RegLogConnectorMessage. Name of the element corresponds to the 'type' that is should handle.
Methods
Method get_logs()
Function to receive all saved logs from the object in the form of single data.frame
Details
You can specify custom handler functions as a named list passed
to custom_handlers arguments during object initialization. Every custom
handler should take arguments: self and private - relating to the R6
object and message of class RegLogConnectorMessage. It should return
RegLogConnectorMessage object.
Method new()
Initialization of the object. Sets up listener reactiveVal and initializes listening server module
Usage
RegLogConnector$new(custom_handlers = NULL)