RegLogConnector | R Documentation |
Parent class for all RegLog connectors
module_id
character vector specifying the automatically-generated module_id for listener server module
listener
reactiveVal that the object keeps listening of changes for
message
reactiveVal containing outward message
log
list containing data about received and sent messages by the object
handlers
named list containing functions used to handle different
types of RegLogConnectorMessage
. Name of the element corresponds to
the 'type' that is should handle.
get_logs()
Function to receive all saved logs from the object in the form of single data.frame
RegLogConnector$get_logs()
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.
data.frame
new()
Initialization of the object. Sets up listener reactiveVal and initializes listening server module
RegLogConnector$new(custom_handlers = NULL)
custom_handlers
named list of custom handler functions. Every
custom handler should take arguments: self
and private
- relating to
the R6 object and message
of class RegLogConnectorMessage
. It should
return RegLogConnectorMessage
object.
object of RegLogConnector
class
suspend()
Suspend the listening to the changes
RegLogConnector$suspend()
resume()
Resume the listening to the changes
RegLogConnector$resume()
clone()
The objects of this class are cloneable with this method.
RegLogConnector$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.