| RDSConnection {shinyChatR} | R Documentation |
RDSConnection R6 Class
Description
RDSConnection R6 Class
RDSConnection R6 Class
Details
An R6 class representing a connection to a rds file for the chat module.
Value
The full dataset
Save a message to data source
Public fields
rds_pathThe path to the rds file.
Initialize the R6 Object
Methods
Public methods
Method new()
Usage
RDSConnection$new(rds_path)
Arguments
rds_pathThe path to the rds file.
Method get_data()
Reads the full dataset
Usage
RDSConnection$get_data()
Method insert_message()
Usage
RDSConnection$insert_message(message, user, time)
Arguments
messageThe message to be stores
userThe user who entered the message
timeThe time when message was submitted
Method clone()
The objects of this class are cloneable with this method.
Usage
RDSConnection$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
[Package shinyChatR version 1.2.0 Index]